cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <dho...@csir.co.za>
Subject Re: Formatting integers with CForms/flowscript
Date Wed, 14 Dec 2005 14:42:06 GMT
It did  too - thanks!!

>>> fabrizio.sitzia@chem.lu 2005/12/14 04:27 PM >>>
Hello

This should help:

<fd:field id="multikulti_integer">
<fd:datatype base="integer">
<fd:convertor type="plain"/>
</fd:datatype>
</fd:field>


The "plain" convertor does the trick!

I got the same problem after I told my JVM that it should speak French
instead of English by default!

(In my scenario, 2300 would be turned into 2&nbsp;300 - Uuuurrrgghh!)


Ciao,
Fabrizio


> There was a previous thread on this topic:
> http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=113156144903799&w=2 
> refers to using:
> java.lang.Integer (2300)
> to create a integer in flowscript, that will show up in the form as:
> 2300
> Unfortunately this does not work ie. I still get :
> 2,300
>
> Does anyone have a definitive way to display large integers in forms
> that do NOT show commas - I am only working with flowscript and
> CForm models/templates i.e. no binding and no Java.
>
> Thanks
> Derek


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org 
For additional commands, e-mail: users-help@cocoon.apache.org 



-- 
This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
 
CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html 
 
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html 
 
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
HelpDesk@csir.co.za.


This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.


Mime
View raw message