Update of 
/var/cvs/contributions/didactor2/src/core/config/builders/didactor_core
In directory james.mmbase.org:/tmp/cvs-serv10209

Modified Files:
        workgroups.xml 
Log Message:
found out what the values of 'protected' can be


See also: 
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/core/config/builders/didactor_core


Index: workgroups.xml
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/core/config/builders/didactor_core/workgroups.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- workgroups.xml      28 Sep 2007 12:06:08 -0000      1.1
+++ workgroups.xml      3 Apr 2008 09:11:59 -0000       1.2
@@ -21,10 +21,6 @@
     <description xml:lang="en">A workgroup is a subset of a class, with 1 
teacher and several students.</description>
   </descriptions>
 
-  <properties>
-    <property name="max-nodes-from-query">99999</property>
-  </properties>
-
   <fieldlist>
     <field name="name">
       <descriptions>
@@ -42,10 +38,8 @@
         </positions>
       </editor>
       <datatype base="line"  xmlns="http://www.mmbase.org/xmlns/datatypes"; >
+        <maxLength value="255" />
       </datatype>
-      <db>
-        <type state="persistent" size="255" notnull="true" 
key="false">STRING</type>
-      </db>
     </field>
 
     <field name="protected">
@@ -57,13 +51,17 @@
         <guiname xml:lang="nl">Beschermd</guiname>
         <guiname xml:lang="en">Protected</guiname>
       </gui>
-      <editor>
-        <positions>
-          <list>2</list>
-        </positions>
-      </editor>
-      <!-- boolean? -->
-      <datatype base="integer"  xmlns="http://www.mmbase.org/xmlns/datatypes";  
/>
+      <editor><positions><list>2</list></positions></editor>
+      <datatype base="integer"  xmlns="http://www.mmbase.org/xmlns/datatypes"; >
+        <default value="1" />
+        <requred value="true" />
+        <enumeration>
+          <entry value="1" xml:lang="nl" display="Werkgroep (alleen door 
docenten aan te passen)" />
+          <entry value="1" xml:lang="en" display="Work group (modifiable only 
by teachers)" />
+          <entry value="0" xml:lang="nl" display="Projectgroep (ook door 
studenten aan te passen)" />
+          <entry value="0" xml:lang="en" display="Project group (modifiable 
only by students" />
+        </enumeration>
+      </datatype>
     </field>
  
   </fieldlist>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to