Hi,

I've also noticed this behavior, but with null values (a RadioGroup with
null modelObject, two RadioChoices with null modelObject).
Under IE, all of them appeared selected :) (wicket 1.3.5)

Cheers,
Xavier

2010/1/6 Kogel, Jonck-van-der <[email protected]>

> Hi,
> I have a radiogroup that is built up dynamically, so I don't know ahead
> of time what the choices are going to be. Now I noticed that if I have 3
> radio buttons in a RadioGroup and let's say they all have the same value
> (are all empty for example), the selected radio button will be the last
> one in the group. Let me give an example:
>
> RadioGroup
> * value1 = "foo"
> * value2 = "foo"
> * value3 = "foo"
>
> So all 3 radio choices have the value "foo". The persisted value is also
> "foo", so all are "valid" so to speak and therefore the one that gets
> selected is the 3d one. However, I would like it to be the first. Could
> someone point me in the right direction how I should go about overriding
> this behavior so it takes the first value it encounters instead of the
> last?
>
> Thanks, Jonck
>



-- 
"Klein bottle for rent--inquire within."

Reply via email to