struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vo Van Thuong" <vovanthu...@hn.vnn.vn>
Subject iterator with only an int as input value
Date Mon, 17 Sep 2007 04:34:45 GMT
Hi,
i'm wondering if there is anyway to use <s:iterator> like this:
    <s:iterator value="{1..pagesNum}" >
        <s:property value="top"/>
    </s:iterator>

should be the same as below, if pagesNum=5:
    <s:iterator value="{1,2,3,4,5}" >
        <s:property value="top"/>
    </s:iterator>

Thanks,

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message