struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: S2 s:text Currency Format
Date Wed, 11 Apr 2007 00:51:37 GMT
--- Harring Figueiredo <harringf@gmail.com> wrote:
> How can I format a number with the currency format?
> 
> I have taken a look at
> http://struts.apache.org/2.x/docs/text.html and
> still cannot figure out the correct syntax.

Is

<s:text name="format.money">
  <s:param name="value" value="myMoneyValue"/>
</s:text>

where

format.money={0,number,currency}

Not the correct syntax? 

I ask because it doesn't seem like it's what you're
using:

> I tried this and it does not work.
> <s:text>
>   <s:param name="amount" value="amount"/>
> </s:text>

d.



       
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 

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


Mime
View raw message