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

AjaxFormComponentUpdatingBehavior - onUpdate - Field Required

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • 7.2.0
    • None
    • wicket

    Description

      Hello,
      I use AjaxFormComponentUpdatingBehavior("change").
      When a field is required and the field is empty the onUpdate method is not call.
      In AjaxFormComponentUpdatingBehavior :

      if (formComponent.isValid())
      {
      if (getUpdateModel())

      { formComponent.valid(); formComponent.updateModel(); }

      onUpdate(target);
      }
      else

      { formComponent.invalid(); onError(target, null); }

      My model is not updated.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gchiron Guillaume CHIRON
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: