Is the set tag even supposed to work like that? >From looking at the docs (http://struts.apache.org/2.0.14/docs/set.html), it doesn't seems so. I didn't try it, but I would expect it to assign the value to a parameter named 'id[#status.index]' without evaluating that expression.
In any case, wouldn't it be simpler to do this assignment in your action class? On Wed, Feb 11, 2009 at 8:47 PM, Seshagiri V <seshagi...@kensium.com> wrote: > <s:iterator value="%{sortPoPs((#alltask).childPoPs)}" status="status" > id="allChilds"> > > > > <s:set name="id[#status.index]" value="%{(#allChilds).id}"/> > > > > </s:iterator> > > In set tag, declared single variable it is working fine but used declared > array variable it is not working fine and also given size zero. > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org