cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@outerthought.org
Subject [WIKI-UPDATE] WoodyBinding Mon Jul 28 10:00:03 2003
Date Mon, 28 Jul 2003 08:00:04 GMT
Page: http://wiki.cocoondev.org/Wiki.jsp?page=WoodyBinding , version: 4 on Mon Jul 28 07:30:55
2003 by MarcPortier

- The wd:convertor element has the same purpose as the wd:convertor element in the form definition:
it converts between objects (numbers, dates) and strings. This is mostly used when binding
to XML documents. Suppose you have defined a certain field widget in a form definition to
have a "date" datatype, and you want to bind to an XML document which contains the date in
the XML Schema date representation, then you coul define a convertor as follows:
+ The wd:convertor element has the same purpose as the wd:convertor element in the form definition:
it converts between objects (numbers, dates) and strings. This is mostly used when binding
to XML documents. Suppose you have defined a certain field widget in a form definition to
have a "date" datatype, and you want to bind to an XML document which contains the date in
the XML Schema date representation, then you could define a convertor as follows:
?                                                                                        
                                                                                         
                                                                                         
                                                                                         
                                                             +

- The the value of the attribute specified in the name attribute to the fixed string value
specified in the value attribute.
?  ----

+ The value of the attribute specified in the name attribute to the fixed string value specified
in the value attribute.



Mime
View raw message