not really sure on your example, but this works, is this the same?

<s:iterator var="list" value="eventList" status="rowstatus">
<s:set var="sequence" value="#list.sequence" />
.....
<s:textfield name="eventList(%{#sequence}).description"
value="%{#list.description}" maxlength="60" size="60" />
.....
</s:iterator>

On 22 June 2016 at 10:00, Lukasz Lenart <lukaszlen...@apache.org> wrote:

> 2016-06-22 10:56 GMT+02:00 Greg Huber <gregh3...@gmail.com>:
> > If the style %{#entry.entryId} did not work it would completely break my
> > system?  Which is working OK.
>
> It's a case when you have a list and dynamically fetching elements
> from this list, i.e.:
>
> // given
> String[] list = new String[]{"foo", "bar};
> int index = 1;
>
> // when
> <s:someTag name="list[%{index}]" />
>
> // then
> <someTag name=list[1] value="bar"/>
>
>
> Regards
> --
> Ɓukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> For additional commands, e-mail: dev-h...@struts.apache.org
>
>

Reply via email to