Re: Comma-delimited looper

2008-03-09 Thread Filip S. Adamsen
Well, I learnt that trick from looking at your source code. ;) -Filip Howard Lewis Ship skrev: Clever! On Fri, Mar 7, 2008 at 7:24 AM, Filip S. Adamsen <[EMAIL PROTECTED]> wrote: Hi Bill, Try this: , ${currThing.name} On the first iteration of the loop index will be 0

Re: Comma-delimited looper

2008-03-09 Thread Howard Lewis Ship
Clever! On Fri, Mar 7, 2008 at 7:24 AM, Filip S. Adamsen <[EMAIL PROTECTED]> wrote: > Hi Bill, > > Try this: > > > , > >context="currThing.id">${currThing.name} > > > On the first iteration of the loop index will be 0 which evaluates to > false. Any other iteration will ou

Re: Comma-delimited looper

2008-03-09 Thread Bill Holloway
Right, I can do , bill On Fri, Mar 7, 2008 at 7:38 PM, Filip S. Adamsen <[EMAIL PROTECTED]> wrote: > And? Whatever content you put after the will still be rendered - > and properly comma-delimited. :) > > -Filip > > Bill Holloway skrev: > > > > Well, sometimes this will be page links, s

Re: Comma-delimited looper

2008-03-07 Thread Filip S. Adamsen
And? Whatever content you put after the will still be rendered - and properly comma-delimited. :) -Filip Bill Holloway skrev: Well, sometimes this will be page links, sometimes literal text, sometimes other components. The loop body might contain anything. Bill On Fri, Mar 7, 2008 at 8:24

Re: Comma-delimited looper

2008-03-07 Thread Bill Holloway
Well, sometimes this will be page links, sometimes literal text, sometimes other components. The loop body might contain anything. Bill On Fri, Mar 7, 2008 at 8:24 AM, Filip S. Adamsen <[EMAIL PROTECTED]> wrote: > Hi Bill, > > Try this: > > > , > >context="currThing.id">${curr

Re: Comma-delimited looper

2008-03-07 Thread Filip S. Adamsen
Hi Bill, Try this: , context="currThing.id">${currThing.name} On the first iteration of the loop index will be 0 which evaluates to false. Any other iteration will output the comma. -Filip Bill Holloway skrev: I need to comma-delimit components in a loop that will be . I.e

Comma-delimited looper

2008-03-06 Thread Bill Holloway
I need to comma-delimit components in a loop that will be . I.e., ${currThing.name}, The above, of course, produces a trailing comma. I know that some CSS tricks can turn a into a comma-delimited list, but the only CSS solutions I've seen use things like ul li::before and other CSS thing