Foren

Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
vivek v
Portlet inside another portlet
18. Juni 2012 03:24
Antwort

vivek v

Rang: Junior Member

Nachrichten: 35

Eintrittsdatum: 1. Mai 2012

Neue Beiträge

i want to include a portlet inside another portlets view page..is it possible?
Jan Gregor
RE: Portlet inside another portlet
18. Juni 2012 04:03
Antwort

Jan Gregor

Rang: Regular Member

Nachrichten: 221

Eintrittsdatum: 20. Oktober 2010

Neue Beiträge

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
18. Juni 2012 04:31
Antwort

Amos Fong

LIFERAY STAFF

Rang: Liferay Legend

Nachrichten: 1817

Eintrittsdatum: 7. Oktober 2008

Neue Beiträge

It should be possible with the runtime taglib:

1<liferay-portlet:runtime portletName="portletId" />
vivek v
RE: Portlet inside another portlet
18. Juni 2012 05:47
Antwort

vivek v

Rang: Junior Member

Nachrichten: 35

Eintrittsdatum: 1. Mai 2012

Neue Beiträge

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
20. Juni 2012 02:47
Antwort

Amos Fong

LIFERAY STAFF

Rang: Liferay Legend

Nachrichten: 1817

Eintrittsdatum: 7. Oktober 2008

Neue Beiträge

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).