I'm having a problem with foreach tag using begin and end attributes.
The code I have is:
<c:forEach begin="${erliestYear}" end="${latestYear}" varStatus="status">
<option value="<c:out value='${status.index}'/>"<c:if
test="${status.index == statisticsForm.toYear}"><c:out value="
selected"/></c:if>><c:out value='${status.index}'/></option>
</c:forEach>
and when earliestYear it's equals to lastYear It doesn't display the option
tag.
I suppose that it should be like in Java that runs the loop once.
This is a bug or it's not possible to use a <foreach> only to run once.
Thanks!
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>