Quantcast
Channel: Comments: IBM Digital Experience wiki
Viewing all articles
Browse latest Browse all 1367

Re: Passing query parameters to JSR-286 portlets using existing IBM WebSphere Portal capabilities

$
0
0
Hello, thanks for the article it helped me create my poc solution. I did find a slight bug. In the collectChildren method in the DeepLinkResolver class you have:

PortletDefinition portletDef = portletModel.getPortletDefinition(portletWindow);

String portletUniqueName = portletDef.getObjectID().getUniqueName();

I believe this gets the uniqueName from the actual portlet definition from the install and not the portlet in the page itself. To get the actual portlet unique name on the page, I changed to:

PortletWindow portletWindow = portletModel.getPortletWindow((LayoutControl) node);

String portletUniqueName = portletWindow.getObjectID().getUniqueName();

This seems to work for me, hopefully saves some headache.

Viewing all articles
Browse latest Browse all 1367

Trending Articles