Fórumok

Portlet inside another portlet

Nived Rajan, módosítva 11 év-val korábban

Portlet inside another portlet

Junior Member Bejegyzések: 36 Csatlakozás dátuma: 2012.05.02. Legújabb bejegyzések
i want to include a portlet inside another portlets view page..is it possible?
thumbnail
Jan Gregor, módosítva 11 év-val korábban

RE: Portlet inside another portlet

Regular Member Bejegyzések: 224 Csatlakozás dátuma: 2010.10.20. Legújabb bejegyzések
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.
thumbnail
Amos Fong, módosítva 11 év-val korábban

RE: Portlet inside another portlet

Liferay Legend Bejegyzések: 2047 Csatlakozás dátuma: 2008.10.07. Legújabb bejegyzések
It should be possible with the runtime taglib:

<liferay-portlet:runtime portletName="portletId" />
Nived Rajan, módosítva 11 év-val korábban

RE: Portlet inside another portlet

Junior Member Bejegyzések: 36 Csatlakozás dátuma: 2012.05.02. Legújabb bejegyzések
am used this tag...<liferay-portlet:runtime portletName="portletId" /> but am getting an error
java.lang.NoclassdeffoundError:com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil
thumbnail
Amos Fong, módosítva 11 év-val korábban

RE: Portlet inside another portlet

Liferay Legend Bejegyzések: 2047 Csatlakozás dátuma: 2008.10.07. Legújabb bejegyzések
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).