Kees Jongenburger wrote: > > Defining a field like this: > > > > <field> > > <datatype xmlns="http://www.mmbase.org/xmlns/datatypes"> > > <enumeration > > > <entry resource="rbe.editor.top.header" /> > > </enumeration> > > </datatype> > > <db> > > <name>headers</name> > > <type size="255" state="persistent">STRING</type> > > </db> > > </field> > Is there a example somewhere?
This was the example! But I more or less copy-pasted this from tests/config/builders/tests/datatypes.xml, a builder for test-purposes, where I try to collect as many different features of 'datatypes' as I can come up with. The 'datatype' XML-tag is of course also used in 'config/datatypes.xml', so you can also define a generic datatype to use it. Using it in the field tag of the builder xml is a kind of anonymous extension, for if something is very specific for one field only. Michiel -- Michiel Meeuwissen mihxil' Peperbus 111 MediaPark H'sum [] () +31 (0)35 6772979 nl_NL eo_XX en_US _______________________________________________ Developers mailing list [email protected] http://lists.mmbase.org/mailman/listinfo/developers
