Hi!
> List carList = getCars(); //getting from db
DropDownChoice carChoice = new DropDownChoice("cars", model, carList,
new IChoiceRenderer<Car>() { display(Car car) { return car.getName();
} }
You might want to use carList as a loadabledetachablemodel.
**
Martin
> 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]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]