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

EnclosureContainer calls child#configure() way before rendering

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.10, 6.8.0, 7.0.0-M1
    • Fix Version/s: 6.9.0, 1.5.11, 7.0.0-M1
    • Component/s: wicket
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: