You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2013/06/05 11:26:20 UTC

[jira] [Resolved] (WICKET-5218) EnclosureContainer calls child#configure() way before rendering

     [ https://issues.apache.org/jira/browse/WICKET-5218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sven Meier resolved WICKET-5218.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.11
                   7.0.0
                   6.9.0

child.configure() is now callled from #onConfigure()
                
> EnclosureContainer calls child#configure() way before rendering
> ---------------------------------------------------------------
>
>                 Key: WICKET-5218
>                 URL: https://issues.apache.org/jira/browse/WICKET-5218
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.10, 6.8.0, 7.0.0
>            Reporter: Sven Meier
>            Assignee: Sven Meier
>             Fix For: 6.9.0, 7.0.0, 1.5.11
>
>
> Having a button contained in an EnclosureContainer the following bug may happen:
> - before #onSubmit() is called, the visibility of the button and its parents is checked
> - EnclosureContainer calls #configure() on the button to determine its own visibility
> - #onSubmit() is called on the button
> - rendering starts
> - the button is not configured again, since #configure() was already called
> - a possible visibility change of the button is not applied

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira