You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Martin Cooper <ma...@tumbleweed.com> on 2001/05/27 19:51:03 UTC
[PATCH] Expose 's current index as a scripting
variable
This patch adds a new attribute, 'indexId', to the <logic:iterate> tag which
is used to expose the current index, at each iteration, as a scripting
variable. The attribute names the desired scripting variable.
A couple of people expressed interest in this, and it turned out to be
straightforward, so I figured I'd post the patch.
--
Martin Cooper