Sure. When you create an radio choice like:
RadioChoice<String> rc = new RadioChoice<String>("numberRadioChoice",
your are passing the wicket id and a list of choices to the component, but
no model. Components without model inherit one from the first parent
CompoundPropertyModel based on the child wicket id, in this case:
"numberRadioChoice". The problem is that the object at the first parament
CPM don't have de property numberRa(...), so I guess you missed to provide
your own model to the component.

On Tue, Feb 1, 2011 at 1:25 PM, nimmy <> wrote:

> I'm a newbie also but....
> Can't you just create a new model specifically for the RadioChoice
> component? Each component can have its own model.
> --
> View this message in context:
> Sent from the Users forum mailing list archive at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Pedro Henrique Oliveira dos Santos

Reply via email to