Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
A J
Add nested portlets, add portlets to it dynamically through code
December 5, 2011 4:57 AM
Answer

A J

Rank: Junior Member

Posts: 91

Join Date: September 19, 2011

Recent Posts

Hi friends,
In liferay, we have porltet called 'Nested Portlets'. We can add portlets to it and use it. How can I add Nested portlets and add portlets inside it through code ?
Thank you.


Any help ??
A J
RE: Add nested portlets, add portlets to it dynamically through code
December 12, 2011 10:20 PM
Answer

A J

Rank: Junior Member

Posts: 91

Join Date: September 19, 2011

Recent Posts

Solved !!! Check this
Nagendra Kumar Busam
RE: Add nested portlets, add portlets to it dynamically through code
December 13, 2011 3:38 AM
Answer

Nagendra Kumar Busam

Rank: Liferay Master

Posts: 653

Join Date: July 7, 2009

Recent Posts

Thank you very much for sharing solution emoticon
Stian Sigvartsen
RE: Add nested portlets, add portlets to it dynamically through code
December 22, 2011 3:26 AM
Answer

Stian Sigvartsen

Rank: Regular Member

Posts: 103

Join Date: August 27, 2010

Recent Posts

This is very interesting.
Would I be right to derive that the portlets that are added by this code will be visible to all users requesting the layout (page) in the future?
Or would these be runtime portlets? i.e. bound / visible to the user's current session.

-Stian
A J
RE: Add nested portlets, add portlets to it dynamically through code
December 27, 2011 8:53 PM
Answer

A J

Rank: Junior Member

Posts: 91

Join Date: September 19, 2011

Recent Posts

The nested portlets being added will be visible to all users initially. And it is not one time (session) view. It will be created and once administrator logs in, he can edit the permissions accordingly. But, the point is that the code will add the nested portlet, and iframes inside it.