I tried it now. This way to navigate works only one-way for me:
view mode => edit mode
edit mode => view mode
The only way that works uses link generated by <
Does it generate any errors?
Or it just refreshes the edit mode page again?
It just refreshes the edit mode page again.
I just added some tests to Portlet Bridge for navigation between modes, and it appears to work fine.
When on the edit page, something like the below enabled me to go back to the view page:
<h:commandButton id="homePageButton" action="main?javax.portlet.faces.PortletMode=view" value="Home" />
If you are performing an Action on the edit page and know you want to return to view on completion, you can return that String from the action method of the bean and it will do it without needing to click the link.