Re: RadioChoice keeps null rawInput after required validation?

2011-02-03 Thread Xavier López
Just in case it helps someone else, we've finally managed to understand why we needed to call clearInput() on rc1 after changing its model object, with help from this previous post http://apache-wicket.1842946.n4.nabble.com/Ajax-and-form-handling-and-clearInput-td1866836.html(thanks Alexander,

Re: RadioChoice keeps null rawInput after required validation?

2011-02-03 Thread Xavier López
2011/2/3 Xavier López xavil...@gmail.com Have to say maybe fooled by setModelObject()'s javadoc 'Sets the backing model object; shorthand for getModel().setObject(object).' My fault, didn't see this has already been addressed on https://issues.apache.org/jira/browse/WICKET-2113 , and is

RadioChoice keeps null rawInput after required validation?

2011-01-26 Thread Xavier López
Hi, I've got a form with a required radiochoice to select among some options. I've also got a yes/no radiochoice that selects a given option on rc1 and disables it when 'yes' is selected. When 'no' is selected, rc1 is set to enabled and its model object is cleared. The enabling/disabling of rc1

Re: RadioChoice keeps null rawInput after required validation?

2011-01-26 Thread Igor Vaynberg
clearinput() is a good way to deal with it, but the component should still set no_raw_input if it is submitted in a disabled state. please file a jira issue, preferably with a quickstart. -igor On Wed, Jan 26, 2011 at 3:05 AM, Xavier López xavil...@gmail.com wrote: Hi, I've got a form with a