I'm trying to format a 10 digit number stored as a String in my bean, with
dashes after the 3rd and 6th digit.
fmt:formatNumber value=${phone.number} pattern= /
The only examples I can find are dates and currency/amounts. Is this
possible with JSTL? Is there documentation that says what
hi Wendy,
if it helps, i found this javascript that can format phone numbers as
it is being typed into the textfield... (the format is customizable...
your pattern would be ###-###-)
it works rather well in my opinion.
= BEGIN JAVASCRIPT FUNCTION =
On 6/16/05, Wendy Smoak [EMAIL PROTECTED] wrote:
I'm trying to format a 10 digit number stored as a String in my bean, with
dashes after the 3rd and 6th digit.
Not sure if there is an elegant solution using fmt:formatNumber,
since it works off of DecimalFormat, which allows prefixes, suffixes