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

AutocompleteTextField after Submit does not work

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.5.2
    • Component/s: wicket-extensions
    • Labels:
      None

      Description

      I use an AutocompleteTextfield together with a submit-Button. After once submitting the content oft the AutocompleteTextField the parameter q is added to the URL. After that the autocompletion will only complete the parameter q in the url and not the parameter given by ajax.

      I tracked the problem down to the callbackURL.
      It contains a pattern looking as follows: ....&q=<paramproducedbysubmit>&q=<paramproducedbyajaxautocomplete>
      The callbackurl is build of the parameter q and the extraction of parameters only accepts the first parameter

        Attachments

        1. autocompletebug.zip
          28 kB
          Stefan Mandel
        2. wicket-4109.patch
          7 kB
          Sven Meier

          Activity

            People

            • Assignee:
              svenmeier Sven Meier
              Reporter:
              almond Stefan Mandel
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: