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: lukasz.len...@googlemail.com > To: user@struts.apache.org > > 2010/3/4 Ricardo Jorge <rvjs...@gmail.com>: > > 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: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > _________________________________________________________________ Tell us your greatest, weirdest and funniest Hotmail stories http://clk.atdmt.com/UKM/go/195013117/direct/01/