掲示板
How to get the Nested Portelt Info from the Layout
11年前 に Riya M S によって更新されました。
How to get the Nested Portelt Info from the Layout
Junior Member 投稿: 45 参加年月日: 13/01/30 最新の投稿
Hello Everyone,
I have a Nested portlet which contains couple of portlets(like Asset Pubisher and KB article).
From the Lay out i'm able to get the Nested Portlet Information. But i dont know how to get the children's information which is inside the Nested Portelt. Please help me on this. Below is the code snippet i used to get the Nested Portelt Info from the LayOut.
I have a Nested portlet which contains couple of portlets(like Asset Pubisher and KB article).
From the Lay out i'm able to get the Nested Portlet Information. But i dont know how to get the children's information which is inside the Nested Portelt. Please help me on this. Below is the code snippet i used to get the Nested Portelt Info from the LayOut.
Layout l=LayoutLocalServiceUtil.getLayout(themeDisplay.getPlid());
LayoutTypePortlet articleLayoutTypePortlet = (LayoutTypePortlet)l.getLayoutType();
List<portlet> allPortlets = articleLayoutTypePortlet.getAllPortlets(column);
for (Portlet p: allPortlets)
{
//System.out.println("Portlet Id is"+p.getRootPortletId());
if(PortletKeys.NESTED_PORTLETS.equals(p.getRootPortletId()))
{
//I'm able to come up to here. But don't know how to get children's information from this onwards.
}
}</portlet>
11年前 に Riya M S によって更新されました。
RE: How to get the Nested Portelt Info from the Layout
Junior Member 投稿: 45 参加年月日: 13/01/30 最新の投稿
Can pls anyone help me on the same !!
11年前 に Jaynil A Bagdai によって更新されました。
RE: How to get the Nested Portelt Info from the Layout
Regular Member 投稿: 119 参加年月日: 12/03/03 最新の投稿
Hi Riya,
To display portlet inside portlet (nested portlet display), and customize it with layout and all its quite difficult job.
For the same implementation you can use the same as below.
Nested portlet
Let me know if you need more clarifications.
Thanks,
Jaynil
To display portlet inside portlet (nested portlet display), and customize it with layout and all its quite difficult job.
For the same implementation you can use the same as below.
Nested portlet
Let me know if you need more clarifications.
Thanks,
Jaynil
11年前 に Riya M S によって更新されました。
RE: How to get the Nested Portelt Info from the Layout
Junior Member 投稿: 45 参加年月日: 13/01/30 最新の投稿
Jaynil A Bagdai : thamks ll try out this one !!