Wicket
  1. Wicket
  2. WICKET-5332

Autocomplete throws error when initialized in an AjaxLazyLoadPanel

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Implemented
    • Affects Version/s: 6.10.0
    • Fix Version/s: 6.11.0, 7.0.0-M1
    • Component/s: wicket
    • Labels:
      None

      Description

      When an autocomplete is added to a page in an AjaxLazyLoadPanel, the Wicket AJAX Debug window displays the error "ERROR: Cannot find element with id: null" and the autocomplete does not work. The problem appears to be that the call to initialize the autocomplete is performed prior to the text field being added to the DOM.

      I am attaching a quickstart that replicates the problem

        Issue Links

          Activity

          Martin Grigorov made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Martin Grigorov [ mgrigorov ]
          Fix Version/s 7.0.0 [ 12322958 ]
          Fix Version/s 6.11.0 [ 12324874 ]
          Resolution Implemented [ 10 ]
          Martin Grigorov made changes -
          Link This issue relates to WICKET-5315 [ WICKET-5315 ]
          Jered Myers made changes -
          Component/s wicket [ 12311420 ]
          Component/s wicket-extensions [ 12311421 ]
          Jered Myers made changes -
          Field Original Value New Value
          Attachment autocomplete.zip [ 12600178 ]
          Jered Myers created issue -

            People

            • Assignee:
              Martin Grigorov
              Reporter:
              Jered Myers
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development