Sorry, I missed the "check if first" part. How can you do such a check in Loop? The "If" can test, but what can you test in a Loop? nothing that I know of will tell you where in the iteration you are.

chris

Davor Hrg wrote:
just reverse where you write the ","
instead of checking if last and putting comma behind

check if first and put comma in front

Davor Hrg

On Jan 12, 2008 11:04 PM, Chris Lewis <[EMAIL PROTECTED]> wrote:
So this ticket has been implemented in svn:
https://issues.apache.org/jira/browse/TAPESTRY-2028

And now I need whitespace... so how can I get it back? Is there or isn't
there a way to disable this? Im using loop to output links (pagelinks),
and i have whitespace behind in the body so there is separation.
Unfortunately, it's getting stripped. Is there a workaround?

On a related note, is there a way to know if im on the last iteration of
the loop, so i could for example, follow all but the last with a ","?
This may be outside the scope of loop as currently implemented, but i
can see it being useful.

chris

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



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



Reply via email to