i just tried examples in the trunk and it seems to work just fine using the DefaultDataTable.

what is the difference between what you are doing and DataTablePage in the examples?

-Igor


On 9/6/06, Stefan Lindner <[EMAIL PROTECTED]> wrote:
> 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?
No, I don't override any mehtods, I just use the code as contained in wicket-examples 1.2.2 (just modified for the new wicket 2.0 constructor).

> In the Wicket 1.2 Examples I noticed that DefaultDataTable sets the
> odd/even attribute, and an external .CSS file interpreted the attribute
> to color the rows.  I don't believe DataTable comes with any such
> row-coloring rules built in.  So if you're using DefaultDataTable and
> not getting odd-even row colors, check your .CSS file.
No, it is not a css problem. The odd/even atttributes are missing in the generated html code.

Stefan


-------------------------------------------------------------------------
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



-------------------------------------------------------------------------
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