-
1. Re: page to page communication
julien1 Mar 10, 2008 10:08 AM (in response to nareshshah)page don't have parameters in 2.6.x, they will likely have in 2.7.
-
2. Re: page to page communication
nareshshah Mar 11, 2008 5:52 AM (in response to nareshshah)Thankx for your reply... when will it(jboss portal 2.7) be released ?
-
3. Re: page to page communication
julien1 Mar 11, 2008 6:20 AM (in response to nareshshah)The official answer is quarter 3 (between July and September) but we would like to get it out rather sooner than later (i.e July).
The good news is that the portlet container is fully implemented.
The other good news is that the portlet container is mostly integrated in 2.7 to work as it works in 2.6
The remaining work is about getting the new features smartly exploited by the portal (like page parameters) and work a lot on the Admin portlet to provide configuration of the Portlet 2 features. -
4. Re: page to page communication
nareshshah Mar 13, 2008 9:28 AM (in response to nareshshah)Julien,
I did few work around and able to do Page to page communication with few parameter as string. Here is the relative url i have put inside achor tag
<a href="<%= childURL.toString()+"/DestinationPortletWindow?action=2&myparameter="naresh"%>"><%= childName %>
if you see the href part of the above anchor tag
childURL: is a PortalNodeUrl of the destination page(PageB).
DestinationPortletWindow: is name of the window which doView() is going to execute.
action: is parameter which diffrenciate between the RenderRequest or ActionRequest.
if action =1 , this url is going to call processAction()
if action =2, doView() is going to call. In this case it is going to call doView().
myparameter: is the parameter you want to send to the destination portlet. if you want more parameter , append parameter to end of the url.
get the parameter in portlet as
renderRequest.getParameter("myparameter")/actionRequest.getParameter("myparameter");
But still it has few limitation:
1. I can not pass the object other than the string in this way.
2. I have to get destination Page url on PageA. -
5. Re: page to page communication
shankarkhanna Apr 16, 2008 7:43 AM (in response to nareshshah)Is there a way to access the parameter in all portlets in a page?
I have a link in PageA and i want to move to pageB with parameter. In pageB, i have 4 portlets. I want that the parameter to be accessible in all the portlets. what should i do?