struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (WW-3314) iterator tag: begin/end does not work as documented.
Date Thu, 05 Nov 2009 17:13:14 GMT

     [ https://issues.apache.org/struts/browse/WW-3314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Musachy Barroso resolved WW-3314.
---------------------------------

    Resolution: Cannot Reproduce

<s:iterator begin="2" end="9" step="1" var="val">
     <s:property value="%{#val}"/> <br/>
 </s:iterator>

Prints:

2
3
4
5
6
7
8
9

> iterator tag: begin/end does not work as documented.
> ----------------------------------------------------
>
>                 Key: WW-3314
>                 URL: https://issues.apache.org/struts/browse/WW-3314
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.1.8
>         Environment: MyEclipse 7.5 on Windows XP, JBoss AS 4, Tomcat 6
>            Reporter: Volker Karlmeier
>
> When using iterator tag with begin and end attributes, iterator always starts with 0
and ends with end-begin.
> Example
> <s:iterator begin="2" end="9" step=1">
> counts from 0 to 7 instead of 2 to 9

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message