You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org> on 2005/08/05 01:17:37 UTC

[jira] Commented: (TAPESTRY-454) Attribute (persist=client) not rewound on form-submit

    [ http://issues.apache.org/jira/browse/TAPESTRY-454?page=comments#action_12317700 ] 

Howard M. Lewis Ship commented on TAPESTRY-454:
-----------------------------------------------

I can't think, off the top of my head, of any reason it would  behave the way you say.  I'm not doubting you ... but I'm concerned there's something else going on, such as that old bugaboo -- page caching (on the client, or on some intermediate server).

What I'd love to see would be the rendered OUTPUT of the page; that way, we could verify that the state was encoded into the form; that's the first step towards ensuring that the state is restored when the form is submitted.

> Attribute (persist=client) not rewound on form-submit
> -----------------------------------------------------
>
>          Key: TAPESTRY-454
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-454
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 4.0
>  Environment: Tapestry 4.0-beta3, Tomcat 5.0.28, JDK 1.4.2_08, Windows-XP
>     Reporter: Ralf Edmund Stranzenbach
>  Attachments: Components.zip
>
> My application uses a page (ActorPage) as the main page for actor/user management. To keep the focus on the actual selected Actor instance, this page contains an attribute named ActorId which stores the selected actors id. This attribute is declared as both persist=client or persist=client:page.
> An additional View component should display additional information on the selected actor and allows modification to it's attributes. To gain access to the actor, this component references the actorId as a parameter.
> This works fine in view mode.
> If a submit action takes place on the Views form component, during the execution of the form's listener, the actorId parameter returns a false value.
> Based on my experiences, it is all times the first value assigned to the actorId during this session. So i guess, it is not rewound correctly and may still contain some old data.
> I've checked the components by changing persistence to persist=session and my components worked as expected.
> I'll attach some excerpt of the applications code.

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org