how did you exactly configure everything? it looks like it tries to get an id from an array so it looks like you have an array in your list/model
On 10/12/05, Andrew Berman <[EMAIL PROTECTED]> wrote: > Hello, > > I'm having a problem trying to get a dropdown to > work in a form. I have a simple model that just > includes a Set. All I want to do is select multiple > items in the dropdown and have it fill in the set with > ids. I add a new DropDownChoice and pass it a list of > my own domain objects and use a ChoiceRenderer to pull > out a specific property of that object for the id and > displayValue. When it tries to render the > DropDownChoice I get an error that says: > > wicket.WicketRuntimeException: Error getting id value > of: [] for property: id > > So, basically, this is telling me that the > ChoiceRenderer is looking for the id property in my > model, which is not how I thought things worked. > Isn't ChoiceRenderer for pulling the id and display > value out of the list I pass it? Can anyone explain > to me what I'm doing wrong? > > Thanks for any help, > > Andrew > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
