Foren

Liquid layout Implementation in portlets

Anubhav Srivastava, geändert vor 12 Jahren.

Liquid layout Implementation in portlets

New Member Beiträge: 2 Beitrittsdatum: 17.08.11 Neueste Beiträge
Hi,
I am using liferay for new project development and creating portlets by implementing sprring MVC.I need to implement Liquid Layout for the portlets that will be deployed on portal and based on screen resolution the portlets will automatically captures the space. I have created the following structure and implemented through html it is working fine:
<div>
<div>
<div>
<ul>
<li>Portlets</li>
<li>Portlets</li>
<li>Portlets</li>
<li>Portlets</li>
.
.
.
<li>Portlets</li>
</ul>
</div>
</div>
</div>
but when i am deploying the portlets on server this heirarchy is breaking up and liquid layout is not working.
i saw that in render_portlet.jsp under html/portal/render_portlet.jsp the div tag is being inserted so it is breaking the heirarchy.

Please help me to implement liquid layout for n# of portlets.

Thanks in Advance
thumbnail
Ravi Kumar Gupta, geändert vor 12 Jahren.

RE: Liquid layout Implementation in portlets

Liferay Legend Beiträge: 1302 Beitrittsdatum: 24.06.09 Neueste Beiträge
If you think that the render_portlet,jsp's div is creating the problem then try modifying the jsp using a jsp-hook. That way it will render according to your html code and should not create a problem.