Hi,
I have a portlet A, where i want to navigate from view A to view B. So in my faces-config.xml, i added this navigation rule as usual :
/PortletA/viewA.view
success
/PortletA/viewB.view
Now, i want to be redirect to another portlet (Portlet B) from view A of portlet A, which is deploy in another portal page. Finally, I want to return to view B of portlet A from Portlet B.
Here is a sample of my code in the page bean of view A (Portlet A) to redirect to Portlet B and to be able to go directly to view B after the action is completed in Portlet B :
public String goToPortletB() {
…
getFacesContext().getExternalContext().redirect(“/page.portletB”);
return “success”;
}
Now, here is a sample code of the action handler in Portlet B to return to the portal page of Portlet A and to go in view B :
public void returnToPortletA() {
…
getFacesContext().getExternalContext().redirect(“/page.portletA”);
}
In my webMethods 7.0 server, when the method returnToPortletA() is called, I successfully get redirected to view B of portlet A but in my wM 7.1 server, i get redirected to view A (which is the default view of portlet A) not view B.
Do you have an idea what may cause this behaviour?
Thanks for the help.
Son
#webMethods-BPMS#MWS-CAF-Task-Engine#webMethods