I need to comma-delimit components in a loop that will be <t:pagelinks>.  I.e.,

<t:loop source="things" value="currThing">
    <t:pagelink page="Details"
context="currThing.id">${currThing.name}</t:pagelink>,
</t:loop>

The above, of course, produces a trailing comma.

I know that some CSS tricks can turn a <ul> into a comma-delimited
list, but the only CSS solutions I've seen use things like ul
li::before and other CSS things that don't play well with @#$%#$@
internet exploiter.

If the _source or even _iterator instance variables of the Loop class
were protected rather than private, I could just subclass Loop and
override the afterRenderBody, check _iterator.hasNext and emit ", " if
there is a next.

Any thoughts?

Bill

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

Reply via email to