Kees Jongenburger wrote:
> >Look nice, for what did you need it?
> For a gaming site we (ExMachina) are currently building (it's based on
> old code from a previous project)
Used in combination with fmt-tags or so?
> Yes. this sould be plug an play since it's just a resource bundle
> so as long a datatypes requests a bunde in the "standard" way it should work.
> the keys have to contain at least 3 dots. is that a problem?
> mmbase.datatypes.buildername.types
Yes it should work then, no I don't the dots are a problem. Would be
nice to test it any way though. Just to be sure...
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>
Should do it.
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