Details
Description
Setup: case requires OnChangeAjaxBehavior with getUpdateModel returning false on DropDownChoice.
Result: ajax response contain model's object, but not new value.
Explanation: There is following lines in AjaxFormComponentUpdatingBehaviour
formComponent.inputChanged();
formComponent.validate();
if (formComponent.isValid())
{
>>>>>>>> formComponent.valid();
if (getUpdateModel())
onUpdate(target);
}
Let me note that "formComponent.valid()" is cleaning raw Input. But it's required in subsequent AbstractChoice.onComponentTagBody.
Attachments
Issue Links
- links to