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

Autocomplete throws error when initialized in an AjaxLazyLoadPanel

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mgrigorov Martin Grigorov
                Reporter:
                jeredm@maplewoodsoftware.com Jered Myers
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: