Well, with the DefaultDataTable, it overrides DataTable's newRowItem()
method in order to return an new OddEvenItem rather than a new Item.
The OddEvenItem overrides on ComponentTag in order to add the "odd" or
"even" class.  Could you, however, have overridden one of these
yourself?

/Gwyn

On 06/09/06, Stefan Lindner <[EMAIL PROTECTED]> wrote:
> I just wonder about the place where in the DataTableExample (in wicket 
> examples) the alternating style for the table rows (<tr class="even"...> and 
> <tr class="odd"..> has to be set? Or does this the DefaultDataTable class for 
> me. Or does it the SortableDataProvider? Or do I have to it on my own (as in 
> the displaytag examples)?
> If it should happen automatically, it does not work in Wicket 2.0.
>
> Stefan


-- 
Download Wicket 1.2.2 now! - http://wicketframework.org

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to