@Francois: Please try with latest 7.2.0-SNAPSHOT Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov
On Thu, Jan 14, 2016 at 10:59 PM, Francois Meillet < [email protected]> wrote: > Thnaks I override updateAjaxAttributes for the time being > François > > > > > > > > > Le 14 janv. 2016 à 22:16, Martin Grigorov <[email protected]> a écrit : > > > On Thu, Jan 14, 2016 at 9:54 PM, Sven Meier <[email protected]> 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 > >
