Hi,

[email protected] wrote:
> 
> How is the current selection recognized?
> 

the RadioChoice get's a PropertyModel from the CompoundPropertyModel
automagically. You could do it explicitely like the following:

  new RadioChoice("site", new PropertyModel(input, "site"), SITES);


[email protected] wrote:
> 
>  Why does the compound property model (the Input object) not have any
> getters/setters?
> 

Wicket's property resolver uses field access if no getter/setter is present.

Hope this helps
Sven

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/radio-button-example-help-tp3710953p3711589.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to