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

Ajax requests increment page version when they should not

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5-M1
    • 1.5-M2.1
    • wicket
    • None

    Description

      If you have a form like this:
      <form wicket:id="form">
      <input type="text" wicket:id="name" />
      <div wicket:id="wmc">
      <select wicket:id="chooser" />
      </div>
      <input type="submit" value="Save" />
      </form>

      The ListChoice component is updated via OnChangeAjaxBehavior on the TextField. When you submit this form, the validation for 'chooser' will fail, because it can't find it's model.

      Attachments

        1. wicket-2988.tar.gz
          4 kB
          Peter Major

        Activity

          People

            ivaynberg Igor Vaynberg
            aldaris Peter Major
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: