Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
vivek v
Portlet inside another portlet
June 18, 2012 3:24 AM
Answer

vivek v

Rank: Junior Member

Posts: 37

Join Date: May 1, 2012

Recent Posts

i want to include a portlet inside another portlets view page..is it possible?
Jan Gregor
RE: Portlet inside another portlet
June 18, 2012 4:03 AM
Answer

Jan Gregor

Rank: Regular Member

Posts: 224

Join Date: October 20, 2010

Recent Posts

Hi there,

Of course its possible. Take a look at the nested portlet, which is included in ootb Liferay installation. It depends also on the technology used in your portlets. The one used in the nested portlet is JSP, you can also use this concept in JSF, or other portlet technology...

Regards,
Jan.
Amos Fong
RE: Portlet inside another portlet
June 18, 2012 4:31 AM
Answer

Amos Fong

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1913

Join Date: October 7, 2008

Recent Posts

It should be possible with the runtime taglib:

1<liferay-portlet:runtime portletName="portletId" />
vivek v
RE: Portlet inside another portlet
June 18, 2012 5:47 AM
Answer

vivek v

Rank: Junior Member

Posts: 37

Join Date: May 1, 2012

Recent Posts

am used this tag...<liferay-portlet:runtime portletName="portletId" /> but am getting an error
java.lang.NoclassdeffoundError:com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil
Amos Fong
RE: Portlet inside another portlet
June 20, 2012 2:47 AM
Answer

Amos Fong

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1913

Join Date: October 7, 2008

Recent Posts

Hm...I guess you can't run it in plugin's classloader. Like Jan says there should be other ways to do it (or use classloader tricks).