Re: [S2] s:text help on formatting output

2007-04-11 Thread Dave Newton
--- Harring Figueiredo <[EMAIL PROTECTED]> wrote: > It would be nice if the documentation was as CLEAR > as your email. (i.e. where to the format.money, > rather then > > where: format.money={0,number,currency}. I update the docs to (hopefully!) better reflect this. Really, the documentation

Re: [S2] s:text help on formatting output

2007-04-11 Thread Harring Figueiredo
DAVE! THANK YOU SO MUCH FOR THIS "LITTLE" DETAIL. It would be nice if the documentation was as CLEAR as your email. (i.e. where to the format.money, rather then where: format.money={0,number,currency}. To me, coming from Unix world, means a set in which the possible values are inside the bra

Re: [S2] s:text help on formatting output

2007-04-11 Thread Dave Newton
--- Harring Figueiredo <[EMAIL PROTECTED]> wrote: > [...] Dude, just type it in. In my properties file: format.money={0,number,currency} On my JSP: Rendered output: $123.00 Switch locale to Chinese (zh_CN, it's the only other language I know, sorry), rendered output: ¥123.00 I simply

Re: [S2] s:text help on formatting output

2007-04-11 Thread Harring Figueiredo
Another thing is that your example, according to the example provided on the web site, is not correct either. format.money should actually be one of the values { 0, number, currency }, at least that is what it says on the documentation page. I wish someone from the Struts team w

Re: [S2] s:text help on formatting output

2007-04-11 Thread Harring Figueiredo
Hi Laurie, Thanks for the response. I tried what you suggested, and actually did not get a value back (empty). Where should I set the resource string? (I thought it was _smart_ enough to get from the Locale. Thank you. On 4/11/07, Laurie Harper <[EMAIL PROTECTED]> wrote: Harring Figueiredo

Re: [S2] s:text help on formatting output

2007-04-11 Thread Laurie Harper
Harring Figueiredo wrote: Folks: It is clear that I MUST be doing something wrong, but I have tried all the options with the to format a number. Here is what I have tried: .1 .1 And Here is the Corresponding output on the page: currency format.money cur