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

AjaxSelfUpdatingTimerBehavior in hidden component in ModalWindow causes Ajax Response Error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.3.0, 6.6.0
    • 6.7.0
    • None
    • None

    Description

      I have a ModalWindow which shows a panel with a hidden label with an AjaxSelfUpdatingTimerBehavior. When the modal window is shown, the following error occurs in the Wicket Ajax Debug console:

      ERROR: Wicket.Ajax.Call.processEvaluation: Exception evaluating javascript: TypeError: Cannot read property 'label5' of undefined, text: (function()

      {clearTimeout(Wicket.TimerHandles['label5']); delete Wicket.TimerHandles['label5'];}

      )();

      Attachments

        1. fix-WICKET-5104.patch
          0.9 kB
          Cedric Gatay
        2. 5104.zip
          26 kB
          Marios Skounakis

        Issue Links

          Activity

            People

              mgrigorov Martin Tzvetanov Grigorov
              mscoon Marios Skounakis
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: