Re: radio group stated not updated via AJAX. Possible bug?

2010-12-30 Thread Igor Vaynberg
all components need that after they have been submitted once. how is component to know that you have updated its model object? have you called component.modelchanged()? clearinput() will do the same as that. -igor On Thu, Dec 30, 2010 at 6:46 AM, Ernesto Reinaldo Barreiro wrote: > Igor, > > Than

Re: radio group stated not updated via AJAX. Possible bug?

2010-12-30 Thread Ernesto Reinaldo Barreiro
Igor, Thanks for your answer. Yes, I thought about that possibility but somehow it seems weird to me that you have to call clearinput() to get the component update its state based on the model value: in particular because other form components do not need that trick to work properly. Would the ov

Re: radio group stated not updated via AJAX. Possible bug?

2010-12-30 Thread Igor Vaynberg
call clearinput() on the radiogroup so it refreshes based on new model value you set. -igor On Thu, Dec 30, 2010 at 4:57 AM, Ernesto Reinaldo Barreiro wrote: > I forgot to mentions this is with wicket 1.4.x. > > Ernesto > > On Thu, Dec 30, 2010 at 1:53 PM, Ernesto Reinaldo Barreiro > wrote: >>

Re: radio group stated not updated via AJAX. Possible bug?

2010-12-30 Thread Ernesto Reinaldo Barreiro
I forgot to mentions this is with wicket 1.4.x. Ernesto On Thu, Dec 30, 2010 at 1:53 PM, Ernesto Reinaldo Barreiro wrote: > Hi, > > Apologies for the somewhat lengthy e-mail. > > Consider the following situation > > 1-I have a form with a RadioGroup, several Radio buttons, an AJAX > submit butto

radio group stated not updated via AJAX. Possible bug?

2010-12-30 Thread Ernesto Reinaldo Barreiro
Hi, Apologies for the somewhat lengthy e-mail. Consider the following situation 1-I have a form with a RadioGroup, several Radio buttons, an AJAX submit button and some AJAX links that fetch "information" that can be used to repaint the form and the RadioGroup. In simplified code more or less t