Thank you all guys!
I just do it with Map.
Especially thanks to Leo.Erlandsson!
2010/2/15 leo.erlands...@tyringe.com:
Should be no different when using JDBC than using it when using Domain
Objects.
Check out Wicket Phonebook Example that uses FilterToolbar:
Hej,
2010/2/11 Giambalvo, Christian christian.giamba...@excelsisnet.com:
http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html
Unrelated to the original posters question, but: The sort method used
in this sample does not work correctly. It gets a sublist and sorts
the sublist
Hej,
2010/2/16 Hauke Ingmar Schmidt haukeing...@gmail.com:
2010/2/11 Giambalvo, Christian christian.giamba...@excelsisnet.com:
http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html
Unrelated to the original posters question, but: The sort method used
in this sample does not
now problem is not accessing object fields..
problem is transform resultset to these objects..
You could just work with Maps in Wicket instead of Domain Objects. The
transformation from ResultSet to a Map containing the Column name as Key
and the data as Value should be trivial (if not; reply
. Februar 2010 15:47
An: users@wicket.apache.org
Betreff: Re: jdbc
I already have method that return my data from db as arraylist. And
i use this in iterator() method of dataprovider.
But which object (i think model) i must return?
2010/2/11 James Carman jcar...@carmanconsulting.com
...@gmail.com]
Gesendet: Donnerstag, 11. Februar 2010 15:47
An: users@wicket.apache.org
Betreff: Re: jdbc
I already have method that return my data from db as arraylist. And
i use this in iterator() method of dataprovider.
But which object (i think model) i must return?
2010/2/11 James
-
Von: Ivan Dudko [mailto:ivan.du...@gmail.com]
Gesendet: Donnerstag, 11. Februar 2010 15:47
An: users@wicket.apache.org
Betreff: Re: jdbc
I already have method that return my data from db as arraylist.
And i use this in iterator() method of dataprovider.
But which
If you want to use a Map and display it in a Datatable there's no
difference from using an Object in Wicket.
You access the key/values using PropertyColumn as usual (i.e. you don't
really need to make any changes to your code). For Objects you use e. g.
name for the getName() method. When
Thank you!
I just discovered this sample:
http://www.brettdutton.com/blog/?p=4
What i can do.. if i want to use FilterToolbar with DataTable?
2010/2/15 leo.erlands...@tyringe.com:
If you want to use a Map and display it in a Datatable there's no
difference from using an Object in Wicket.
...@gmail.com]
Gesendet: Donnerstag, 11. Februar 2010 15:47
An: users@wicket.apache.org
Betreff: Re: jdbc
I already have method that return my data from db as arraylist. And i
use this in iterator() method of dataprovider.
But which object (i think model) i must return?
2010/2/11 James Carman jcar
Should be no different when using JDBC than using it when using Domain
Objects.
Check out Wicket Phonebook Example that uses FilterToolbar:
http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook
Source Code Example:
. Februar 2010 15:47
An: users@wicket.apache.org
Betreff: Re: jdbc
I already have method that return my data from db as arraylist. And i
use this in iterator() method of dataprovider.
But which object (i think model) i must return?
2010/2/11 James Carman jcar...@carmanconsulting.com:
You
2010 15:47
An: users@wicket.apache.org
Betreff: Re: jdbc
I already have method that return my data from db as arraylist. And i
use this in iterator() method of dataprovider.
But which object (i think model) i must return?
2010/2/11 James Carman jcar...@carmanconsulting.com:
You need to create
You need to create a provider for your data. Look at what the
constructor takes and then implement the interface.
On Thu, Feb 11, 2010 at 8:26 AM, Ivan Dudko ivan.du...@gmail.com wrote:
Hello!
I can't understand how to populate data from a resultset object into
datatable.
Anyone have an
I already have method that return my data from db as arraylist. And i
use this in iterator() method of dataprovider.
But which object (i think model) i must return?
2010/2/11 James Carman jcar...@carmanconsulting.com:
You need to create a provider for your data. Look at what the
constructor
, Christian
christian.giamba...@excelsisnet.com wrote:
http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html
-Ursprüngliche Nachricht-
Von: Ivan Dudko [mailto:ivan.du...@gmail.com]
Gesendet: Donnerstag, 11. Februar 2010 15:47
An: users@wicket.apache.org
Betreff: Re: jdbc
: Re: jdbc
I already have method that return my data from db as arraylist. And i
use this in iterator() method of dataprovider.
But which object (i think model) i must return?
2010/2/11 James Carman jcar...@carmanconsulting.com:
You need to create a provider for your data. Look at what
:
http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html
-Ursprüngliche Nachricht-
Von: Ivan Dudko [mailto:ivan.du...@gmail.com]
Gesendet: Donnerstag, 11. Februar 2010 15:47
An: users@wicket.apache.org
Betreff: Re: jdbc
I already have method that return my data from db
What driver did you specify?
On Fri, Feb 29, 2008 at 1:17 PM, wicketUser [EMAIL PROTECTED] wrote:
Hi,
I am new to Wicket and I don't wish to use hibernate as persistence
framework. I am trying to do CRUD operations through JDBC connection to a
mysql database.
I have added mysql
you need to have which ever driver you specified on classpath..
wicketUser wrote:
Hi,
I am new to Wicket and I don't wish to use hibernate as persistence
framework. I am trying to do CRUD operations through JDBC connection to a
mysql database.
I have added mysql dependency in my project's
Just having the driver specified on the classpath doesn't register it.
You have to do a Class.forName(drivernamehere) to register it with
the DriverManager. I'd do that as a ServletContextListener or
something.
On 2/29/08, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
you need
21 matches
Mail list logo