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

AutocompleteTextField after Submit does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.1
    • 1.5.2
    • wicket-extensions
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: