Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Ashraf habibi
Configuration option is not displaying for my control panel portlet
February 22, 2013 11:44 PM
Answer

Ashraf habibi

Rank: Junior Member

Posts: 32

Join Date: May 13, 2011

Recent Posts

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
Attachment

Attachment

Attachments: myControlpanelPortlet.JPG (16.8k), web-content-config.JPG (37.3k)
Juhi Kumari
RE: Configuration option is not displaying for my control panel portlet
February 23, 2013 4:37 AM
Answer

Juhi Kumari

Rank: Expert

Posts: 347

Join Date: December 12, 2011

Recent Posts

Hi,

Add this line in you liferay-portlet.xml
1<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
RE: Configuration option is not displaying for my control panel portlet
February 25, 2013 3:53 AM
Answer

Ashraf habibi

Rank: Junior Member

Posts: 32

Join Date: May 13, 2011

Recent Posts

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