<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi ZPT list,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have a brief question.. I have a tal:repeat
running from a db query, and i want to stagger the results in two columns,
so</FONT></DIV>
<DIV><FONT face=Arial size=2>it will look like this:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>data1 .. data2</FONT></DIV>
<DIV><FONT face=Arial size=2>data3 .. data4</FONT></DIV>
<DIV><FONT face=Arial size=2>data5 .. data6</FONT></DIV>
<DIV><FONT face=Arial size=2>data7</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am using the odd/even checking and I ALMOST
have this working. My problem is that since the repeat is on
a <span>, </FONT> <FONT face=Arial size=2>and i have to do
a lot of html <td> and <tr> formatting for each column, i can't
properly close each row. Here's a psuedocode version of my
setup.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><span repeat></FONT></DIV>
<DIV><FONT face=Arial size=2><tr></FONT></DIV>
<DIV><FONT face=Arial size=2>if even, do <span><td>left
column</td></span></FONT></DIV>
<DIV><FONT face=Arial size=2>if odd, do <span><td>right
column</td></span></FONT></DIV>
<DIV><FONT face=Arial size=2></tr></FONT></DIV>
<DIV><FONT face=Arial size=2></span></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>You can see the problem is that I only want to
close the tablerow after it does the right column. But I can't
put the </tr> there inside the odd column's condition, because it breaks
because of what i assume are nesting problems. (a </tr> inside
the right column <span> tags, where the opening <tr> is way above it
and outside the <span> tags)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>for some reason i can't think of a logical solution
to this using ZPT...... :(</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>any help/tips would be MUCH
appreciated,</FONT></DIV>
<DIV><FONT face=Arial size=2>thank you</FONT></DIV>
<DIV><FONT face=Arial size=2>tim</FONT></DIV>
<DIV> </DIV></BODY></HTML>