You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Nick Westgate (JIRA)" <ta...@jakarta.apache.org> on 2005/09/29 11:40:56 UTC
[jira] Commented: (TAPESTRY-678) LinkSubmit does not work correctly when the BACK button is used
[ http://issues.apache.org/jira/browse/TAPESTRY-678?page=comments#action_12330786 ]
Nick Westgate commented on TAPESTRY-678:
----------------------------------------
The same problem existed in T3, logged as issue:
http://issues.apache.org/jira/browse/TAPESTRY-339
Seems with T4 LinkSubmit has been rewritten, but
not addressing the several issues (with solutions)
already logged against it.
> LinkSubmit does not work correctly when the BACK button is used
> ---------------------------------------------------------------
>
> Key: TAPESTRY-678
> URL: http://issues.apache.org/jira/browse/TAPESTRY-678
> Project: Tapestry
> Type: Bug
> Components: Framework
> Versions: 4.0
> Environment: 4.0b7
> Reporter: Norbert Sándor
>
> Hello,
> I have a Form with 2 LinkSubmits, A and B.
> 1. I click B, it works correctly
> 2. I press the BACK button
> 3. I click A, but it acts as I would have clicked B
> The browser seems to cache the value of the hidden fields associated with the LinkSubmits. When I go back, the hidden field of B already contains the 'T' value. In 3. the hidden field of A is set to the value 'T', too.
> This causes two LinkSubmits to be triggered. I checked it, the request parameter of both LinkSubmits contains 'T'.
> Because of this both LinkSubmits' listeners are triggered.
> Possible resolution: clear the value of the hidden fields in an initialization script.
> BR,
> Norbi
--
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