Fórum

Configuration option is not displaying for my control panel portlet

Ashraf habibi, modificado 11 Anos atrás.

Configuration option is not displaying for my control panel portlet

Junior Member Postagens: 32 Data de Entrada: 13/05/11 Postagens Recentes
Hi

I have problem related to configuration,
I created one portlet, when I am dropping that portlet on any page, configuration option is displaying, but when I make that portlet for control panel then in control panel portlet is not displaying configuration option.
My portlet have three mode view, edit and config, but still it not displaying.
I found that in control panel web content portlet having configuration option, I gone through the code but nothing able to get.
I attached image also related to my control portlet.

Any suggestion is appreciable.

Thanks
Ashraf
thumbnail
Juhi Kumari, modificado 11 Anos atrás.

RE: Configuration option is not displaying for my control panel portlet

Expert Postagens: 347 Data de Entrada: 12/12/11 Postagens Recentes
Hi,

Add this line in you liferay-portlet.xml
<configuration-action-class>com.liferay.portlet.receiver.ConfigurationActionImpl</configuration-action-class>


and in ConfigurationActionImpl class you ahve to implement ConfigurationAction Interface.

For more info check this wiki.

Regards
Juhi
Ashraf habibi, modificado 11 Anos atrás.

RE: Configuration option is not displaying for my control panel portlet

Junior Member Postagens: 32 Data de Entrada: 13/05/11 Postagens Recentes
Hi

I have problem related to configuration,
I created one portlet, when I am dropping that portlet on any page, configuration option is displaying, but when I make that portlet for control panel then in control panel portlet is not displaying configuration option.
My portlet have three mode view, edit and config, but still it not displaying.
I found that in control panel web content portlet having configuration option, I gone through the code but nothing able to get.
I attached image also related to my control portlet.

Any suggestion is appreciable.

Thanks
Ashraf