Re: JXTemplate forEach assigns entire list to current

2011-02-21 Thread Peter Molnar
On 02/19/2011 06:52 PM, Robby Pelssers wrote: For all I know you're using the forEach incorrect. jx:forEach select=#{$cocoon/parameters/initSources} varStatus=status jx:out value=#{$status/current}/ /jx:forEach This is perfectly correct, straight from the documentation, but in JXPath

Re: JXTemplate forEach assigns entire list to current

2011-02-19 Thread Peter Molnar
On 02/19/2011 03:52 PM, Peter Molnar wrote: I have realized, that through the sitemap, I cannot pass a variable as a list, because it is cast to a String, thus my list only had one element. I have built a string from the elements, and used a Jexl expression to re-split the string into a

RE: JXTemplate forEach assigns entire list to current

2011-02-19 Thread Robby Pelssers
really intended to show the varStatus?! Kind regards, Robby Pelssers -Oorspronkelijk bericht- Van: Peter Molnar [mailto:mp...@nanasoft.hu] Verzonden: za 19-2-2011 16:42 Aan: users@cocoon.apache.org Onderwerp: Re: JXTemplate forEach assigns entire list to current On 02/19/2011 03:52 PM, Peter