cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Coboos <cromo...@gmx.net>
Subject Re: #{//foo/bar} doesn't work within forEach!
Date Sun, 18 Apr 2004 16:47:48 GMT
Leon Widdershoven wrote:

> Could it be that you are using both Jexl and XPath tags?
>
Yes of course. But it should work, shouldn't it? Because something like 
this works, correctly:

<jx:forEach var="myItem" items="${myList}">

Item: #{.}

</jx:forEach>

Note: The iteration will be done by using Jexl. The node to print out 
will be selected by XPath.
So i think it is possible to mix Jexl and XPath.

Regards
Stephan




Mime
View raw message