struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Iterating constants in iterator tag
Date Mon, 29 Jul 2013 13:38:41 GMT
2013/7/29 Antonio Sánchez <juntandolineas@gmail.com>:
> Given:
>
> <constant name="custom.constants.locales" value="es,en,it"/>
>
> Use it in:
>
> <s:iterator .... custom.constants.locales .... >
> ...
> </s:iterator>
>
> How to?
>
> Injecting with @Inject?

Yes

> Any direct access method from OGNL?

Injecting is better, other way you must get access to Container somehow.


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message