Foros de discusión

Portlet inside another portlet

Nived Rajan, modificado hace 11 años.

Portlet inside another portlet

Junior Member Mensajes: 36 Fecha de incorporación: 2/05/12 Mensajes recientes
i want to include a portlet inside another portlets view page..is it possible?
thumbnail
Jan Gregor, modificado hace 11 años.

RE: Portlet inside another portlet

Regular Member Mensajes: 224 Fecha de incorporación: 20/10/10 Mensajes recientes
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, modificado hace 11 años.

RE: Portlet inside another portlet

Liferay Legend Mensajes: 2047 Fecha de incorporación: 7/10/08 Mensajes recientes
It should be possible with the runtime taglib:

<liferay-portlet:runtime portletName="portletId" />
Nived Rajan, modificado hace 11 años.

RE: Portlet inside another portlet

Junior Member Mensajes: 36 Fecha de incorporación: 2/05/12 Mensajes recientes
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, modificado hace 11 años.

RE: Portlet inside another portlet

Liferay Legend Mensajes: 2047 Fecha de incorporación: 7/10/08 Mensajes recientes
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).