samsun
Thu, 24 Sep 2009 09:29:15 -0700
I have array to iterate through using iterator tag, for each loop i want to print out pair of array's element the last row could have only one element if the array length is odd. for example, i want to dump arrays into table , each row has two element.
arrays {1,2,3,4,5}
<tr>
<td>1</td> <td>2</td>
</tr>
<tr>
<td>3</td> <td>4</td>
</tr>
<tr>
<td>5</td>
</tr>
each loop's step should set to 2, but looks like there is no step attribute
for the iterator tag.
any idea how to do this
thanks,
--
View this message in context:
http://www.nabble.com/iterator-tag%3A-how-to-set-iterate-step--tp25577792p25577792.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org