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


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
Wicket-user mailing list

Reply via email to