You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Rajat Pandit <ra...@centergroupinc.com> on 2003/11/05 18:54:24 UTC
presentation logic
hello
can someone please explain me the format attribute of the <bean:write
tag..and can i use it to round off numbers in the presentation layer to
the number of significant digits i want?
thanks in advance.
rajat
--
Rajat Pandit | rajatp@centergroupinc.com
+91 612 3117606
[ Developer and Part Time Human Being]
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: presentation logic
Posted by Manish Singla <Ma...@Sun.COM>.
Format atttribute act as "Pattern" (Ref NumberFormat, DecimalFormat
class) to change format.
FYI: Use FormatKey to get Format pattern from resources bundle
You may round off numbers in p layer using bean:write
Rajat Pandit wrote:
> hello
> can someone please explain me the format attribute of the <bean:write
> tag..and can i use it to round off numbers in the presentation layer to
> the number of significant digits i want?
> thanks in advance.
> rajat
--
Thanks
Manish Singla
x73166
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org