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/09/07 21:45:31 UTC

[jira] Updated: (TAPESTRY-600) Intermixing FieldLabels and form components can force a StaleLinkException

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

Howard M. Lewis Ship updated TAPESTRY-600:
------------------------------------------

    Summary: Intermixing FieldLabels and form components can force a StaleLinkException  (was: FieldLabel component needs to call Form.prerenderField even when rewinding)

> Intermixing FieldLabels and form components can force a StaleLinkException
> --------------------------------------------------------------------------
>
>          Key: TAPESTRY-600
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-600
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 4.0
>     Reporter: Ben Pryor
>     Assignee: Howard M. Lewis Ship
>  Attachments: FormSupportImpl-patch.txt, patch.txt
>
> The FieldLabel component prerenders its associated field to allow validation decoration to work properly.  However, it only prerenders the field during the render cycle and not during the rewind cycle. If there are any form components after the FieldLabel but before the FieldLabel's field, the render sequence will differ upon rewind and throw a StaleLinkException. The fix should be that FieldLabel always calls to form.prerenderField, ensuring a consistent render sequence.

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