You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Ralf Edmund Stranzenbach (JIRA)" <ta...@jakarta.apache.org> on 2005/07/28 23:35:20 UTC

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

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

Ralf Edmund Stranzenbach updated TAPESTRY-454:
----------------------------------------------

    Attachment: Components.zip

Source of ActorPage and View component that raise the specific error situation.

> 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