Hej,
2010/2/16 Hauke Ingmar Schmidt :
> 2010/2/11 Giambalvo, Christian :
>> 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 su
Hej,
2010/2/11 Giambalvo, Christian :
> 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 instead of sorting the base data and
Thank you all guys!
I just do it with Map.
Especially thanks to Leo.Erlandsson!
2010/2/15 :
> 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/w
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:
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trun
a
>>>>>> Hibernate-based example and come up with the JDBC analog. Here's an
>>>>>> example from my Advanced Wicket talk I gave a while back:
>>>>>>
>>>>>> http://svn.carmanconsulting.com/public/wicket-advanced/trunk/src/main/java/co
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 :
> 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
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 us
esults out of a JDBC result set. This is based on a static,
> >> >>>>> in-memory list of Contact objects. What I would recommend is to
> >> >>>>> look at a Hibernate-based example and come up with the JDBC
> >> >>>>> analog. Here's an exa
>>>>> example from my Advanced Wicket talk I gave a while back:
>> >>>>>
>> >>>>> http://svn.carmanconsulting.com/public/wicket-advanced/trunk/src/main
>> >>>>> /java/com/carmanconsulting/wicket/advanced/web/story3/page/Home.java
&
og. Here's an
> >>>>> example from my Advanced Wicket talk I gave a while back:
> >>>>>
> >>>>> http://svn.carmanconsulting.com/public/wicket-advanced/trunk/src/main
> >>>>> /java/com/carmanconsulting/wicket/advanced/we
>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
gt;>>>> example from my Advanced Wicket talk I gave a while back:
>>>>>
>>>>> http://svn.carmanconsulting.com/public/wicket-advanced/trunk/src/main/java/com/carmanconsulting/wicket/advanced/web/story3/page/Home.java
>>>>>
>>>>> At the
ository"
>>>> to get its data.
>>>>
>>>>
>>>>
>>>> On Thu, Feb 11, 2010 at 10:11 AM, Giambalvo, Christian
>>>> wrote:
>>>>> http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html
>>>
t;>>> 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: user
>
>>
>> On Thu, Feb 11, 2010 at 10:11 AM, Giambalvo, Christian
>> wrote:
>>> http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html
>>>
>>> -Ursprüngliche Nachricht-
>>> Von: Ivan Dudko [mailto:ivan.du...@gmail.com]
&
ta.
>
>
>
> On Thu, Feb 11, 2010 at 10:11 AM, Giambalvo, Christian
> wrote:
>> http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html
>>
>> -Ursprüngliche Nachricht-
>> Von: Ivan Dudko [mailto:ivan.du...@gmail.com]
>> Gesendet: Donners
10 at 10:11 AM, Giambalvo, Christian
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
&g
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 :
> You need to create a "provider" for your data. Look at what the
> constructor takes and then implement th
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 wrote:
> Hello!
>
> I can't understand how to populate data from a resultset object into
> datatable.
> Anyone have an example?
>
> Tha
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 n
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 pom.
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 my
22 matches
Mail list logo