Get URL of Portlet By Passing Portlet ID
HttpServletRequest httpRequest = PortalUtil.getHttpServletRequest(portletRequest);
httpRequest = PortalUtil.getOriginalServletRequest(httpRequest)
long plid = PortalUtil.getPlidFromPortletId(themeDisplay.getScopeGroupId(), portletID);
PortletURL portletURL = PortletURLFactoryUtil.create(httpRequest ,portletId, plid ,PortletRequest.RENDER_PHASE);
Thank you so much for your great contribution.I like the way of writing and presenting.You can share more informative article for me.Easily understand all the information.
ReplyDeleteIn your blog I was happy to see your article, better than last time, and have made great progress, I am very pleased. I am looking forward to your article will become better and better. Custom Essay Writing Service
ReplyDelete