留言板
How to deactivate a portlet programmatically
vikas ch,修改在7 年前。
How to deactivate a portlet programmatically
New Member 帖子: 18 加入日期: 14-7-17 最近的帖子
Hi ,
In liferay 6.2 you go to apps and you see the list of portlets and you can deactivate the portlet and try accessing the portlet it display the "portlet is temporarily inactive" this is done through control panel and now my requirement is I need to show the list of portlet to the administrator where he can select which portlets to be deactivated programmatically so I need to know what excatly happens in the back end I mean which portlet is there in "App Section" and how portlet deactivation can be done at runtime and also the message is to be customized.
Need help on this.
In liferay 6.2 you go to apps and you see the list of portlets and you can deactivate the portlet and try accessing the portlet it display the "portlet is temporarily inactive" this is done through control panel and now my requirement is I need to show the list of portlet to the administrator where he can select which portlets to be deactivated programmatically so I need to know what excatly happens in the back end I mean which portlet is there in "App Section" and how portlet deactivation can be done at runtime and also the message is to be customized.
Need help on this.
Olaf Kock,修改在7 年前。