HTML::Template and __ODD__



I have the following code in one of my template files

<tbody id='interfaceData'>
<!-- TMPL_LOOP NAME="interfaceData" -->
<tr <!-- TMPL_IF NAME="__ODD__" -->class="alternateRow"<!-- /TMPL_IF --> >
<td><!-- TMPL_VAR NAME="interface" --></td>
<td><!-- TMPL_VAR NAME="if_type_description" --></td>
<td>
<a href='efs.cgi?rm=listInterfaceDetails;&amp;interface_id=<!--
TMPL_VAR NAME="interface_id" -->'
class='button'>Details</a>
</td>
</tr>
<!-- /TMPL_LOOP -->
</tbody>

The loop works, all the variables insert properly. The only thing that
doesn't happen is the alternate row class style being applied to odd rows
in the table. All I get is the tag "<tr >" appearing on each row.

Could anyone clue me up as to where I am going wrong?

--
Colin Walls

Remove the pink meat to mail me
.