Fórumok

Rendering Portlet condition based

Suman Kumar, módosítva 11 év-val korábban

Rendering Portlet condition based

Junior Member Bejegyzések: 34 Csatlakozás dátuma: 2011.10.21. Legújabb bejegyzések
Hi All,

I have a senario as below,

Let say in the page we have 5 portlets, but I want only one portlet to render first. Then on doing so action or after capturing the criteria I want the remaining portlet to get render.

Means I want know can I control the hide and render behaviour of portlet programatically?

Thanks and Regards
Suman Kumar
thumbnail
David H Nebinger, módosítva 11 év-val korábban

RE: Rendering Portlet condition based

Liferay Legend Bejegyzések: 14919 Csatlakozás dátuma: 2006.09.02. Legújabb bejegyzések
Sure. Use CSS to set the "visibility: hidden;" on the portlets that should not display.

The other portlet can then alter the visibility when needed.

Combine this w/ some form of IPC and you have your full solution.
Suman Kumar, módosítva 11 év-val korábban

RE: Rendering Portlet condition based

Junior Member Bejegyzések: 34 Csatlakozás dátuma: 2011.10.21. Legújabb bejegyzések
Thanks ... I will try and update.

with Regards
Suman Kumar