I have a problem with dropdownchoice component
I have a car class containing Long id, String name and etc.
I am getting all car information as list of objects from database and I want
to display only the car name on the dropdownchoice and also want to put car
objects into dropdownchoice.
How can it be possible?
List carList = getCars(); //getting from db
DropDownChoice carChoice = new DropDownChoice("cars", new
PropertyModel(this, ...I could not write end of the code because I think I do not know how to do it? Can you give me a suggestion for adding data into dropdownchoice? With my best regards. ----- Developer Wicket Java JSP -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-choice-rendering-tp3333876p3333876.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]
