just pass an alias to the locale in the parameter
<s:property value="getName('US')"/>
and let the getName class handle the actual locale.
adam
> Date: Thu, 4 Mar 2010 18:20:19 +0100
> Subject: Re: Passing parameters to <s:property>
> From: [email protected]
> To: [email protected]
>
> 2010/3/4 Ricardo Jorge <[email protected]>:
> > PS: I've just tried the following but it did not work
> > <s:property value="name(@java.util.loc...@us)" />
>
> Take a look on some examples here [1] and try
> <s:property value="getName(@java.util.loc...@us)" />
>
> [1] http://struts.apache.org/2.x/docs/ognl-basics.html
>
>
> Regards
> --
> Łukasz
> http://www.lenart.org.pl/
> Kapituła Javarsovia 2010
> http://javarsovia.pl
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
_________________________________________________________________
Tell us your greatest, weirdest and funniest Hotmail stories
http://clk.atdmt.com/UKM/go/195013117/direct/01/