Hi Francois,

you'll have to add the following to the AjaxFormChoiceComponentUpdatingBehavior:

            @Override
protected void updateAjaxAttributes(AjaxRequestAttributes attributes)
            {
                super.updateAjaxAttributes(attributes);

                attributes.setSerializeRecursively(true);
            }

This may be a problem leftover from WICKET-6050.

@Marting: Shouldn't this be set automatically by AjaxFormChoiceComponentUpdatingBehavior?

Best regards
Sven



On 14.01.2016 17:18, Francois Meillet wrote:
Hi ,

I have a form with a radiogroup containing some radios buttons.
The radiogroup has an AjaxFormChoiceComponentUpdatingBehavior.

When any radio button is clicked, the model does not get updated.

In the FormComponent # getInputAsArray()
getRequest().getRequestParameters().getParameterValues(getInputName()) return null

So the FormComponent convertedInput is null

Do I miss something ?


François








Reply via email to