Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Incomplete
-
1.0
-
None
-
None
Description
This patch tries to resolve three issues with the current bridge. It has been created by Thomas Spiegl, Bernhard Huemer and me (just to do the honours .
1) The UIViewRoot is directly put into the session - this doesn't fly if load-balancing is switched on and the session is serialized between servers, as no JSF-component is serializable (instead, it implements state-holder, and one has to call the appropriate methods restoreState/saveState, and additionally save the tree-structure.
2) In the FacesPortlet, a superfluous call to restoreState is happening - if the UIViewRoot is properly restored, restoreState should not be called anymore
3) the SessionMap/RequestParameterMap etc. will only work if behind a portlet. In some cases, the JSF-app might run both behind a portlet and a servlet
regards,
Martin