Author: musachy Date: Thu Feb 5 17:12:08 2009 New Revision: 741183 URL: http://svn.apache.org/viewvc?rev=741183&view=rev Log: WW-2984 Improve iterator tag to support "begin", "end" and "step" attributes
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/IteratorComponent.java Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/IteratorComponent.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/IteratorComponent.java?rev=741183&r1=741182&r2=741183&view=diff ============================================================================== --- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/IteratorComponent.java (original) +++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/IteratorComponent.java Thu Feb 5 17:12:08 2009 @@ -411,7 +411,8 @@ this.beginStr = begin; } - @StrutsTagAttribute(description="if specified the iteration will end on that index(inclusive)", type="Integer", defaultValue="Size of the 'values' collection or array") + @StrutsTagAttribute(description="if specified the iteration will end on that index(inclusive)", type="Integer", + defaultValue="Size of the 'values' List or array, or 0 if 'step' is negative") public void setEnd(String end) { this.endStr = end; }