You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Simon Kitching (JIRA)" <de...@myfaces.apache.org> on 2007/12/13 09:17:44 UTC
[jira] Commented: (TOMAHAWK-134) t:saveState only works with
client-side state saving
[ https://issues.apache.org/jira/browse/TOMAHAWK-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551251 ]
Simon Kitching commented on TOMAHAWK-134:
-----------------------------------------
As noted in this email from Ryan Lubke, Sun RI v 1.2_05 now has a "serialize state in session" option.
I presume that turning this on will cause tomahawk t:saveState to start working with (RI + server-side-state):
http://mail-archives.apache.org/mod_mbox/myfaces-users/200712.mbox/%3c14264492.post@talk.nabble.com%3e
> t:saveState only works with client-side state saving
> ----------------------------------------------------
>
> Key: TOMAHAWK-134
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-134
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: UISaveState
> 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
> Assignee: Martin Marinschek
> Fix For: 1.1.3
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.