Background: In the portlet environment the Faces lifecyle spans 2 requests
(portletAction and portletRender). Typically this means the FacesContext is
destroyed at the end of the action phase and re-established in the render.
Because of this the bridge needs some way of preserving the view so that it too
can be restored in the render. Currently, the only way to have Faces save the
view is to render it. One is not able to render during a portlet action. To
get around this, the bridge currently caches the current view in memory and
manually reinsert it on the first render following an action (after that because
we are rendering it relies on Faces to save/resttore the view).
Need: To be able to use the Faces state manager to save the view at the end of