t:saveState only works with client-side state saving ----------------------------------------------------
Key: MYFACES-748 URL: http://issues.apache.org/jira/browse/MYFACES-748 Project: MyFaces Type: Bug Components: Tomahawk (RI Compatability) Versions: Nightly Environment: 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) Reporter: Juan MedÃn 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="#{aRequestScopedObject}"/> <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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira