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

AbstractAjaxTimerBehavior does not work in combination with Wizards

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.12.0
    • 6.14.0
    • wicket
    • None

    Description

      AbstractAjaxTimerBehavior calls stop() in it's onRemove() method. When used in a Wizard onRemove is triggered by onActiveStepChanged. This disabled, but never re-enables the behavior if the component tree is reused during wizard stepping.

      In my opinion it is more correct to disable the frontend timer but keep the internal state of the Bahavior as is (or resetting headRendered to false as the Behavior is in the pre render state after the onRemove) in order to re-enable the Timer when the step using the Behavior is rendered again.

      Attachments

        1. ajaxwizard-quickstart.tar.bz2
          23 kB
          Marcus Thiesen

        Issue Links

          Activity

            People

              svenmeier Sven Meier
              marcus@thiesen.org Marcus Thiesen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: