Update of /var/cvs/config
In directory james.mmbase.org:/tmp/cvs-serv13331

Modified Files:
      Tag: MMBase-1_8
        datatypes.xml 
Log Message:
  MMB-1623


See also: http://cvs.mmbase.org/viewcvs/config
See also: http://www.mmbase.org/jira/browse/MMB-1623


Index: datatypes.xml
===================================================================
RCS file: /var/cvs/config/datatypes.xml,v
retrieving revision 1.45.2.10
retrieving revision 1.45.2.11
diff -u -b -r1.45.2.10 -r1.45.2.11
--- datatypes.xml       17 Oct 2007 13:05:05 -0000      1.45.2.10
+++ datatypes.xml       12 Mar 2008 16:03:45 -0000      1.45.2.11
@@ -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.45.2.10 2007/10/17 13:05:05 michiel Exp 
$ -->
+  <!-- @version $Id: datatypes.xml,v 1.45.2.11 2008/03/12 16:03:45 michiel Exp 
$ -->
 
   <!--
   schematic syntax of one datatype entry:
@@ -85,6 +85,20 @@
       </commitprocessor>
     </specialization>
 
+    <specialization id="ip">
+      <description xml:lang="en">
+        A ready-only field, which contains the IP address of the of the last 
user that changed the node to which the field belongs.
+      </description>
+      <unique value="false" />
+      <pattern enforce="never" value="\A[^\n\r]*\z" />
+      <setprocessor>
+        <class name="org.mmbase.datatypes.processors.Readonly" />
+      </setprocessor>
+      <commitprocessor>
+        <class name="org.mmbase.datatypes.processors.Ip" />
+      </commitprocessor>
+    </specialization>
+
     <specialization id="creator">
       <description xml:lang="en">
         A ready-only field, which contains the user id of the user that 
created the node to wich the field belongs.
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to