Title: About ww:iterator tag
Actually, there is a way to know if you would like to check for odd/even rows. Use the attribute "status" of the iterator-tag. Example:
<ww:iterator ... status="rowStat">
<ww:if test="rowStat.odd == true">
<p>odd row</p>
</ww:if>
</ww:iterator>
-----Original Message-----
From: Mathias Berg [mailto:[EMAIL PROTECTED]
Sent: den 5 januari 2004 09:55
To: WebWork (E-mail)
Subject: [OS-webwork] About ww:iterator tag

About the iterator tag.
1. Does there exist a function with the iterator tag, that check if the prev, value is the same as the next. Then if so skip printing that value.

2. Is there a odd/even  handling when iterating through a list? So you can print out a table with every odd row with a grey background, and even row as white.

Is there some good docs about the UI iterator tag? Any help is appreciated.

Regards, Mathias

Reply via email to