>
> I'm sorry, but Field.getFormat() method is not so clear as it
> could be:
>
> case FieldTypes.NUMERIC:
> case FieldTypes.DOUBLE:
> case FieldTypes.FLOAT:
> res = java.text.NumberFormat.getNumberInstance(locale);
>
> if (!Util.isNull(pattern)) {
> ((java.text.DecimalFormat) res).applyPattern(pattern);
> }
>
> break;
>
Some lines earlier:
if (Util.isNull(pattern)) {
pattern = MessageResourcesInternal.getMessage("dbforms.pattern."
+ getFieldType(),
locale);
}
> So here is no value reading from the message resources file.
> Could you please give the example, what line should be added
> into that file?
> dbforms.pattern.number=###### or similar?
Yes, that's the usage.... Maybe someone could write it into the manual? Or
into a new section in the wiki? Frequently asked questions?
Cheers,
Henner
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
DbForms Mailing List
http://www.wap-force.net/dbforms