Kees Jongenburger wrote:
> I am not shure , but I did not find how to get the size of the list
> and the current index so odd/even was not possible
Actually I though I did it alreayd, but turned out that I used mm:index.
<mm:index id="i">
...
<tr class="${i mod 2 eq 0 ? 'even' : 'odd'}">
...
</mm:index>
Which I tough nicer then taglib code with mm:odd and mm:even inside an
attribute. Indeed tags in attribute look extremely ugly. There should always
be a way to avoid it, for the case that you use jspx.
Michiel
--
Michiel Meeuwissen mihxil'
Mediacentrum 140 H'sum [] ()
+31 (0)35 6772979 nl_NL eo_XX en_US
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers