Hi,

DropDownChoice works with simple java.util.List<YourObject>.
See 
http://www.wicket-library.com/wicket-examples/compref/wicket/bookmarkable/org.apache.wicket.examples.compref.DropDownChoicePage
for examples.

It is up to you to read your data from the database (plain JDBC,
Hibernate, ...) and create a List of your objects.

On Tue, Mar 27, 2012 at 11:49 AM, lenin <lening...@gmail.com> wrote:
> Dear,
>
> I am trying to populate data from database in combo box using
> dropdownChoice,with key and value ...
> it is not working ....
> can anyone help to resolve the problem
>
> thanks in advance
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/How-to-populate-data-from-Database-in-combo-box-using-DropDownChoice-tp4508402p4508402.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to