留言板

Configuration option is not displaying for my control panel portlet

Ashraf habibi,修改在11 年前。

Configuration option is not displaying for my control panel portlet

Junior Member 帖子: 32 加入日期: 11-5-13 最近的帖子
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,修改在11 年前。

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

Expert 帖子: 347 加入日期: 11-12-12 最近的帖子
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,修改在11 年前。

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

Junior Member 帖子: 32 加入日期: 11-5-13 最近的帖子
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