I have a similar issue, but I don't know which radio should be checked until
runtime. So I can't hard-code it in the HTML; I have to determine it from
my DAO in the radiogroup's parent panel constructor. I'm using the model to
determine which radio to select, and it works fine once you click,
hi people,
i'm quite puzzled with this little problem:
i have two Radio buttons within a RadioGroup. both radios have an
ajaxeventbehavior(onclick) attached to them, and there are no models
backing those components. this works fine.
my problem is i want the *first* option to be checked by
Have you tried this: add models to the components (even though you don't use
on them), and store the value associated with the Radio you want checked
in the RadioGroup's model:
final RadioGroupBoolean group = new RadioGroupBoolean(group,
new Model(Boolean.TRUE));
RadioBoolean radio1 = new
i was refusing to use models (how stubborn :) but i think you're right
- not a very mean workaround that just works fine.
thanks!
francisco
On Fri, Feb 27, 2009 at 4:41 PM, Jonas barney...@gmail.com wrote:
Have you tried this: add models to the components (even though you don't use
on them),