掲示板

Portlet inside another portlet

11年前 に Nived Rajan によって更新されました。

Portlet inside another portlet

Junior Member 投稿: 36 参加年月日: 12/05/02 最新の投稿
i want to include a portlet inside another portlets view page..is it possible?
thumbnail
11年前 に Jan Gregor によって更新されました。

RE: Portlet inside another portlet

Regular Member 投稿: 224 参加年月日: 10/10/20 最新の投稿
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
11年前 に Amos Fong によって更新されました。

RE: Portlet inside another portlet

Liferay Legend 投稿: 2047 参加年月日: 08/10/07 最新の投稿
It should be possible with the runtime taglib:

<liferay-portlet:runtime portletName="portletId" />
11年前 に Nived Rajan によって更新されました。

RE: Portlet inside another portlet

Junior Member 投稿: 36 参加年月日: 12/05/02 最新の投稿
am used this tag...<liferay-portlet:runtime portletName="portletId" /> but am getting an error
java.lang.NoclassdeffoundError:com.liferay.portlet.layoutconfiguration.util.RuntimePortletUtil
thumbnail
11年前 に Amos Fong によって更新されました。

RE: Portlet inside another portlet

Liferay Legend 投稿: 2047 参加年月日: 08/10/07 最新の投稿
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).