cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <>
Subject Re: Formatting without commas in CForm decimal widget storage
Date Mon, 06 Sep 2004 13:50:35 GMT
On Mon, 2004-09-06 at 08:15, Derek Hohls wrote:
> With reference to this issue:
> Can anyone suggest how to override the "hard coding"
> of the decimal formatting so as to remove the comma
> when a decimal number is stored in an XML file as a
> result of binding (given that it is not displayed or entered
> that way on the form itself)?

You asked this question before, so you might want to check the archives.

Basically, define a convertor in the binding definition. Just to be
sure: IN THE BINDING DEFINITION. Because that's the point you were
missing last time.

To avoid any formatting, you can use the "plain" convertor. And pay
attention that the convertor must be in the fd namespace, not fb.


Bruno Dumon                   
Outerthought - Open Source, Java & XML Competence Support Center                

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message