cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <br...@outerthought.org>
Subject Re: Woody currency convertor
Date Mon, 26 Apr 2004 21:23:46 GMT
On Mon, 2004-04-26 at 17:55, Peter Lerche wrote:
> Hi,
> 
> I am trying to use the Woody binding convertor for decimal numbers using 
> v2/Form.js, without any luck.
> 
> I have found following format in cocoon 2.1.4-dist but it does not work. 
> 
> def file contains :
> 
> 	 <wd:field id="myValue">
>             <wd:datatype base="decimal"/>
>         </wd:field>
> 
> bind file contains:
>  	 <wb:value id="myValue" path="myValue">
> 		 <wd:datatype base="decimal">
> 			<wd:convertor variant="number">
> 				<wd:patterns>
>        				     <wd:pattern>###.00</wd:pattern>
> 				</wd:patterns>
> 			</wd:convertor>
>  		</wd:datatype>
>    	</wb:value>
> 
> Any help would be appreciated.

You didn't tell what the problem is?

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org                          bruno@apache.org


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


Mime
View raw message