Update of /var/cvs/contributions/didactor2/src/core/config
In directory james.mmbase.org:/tmp/cvs-serv9221/d
Modified Files:
datatypes.xml
Log Message:
create a data type that can be used for fields to point to the relevent
education object, which can make things easier sometimes
See also: http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/core/config
Index: datatypes.xml
===================================================================
RCS file: /var/cvs/contributions/didactor2/src/core/config/datatypes.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- datatypes.xml 28 Mar 2008 13:12:39 -0000 1.7
+++ datatypes.xml 6 Jun 2008 14:40:33 -0000 1.8
@@ -4,7 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.mmbase.org/xmlns/datatypes
http://www.mmbase.org/xmlns/datatypes.xsd">
- <!-- @version $Id: datatypes.xml,v 1.7 2008/03/28 13:12:39 michiel Exp $
+ <!-- @version $Id: datatypes.xml,v 1.8 2008/06/06 14:40:33 michiel Exp $
These are didactor specific datatypes.
@@ -15,6 +15,13 @@
The convention for the id's is didactor_[builder name]_[field name]
-->
+ <datatype base="node" id="didactor_education">
+ <description>
+ A field pointing directory to the associated education object.
+ </description>
+ <class name="nl.didactor.datatypes.Education" />
+ </datatype>
+
<datatype id="didactor_people_lastname" base="line">
<class name="nl.didactor.datatypes.UserName" /> <!-- this makes sure that
some values are 'disallowed' -->
<required value="true" /> <!-- Having a last name is
required -->
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs