Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
Windows XP, RSA 6.0.1, JDK 1.5.0_04, Tomcat 5.0.28, Sun RI (distributed with RSA 6.0.1), Tomahawk nightly build (17/10/05)
Description
t:saveState doesn't store the state when setting STATE_SAVING_METHOD to server. It does work when setting STATE_SAVING_METHOD to client.
I'm using the Sun RI (distributed with RSA 6.0.1) plus a recent nightly build of Tomahawk.
The test code is trivial: two JSPs with <t:saveState value="aRequestScopedObject"/> like this:
<f:view>
<BODY>
<t:saveState value="#
"/>
<h:form id="form1">
.... more html ....
The generated HTML doesn't include any reference to the saveState object when setting server-side state saving. For the example above in a simple test form with two fields (text1 and text2) this is the generated form code:
<form id="form1" method="post"
action="/testbox/faces/app/savestate/test1.jsp"
enctype="application/x-www-form-urlencoded">
<input id="form1:text1" type="text"
name="form1:text1" value=""/>
<input id="form1:text2" type="text"
name="form1:text2" value=""/>
<input type="submit" value="Submit"
name="form1:button1" id="form1:button1"/>
<input type="hidden" name="form1" value="form1" />
</form>
There is no html code for the saveState() tag.