struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <>
Subject Re: [S2] s:text help on formatting output
Date Thu, 12 Apr 2007 00:47:27 GMT
--- Harring Figueiredo <> wrote:
> [...]

Dude, just type it in.

In my properties file:{0,number,currency}

On my JSP:

<s:text name="">
  <s:param name="value" value="123" />

Rendered output:


Switch locale to Chinese (zh_CN, it's the only other
language I know, sorry), rendered output:


I simply don't know what else to tell you.

Wait, that isn't the right symbol. But you get the
point... ar_SA renders as:

&#1585;.&#1587;.&#8207; 123


Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message