Foros de discusión
Portlet Configurationpage for JSF Portlet - not working?
Simon Prinzleve, modificado hace 15 años.
Portlet Configurationpage for JSF Portlet - not working?
Junior Member Mensajes: 48 Fecha de incorporación: 2/12/07 Mensajes recientes
Dear group,
I'm trying to get a configuration page for my JSF portlet.
BTW: I just use plugin development - as it in the google-adsense portlet. (Instead of using the ext-environment as in wiki)
I adopted the following steps from the google-adsense portlet:
liferay-portlet.xml: add element <configuration-action-class>
source: add class ConfigurationActionImpl.java
jsp: add config.jsp
It seems though that (in contrast to the JSP portlet googleAdsense) in JSF the configuration action is not forwarded to my ActionImpl class - in spite of the <configuration-action-class> setting.
Am I on the wrong track? Is it obvious that it can't work? Or am I just missing something?
Any help would be great!
Thanks a lot,
Simon
----
here the part from the liferay-portlet.xml:
I'm trying to get a configuration page for my JSF portlet.
BTW: I just use plugin development - as it in the google-adsense portlet. (Instead of using the ext-environment as in wiki)
I adopted the following steps from the google-adsense portlet:
liferay-portlet.xml: add element <configuration-action-class>
source: add class ConfigurationActionImpl.java
jsp: add config.jsp
It seems though that (in contrast to the JSP portlet googleAdsense) in JSF the configuration action is not forwarded to my ActionImpl class - in spite of the <configuration-action-class> setting.
Am I on the wrong track? Is it obvious that it can't work? Or am I just missing something?
Any help would be great!
Thanks a lot,
Simon
----
here the part from the liferay-portlet.xml:
<liferay-portlet-app>
<portlet>
<portlet-name>ConfessTests</portlet-name>
<icon>/icon.png</icon>
[b]<configuration-action-class>com.liferay.portlet.googleadsense.action.ConfigurationActionImpl</configuration-action-class> [/b]
<url-encoder-class>com.sample.jsfmyfaces.portlet.LogURLEncoder</url-encoder-class>
<instanceable>true</instanceable>
<header-portlet-css>/css/test.css</header-portlet-css>
<header-portlet-javascript>/js/test.js</header-portlet-javascript>
</portlet>
</liferay-portlet-app>