tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Petrelli" <antonio.petre...@gmail.com>
Subject Re: Question re: attribute evaluation
Date Wed, 13 Feb 2008 19:31:20 GMT
2008/2/13, Tim Kannenberg <tkannenb@celerasystems.com>:
>       <c:forEach begin="1" end="5" var="current">

This way you create a nested scoped variable, so it is visible inside
the <c:forEach> element but *within the same page*.
You could add a <c:set> tag to export this variable into a
request-scoped attribute.

<c:set var="reqCurrent" value="${current}" scope="request" />


View raw message