Sorry if I'm wrong,
but can't you format numbers using CSS3?
----- Original Message -----
From: "Pillay, Kiren KN" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Friday, July 07, 2006 11:17 AM
Subject: RE: Newbie question - JSP text box formatting
Hi Albi,
I actually need to format and <html:text> tag's values, where the values
are pulled out of a database. Is this possible?
Regards
-----Original Message-----
From: Albrecht Leiprecht [mailto:[EMAIL PROTECTED]
Sent: 06 July 2006 06:47 PM
To: 'Struts Users Mailing List'
Subject: RE: Newbie question - JSP text box formatting
You could try something like this
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
<fmt:formatNumber value="${NameoftheActionForm.price}"
minFractionDigits="2"
maxFractionDigits="2" /> EUR
Rgds
albi
-----Original Message-----
From: Pillay, Kiren KN [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 06, 2006 4:33 PM
To: user@struts.apache.org
Subject: Newbie question - JSP text box formatting
Hi
I'm new to struts and I have a question.
I have textboxes that represent currency. I want the data of the JSP to
be formatted to show 2 decimal places after the comma. I don't want to
use locales for the application. Whats the best way to achieve this?
Kiren Pillay
South Africa
________________________________________________________________________
____
______________________________________________________
Standard Bank Disclaimer and Confidentiality Note
This e-mail, its attachments and any rights attaching hereto are, unless
the context clearly indicates otherwise, the property of Standard Bank
Group Limited and/or its subsidiaries ("the Group"). It is confidential,
private and intended for the addressee only. Should you not be the
addressee and receive this e-mail by mistake, kindly notify the sender,
and delete this e-mail, immediately and do not disclose or use same in
any manner whatsoever. Views and opinions expressed in this e-mail are
those of the sender unless clearly stated as those of the Group. The
Group accepts no liability whatsoever for any loss or damages whatsoever
and howsoever incurred, or suffered, resulting, or arising, from the use
of this email or its attachments. The Group does not warrant the
integrity of this e-mail nor that it is free of errors, viruses,
interception or interference. Licensed divisions of the Standard Bank
Group are authorised financial services providers in terms of the
Financial Advisory and Intermediary Services Act, No 37 of
2002 (FAIS).
For information about the Standard Bank Group Limited visit our website
http://www.standardbank.co.za
________________________________________________________________________
____
_______________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
__________________________________________________________________________________________________________________________________
Standard Bank Disclaimer and Confidentiality Note
This e-mail, its attachments and any rights attaching hereto are, unless
the context clearly indicates otherwise, the property of Standard Bank
Group Limited
and/or its subsidiaries ("the Group"). It is confidential, private and
intended for the addressee only. Should you not be the addressee and
receive this e-mail by
mistake, kindly notify the sender, and delete this e-mail, immediately and
do not disclose or use same in any manner whatsoever. Views and opinions
expressed in this e-mail are those of the sender unless clearly stated as
those of the Group. The Group accepts no liability whatsoever for any loss
or
damages whatsoever and howsoever incurred, or suffered, resulting, or
arising, from the use of this email or its attachments. The Group does not
warrant the integrity
of this e-mail nor that it is free of errors, viruses, interception or
interference. Licensed divisions of the Standard Bank Group are authorised
financial services providers
in terms of the Financial Advisory and Intermediary Services Act, No 37 of
2002 (FAIS).
For information about the Standard Bank Group Limited visit our website
http://www.standardbank.co.za
___________________________________________________________________________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 4/07/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 4/07/2006
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]