On Jan 18, 2008 11:27 AM, scottomni <[EMAIL PROTECTED]> wrote: > OK. I have the following line in a Wicket Panel, which adds a RadioChoice > to a Form. Is it not possible to modify my line of code to 'include' a > default selection? > > --------------------------------------------- > add(sexRadioChoice = (RadioChoice) new RadioChoice("sexRadioChoice", new > PropertyModel(properties, > "sexRadioChoice"),GENDERLIST).setSuffix("").setRequired(true)); > --------------------------------------------- > > If not, where and *how* do I set the model object?
properties.setSexRadioChoice(MALE); -igor --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]