Wicket
  1. Wicket
  2. WICKET-5218

EnclosureContainer calls child#configure() way before rendering

    Details

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

        Issue Links

          Activity

          Sven Meier made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 6.9.0 [ 12324357 ]
          Fix Version/s 7.0.0 [ 12322958 ]
          Fix Version/s 1.5.11 [ 12324069 ]
          Resolution Fixed [ 1 ]
          Sven Meier made changes -
          Field Original Value New Value
          Link This issue is broken by WICKET-3398 [ WICKET-3398 ]
          Sven Meier created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development