Did not find a how-to for your problem?

Ask me to write the how-to post by writing to the mailing-list at cps-devel [@] lists [.] nuxeo [.] com or writing to me to joseluisdelarosa+cpshowto [@] gmail [.] com. Note: I'll keep all conversations on the official mailing list.

Thursday, September 6, 2007

How to put colored styles to rows in a table

Put this line into a <tr> tag:

tal:attributes="class python:test(repeat['item'].even(), 'even ajaxtd', 'odd ajaxtd')"

and you'll have an amusing table... with the same style that any others in your portal.