Foren

Rendering Portlet condition based

Suman Kumar, geändert vor 11 Jahren.

Rendering Portlet condition based

Junior Member Beiträge: 34 Beitrittsdatum: 21.10.11 Neueste Beiträge
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, geändert vor 11 Jahren.

RE: Rendering Portlet condition based

Liferay Legend Beiträge: 14919 Beitrittsdatum: 02.09.06 Neueste Beiträge
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, geändert vor 11 Jahren.

RE: Rendering Portlet condition based

Junior Member Beiträge: 34 Beitrittsdatum: 21.10.11 Neueste Beiträge
Thanks ... I will try and update.

with Regards
Suman Kumar