You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Paul Ferraro (JIRA)" <ta...@jakarta.apache.org> on 2006/03/21 19:00:59 UTC

[jira] Closed: (TAPESTRY-830) RadioGroup has to render body on rewind

     [ http://issues.apache.org/jira/browse/TAPESTRY-830?page=all ]
     
Paul Ferraro closed TAPESTRY-830:
---------------------------------

    Fix Version: 4.0.1
     Resolution: Fixed
      Assign To: Paul Ferraro

Renamed AbstractFormComponent.getRenderBodyOnRewind() to AbstractFormComponent.getAlwaysRenderBodyOnRewind() since renderBody() is explicity called when isDisabled() AND getRenderBodyOnRewind() (otherwise RadioGroup would have triggered renderBody() twice during non-disabled rewind).
Changed LinkSubmit to call renderBody() within rewindFormComponent() so that it is consistent with RadioGroup.

> RadioGroup has to render body on rewind
> ---------------------------------------
>
>          Key: TAPESTRY-830
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-830
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 4.0
>     Reporter: Michael Frericks
>     Assignee: Paul Ferraro
>      Fix For: 4.0.1

>
> Usage of RadioGroup causes StaleLinkExceptions because of unrewinded components inside its body.
> RadioGroup as a form component wrapping around Radio form components has to render its body on rewind.
> Solution:
> Add in class org.apache.tapestry.form.RadioGroup th method:
>     protected boolean getRenderBodyOnRewind()
>     {
>         return true;
>     }

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