Thnaks I override updateAjaxAttributes for the time being
François 







Le 14 janv. 2016 à 22:16, Martin Grigorov <mgrigo...@apache.org> a écrit :

> On Thu, Jan 14, 2016 at 9:54 PM, Sven Meier <s...@meiers.net> wrote:
> 
>> 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?
>> 
> 
> Yes!
> I've forgot it :-/
> 
> I've found an issue with the traversing of children components in
> 7.2.0-SNAPSHOT.
> Both issues look like a blocker to me.
> 
> 
>> 
>> 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