Our project in WebSphere Portal 8.5 have a few portlets (JSR 286).
Portlet A for example contains pages with description of some goods, and tools for the editing this description. And Portlet B contains tools for create orders for these goods (this is a very simplified, but it should be enough to understand the problem).
We need to create link from one portlet to another with the passing some parameters both in one direction and vice versa. How we can do this? It would be very useful to see simple code examples for a better understanding
Thank you
Well your most basic approach is to use public render parameters https://www.ibm.com/support/knowledgecenter/en/SSYJ99_8.5.0/dev-portlet/pltcom_pubrndrprm.html
Set it up in the portlet.xml
and then you can get it liket his String customerID = renderRequest.getParameter("custID");
If you need something more complex, you could put items into application scope in the session and share them that way and when the page renders again both have access to it
or you could use the url generation apis but that would be the last thing I would recommend