Hi
Yves,
Haven't tested this, but what about:
<xsp:logic>
for
(each row) {
<xsp:element name="tr">
<xsp:logic>
for (each column) {
<xsp:element
name="td">
<xsp:text>cell
content</xsp:text>
</xsp:element>
}
</xsp:logic>
</xsp:element>
}
</xsp:logic>
Bye,
Helma
-----Original Message-----
From: Yves Vindevogel [mailto:[EMAIL PROTECTED]
Sent: Monday, 25 April, 2005 21:32
To: [email protected]
Subject: Table with multiple rows in xsp:logicHi,
What I want to do is pretty basic.I have a loop in my results to show them inside a tableEvery four columns, I want to start a new row.
How can I do this ?
The code below shows what I try to do, but does not work. (And it's not the == instead of the modulo)I'm just trying stuff in there.
<table><tr><esql:row-results><xsp:logic>ct++ ;</xsp:logic><td><a href="#">><esql:get-string column="id"/></a></td>
<xsp:logic>if (ct == 4){<xsp:text disable-output-escaping="true"><tr></xsp:text>} ;</xsp:logic></esql:row-results></tr></table>
Met vriendelijke groeten,Bien � vous,Kind regards,
Yves VindevogelImplements
