RE: Moving from bean:write to fmt:formatNumber

2004-05-04 Thread Kris Schneider
MAIL PROTECTED] > Sent: Tuesday, May 04, 2004 3:34 PM > To: Struts Users Mailing List > Subject: Re: Moving from bean:write to fmt:formatNumber > > There are (at least) a couple options. One would be to create a property > like: > > numberFormat={0,number,#.##} > >

RE: Moving from bean:write to fmt:formatNumber

2004-05-04 Thread Earl Woodman
Schneider [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 04, 2004 3:34 PM To: Struts Users Mailing List Subject: Re: Moving from bean:write to fmt:formatNumber There are (at least) a couple options. One would be to create a property like: numberFormat={0,number,#.##} And then use : Another would

Re: Moving from bean:write to fmt:formatNumber

2004-05-04 Thread Kris Schneider
There are (at least) a couple options. One would be to create a property like: numberFormat={0,number,#.##} And then use : Another would be to leverage the fact that the pattern attribute of accepts an EL expression. So, you'd load the pattern and then do: There are all kinds of ways y