cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Arbogast <sebastien.arbog...@gmail.com>
Subject Re: How to iterate recursivley with JXTemplate
Date Mon, 20 Jun 2005 16:26:37 GMT
2005/6/20, Johannes Becker <jonnybecker@gmx.net>:
> Hi,
> 
> I've got a function that returns a List. In this List again there is
> another Set.
> 
> Question:
> - Can I iterate through a Set with <jx:forEach ?
> - How would I do that? Another <jx:forEach ?
> 
> My JXTemplate:
> ...
> <c:forEach select="#{getList}">
>    <a>#{price}</b>
>    <b>  <!-- here I want the Set iterated   -->    </b>
> </c:forEach>

It seems to me that forEach is able to iterate on any Collection
subclass, including List's and Set's. Have you tried ?

-- 
S├ębastien Arbogast

WebCV : http://www.sebastien-arbogast.com
The Epseelon Project : http://www.epseelon.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message