hi,
I have a List of Numbers and I like to use 3 columns and n rows.
Is there a possible way to realise this via Logic-iteration.
Normally, it look like that every next step in the iteration there is
always another row.
Like this:
table width=100% border=0 cellspacing=1 cellpadding=1
respond to
[EMAIL PROTECTED]
To: Struts Users Mailing List
[EMAIL PROTECTED]
cc:(bcc: David Hay/Lex/Lexmark)
Subject: Problem with Logic-iterate and enumeration
hi,
I have a List of Numbers and I like to use 3 columns and n rows.
Is there a possible way to realise this via
This seems like a kludge, but I don't know of another way of doing it with
Struts tags. Anybody else?
tr
logic:iterate * * * length=3 offset=0
tdbean:write * * * //td
/logic:iterate
/tr
tr
logic:present
logic:iterate * * * length=3 offset=3
tdbean:write * * * //td
Or perhaps something like?
%! int count = 0 %
logic:iterate * * *
tr
logic:iterate * * * length=3 offset=%= count %
tdbean:write * * * //td
/logic:iterate
/tr
% count += 3 %
/logic:iterate
Mark
-Original Message-
From: struts (H2Opilot) [mailto:[EMAIL
4 matches
Mail list logo