Foros de discusión
How to deactivate a portlet programmatically
vikas ch, modificado hace 7 años.
How to deactivate a portlet programmatically
New Member Mensajes: 18 Fecha de incorporación: 17/07/14 Mensajes recientes
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, modificado hace 7 años.