cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leon Widdershoven <...@dds.nl>
Subject Re: #{//foo/bar} doesn't work within forEach!
Date Sun, 18 Apr 2004 16:35:05 GMT
Could it be that you are using both Jexl and XPath tags?

Stephan Coboos wrote:

> Hello,
>
> I've tried to retrieve an object within a JXTemplate:
>
> #{//foo/bar}
>
> This works fine outside any "forEach". If I'am using it inner forEach, 
> nothing will be printed out:
>
> <jx:forEach var="something" items="${myList}">
>
>   #{//foo/bar}
>
> </jx:forEach>
>
> Because // refers to the root, the value should be printed out within 
> this context, right? Whats wrong?
>
> Thank you.
>
> Regards
> Stephan



Mime
View raw message