How to show the configuration of a portlet in the control panel
Posted on
by Charalampos Chrysikopoulos
Create a config.jsp and in the portlet.xml insert the following (in the portlet section):
<portlet> ... <init-param> <name>config-template</name> <value>/html/otetv-admin/config.jsp</value> </init-param> ... </portlet>
You need to add the following line in the liferay-portlet.xml
<portlet> ... <configuration-action-class>com.liferay.portal.kernel.portlet.DefaultConfigurationAction</configuration-action-class> ... <preferences-unique-per-layout>false</preferences-unique-per-layout> ... </portlet>
Source:
http://www.liferay.com/community/forums/-/message_boards/message/8190302
This entry was posted in Uncategorized and tagged by Charalampos Chrysikopoulos