Re: RadioGroup not selected on error

2010-08-17 Thread Bilgin Ibryam
The answer for my question was in the Radio class documentation: STATELESS NOTES: By default this component cannot be used inside a stateless form. If it is desirable to use this inside a stateless form then override #getValue() and return some stateless value to uniquely identify this radio (eg

RadioGroup not selected on error

2010-08-17 Thread Bilgin Ibryam
Hi, I have a form with few fields and a RadioGroup. The RadioGroup model is bound like this radioGroup.setModel(model.bind("searchType")); Initally the radio options are selected correctly depending on model values. The problem happens when I submit the form, and there are validation errors. Then