I am trying to create a portlet renderURL to navigate to another portal page, which has a portlet. This is fine. But I want to pass a parameter in the URL, which is also fine. But I want to pass a value in parameter which is in managed bean.
So, it’s dynamic parameter value.
<portlet-ext:portalRenderURL var="myURL" contentNode="NewPage">
<portlet-ext:urlParam name="name" value=""/>
</portlet-ext:portalRenderURL>
HERE in urlParam, value should be something like #{managedBean.name}.
I am trying to create link on the “Name” so that the “name” I click, that value should be passed onto “NewPage” portlet so it can show details for that particular name.
Thank you
Got this right.
Used IBM libraries in managed bean to generate the link to the page and using that into JSF’s commandLink tag. And also passign parameter to it using f:param tag.
This passes parameter value which is stored in the managed bean.
Hope this helps.