I want one row with 4 elements on it, so I need to include an extra part when my counter is 4, 8, ....

On 26 Apr 2005, at 08:59, Linden H van der (MI) wrote:

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:logic

Hi,

What I want to do is pretty basic.
I have a loop in my results to show them inside a table
Every 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.



>

>
>
>ct++ ;>
>
a >
esql:get-string />
>
>

>
if (ct == 4)
{
xsp:text >
} ;
>
>
>
>

Met vriendelijke groeten,
Bien � vous,
Kind regards,

Yves Vindevogel
Implements


Met vriendelijke groeten,
Bien � vous,
Kind regards,

Yves Vindevogel
Implements

<<inline: Pasted Graphic 2.tiff>>



Mail: [EMAIL PROTECTED] - Mobile: +32 (478) 80 82 91

Kempische Steenweg 206 - 3500 Hasselt - Tel-Fax: +32 (11) 43 55 76

Web: http://www.implements.be
<x-tad-smaller>
First they ignore you. Then they laugh at you. Then they fight you. Then you win.
Mahatma Ghandi.</x-tad-smaller>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to