struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: [VOTE][FASTTRACK] Struts 2.3.29
Date Wed, 22 Jun 2016 09:00:47 GMT
2016-06-22 10:56 GMT+02:00 Greg Huber <gregh3269@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-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message