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 10:27:20 UTC

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

Sven Meier created WICKET-5218:
----------------------------------

             Summary: 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: 6.8.0, 1.5.10, 7.0.0
            Reporter: Sven Meier
            Assignee: Sven Meier


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