wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grigorov <mgrigo...@apache.org>
Subject Re: How to populate data from Database in combo box using DropDownChoice
Date Tue, 27 Mar 2012 09:54:21 GMT
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 <leningovi@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-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>



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

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


Mime
View raw message