Fórum

Portlet inside another portlet

Nived Rajan, modificado 11 Anos atrás.

Portlet inside another portlet

Junior Member Postagens: 36 Data de Entrada: 02/05/12 Postagens Recentes
i want to include a portlet inside another portlets view page..is it possible?
thumbnail
Jan Gregor, modificado 11 Anos atrás.

RE: Portlet inside another portlet

Regular Member Postagens: 224 Data de Entrada: 20/10/10 Postagens Recentes
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 11 Anos atrás.

RE: Portlet inside another portlet

Liferay Legend Postagens: 2047 Data de Entrada: 07/10/08 Postagens Recentes
It should be possible with the runtime taglib:

<liferay-portlet:runtime portletName="portletId" />
Nived Rajan, modificado 11 Anos atrás.

RE: Portlet inside another portlet

Junior Member Postagens: 36 Data de Entrada: 02/05/12 Postagens Recentes
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 11 Anos atrás.

RE: Portlet inside another portlet

Liferay Legend Postagens: 2047 Data de Entrada: 07/10/08 Postagens Recentes
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).