struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neil Aggarwal" <n...@JAMMConsulting.com>
Subject RE: [S2] How to apply formatting to s:property?
Date Wed, 01 Aug 2007 20:22:54 GMT
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:newton.dave@yahoo.com] 
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 <neil@JAMMConsulting.com> 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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


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


Mime
View raw message