Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5218

EnclosureContainer calls child#configure() way before rendering

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.10, 6.8.0, 7.0.0-M1
    • 6.9.0, 1.5.11, 7.0.0-M1
    • wicket
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              svenmeier Sven Meier
              svenmeier Sven Meier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: