Dave:

OK, so I added this to my struts.xml:

<constant name="struts.custom.i18n.resources"
value="application.properties"/>

and I defined application.properties with this
content:

format.money={0,number,currency} 

But, I still get format.money for the output.

Do I need to use the Il8n interceptor somewhere?

Thanks,
        Neil

--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.

-----Original Message-----
From: Dave Newton [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 01, 2007 3:10 PM
To: Struts Users Mailing List
Subject: RE: [S2] How to apply formatting to s:property?

--- Neil Aggarwal <[EMAIL PROTECTED]> wrote:
> So, is there no way to define a global format
> for currency?

http://struts.apache.org/2.x/docs/localization.html

d.



 
____________________________________________________________________________
________
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel
and lay it on us.
http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to