Dave: I moved it to a struts.properties file:
format.money={0,number,currency} with no change to the output. Also, according to this page, I should be able to put it in either struts.xml or struts.properties: http://struts.apache.org/2.x/docs/constant-configuration.html Any ideas? 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 2:42 PM To: Struts Users Mailing List Subject: RE: [S2] How to apply formatting to s:property? --- Neil Aggarwal <[EMAIL PROTECTED]> wrote: > <s:text name="format.money"><s:param name="value" > value="12345"/></s:text> > > The outputs format.money instead of $12.345.00 which > I expected. > > I defined the format in the struts.xml file like > this: > > <constant name="format.money" > value="{0,number,currency}" /> > > Any ideas? Try putting it in a properties file. http://struts.apache.org/2.x/docs/text.html d. ____________________________________________________________________________ ________Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. http://tv.yahoo.com/ --------------------------------------------------------------------- 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]