can is use a x-taglib var in a c-foreach
like:
<x:set var="logrows" select="$doc/properties/entry[@key='foo.bar']"></x:set>
<c:forEach items="${bar.foo}" var="log" begin="0" step="1" varStatus="i" end="${logrows}">
</c:foreach>
thx
can is use a x-taglib var in a c-foreach
like:
<x:set var="logrows" select="$doc/properties/entry[@key='foo.bar']"></x:set>
<c:forEach items="${bar.foo}" var="log" begin="0" step="1" varStatus="i" end="${logrows}">
</c:foreach>
thx
never mind I solved it myself with a kind of preCasting:
<x:set var="tmp" select="$doc/properties/entry[@key='foo.bar']" />
<x:set var="logrows" select='number($tmp)'/>
<c:forEach items="${bar.foo}" var="log" begin="1" step="1" varStatus="i" end="${logrows}">