Thank you so much for your answer.
GridView seems to achieve exactly what i need.
A problem remains, however : i don't know how to implement 
IDataProvider.iterator(int first, int count).
Must be something like this in oracle : "select * from mytable where 
rownum>=first and rownum <count "
But how to do this in mysql ? (row_id could do the thing, but it is only 
available when your primary key is integer).
Thanks for your help.


Igor Vaynberg a écrit :
>
> On 6/23/07, *Landry Soules* <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     Hello,
>
>     I have a very simple problem:
>     i just want to display a table of customers, with some infos on
>     each entry.
>     No problem to achieve that when you deal with one record per line. The
>     problem is that i want to display 4 customers on each row, as this :
>
>     =====================================
>     Customer1 || Customer2 || Customer3 || Customer4
>     firstName   || firstName   || firstName   || firstName
>     lastName   || lastName   || lastName   || lastName
>     =====================================
>     Customer5 || Customer6 || Customer7 || Customer8
>     firstName   || firstName   || firstName   || firstName
>     lastName   || lastName   || lastName   || lastName
>
>     It sounds so simple, but i can't figure out how to do this. Can
>     someone
>     help me, please ?
>
>
> see GridView component. example here [1]
>
> [1] 
> http://wicketstuff.org/wicket13/repeater/?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.repeater.GridViewPage
>
> -igor
>  
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to