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 relative component path from group to this radio)

On Tue, Aug 17, 2010 at 11:56 AM, Bilgin Ibryam <[email protected]> wrote:

> 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 the form is displayed again, but this time none of the options
> are selected (nor default values nor user selected).
> All the other fields keeps the values entered by the user (text fields,
> selects, date fields), but radio selections are lost.
>
> Any ideas what might be the problem?
>
> Bilgin
>
>

Reply via email to