Update of 
/var/cvs/contributions/didactor2/src/education/config/builders/education
In directory james.mmbase.org:/tmp/cvs-serv18593

Modified Files:
        learnblocks.xml learnobjects.xml tests.xml 
Log Message:
added some default values


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


Index: learnblocks.xml
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/education/config/builders/education/learnblocks.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- learnblocks.xml     17 Jan 2008 17:09:01 -0000      1.2
+++ learnblocks.xml     17 Jan 2008 17:13:25 -0000      1.3
@@ -56,6 +56,7 @@
         </positions>
       </editor>
       <datatype base="integer" xmlns="http://www.mmbase.org/xmlns/datatypes"; >
+        <default value="0" />
         <enumeration>
           <entry value="0" xml:lang="nl" display="Tekst erboven" />
           <entry value="0" xml:lang="en" display="Text up" />
@@ -78,6 +79,7 @@
         <guiname xml:lang="en">Images layout</guiname>
       </gui>
       <datatype base="integer" xmlns="http://www.mmbase.org/xmlns/datatypes"; >
+        <default value="0" />
         <enumeration>
           <entry value="0" xml:lang="nl" display="Horizontaal" />
           <entry value="0" xml:lang="en" display="Horizontal" />


Index: learnobjects.xml
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/education/config/builders/education/learnobjects.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- learnobjects.xml    28 Sep 2007 12:21:14 -0000      1.1
+++ learnobjects.xml    17 Jan 2008 17:13:25 -0000      1.2
@@ -66,7 +66,7 @@
           <search>20</search>
         </positions>
       </editor>
-      <datatype base="boolean" xmlns="http://www.mmbase.org/xmlns/datatypes"; >
+      <datatype base="yesno" xmlns="http://www.mmbase.org/xmlns/datatypes"; >
         <default value="true" />
         <required value="true" />
       </datatype>


Index: tests.xml
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/education/config/builders/education/tests.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- tests.xml   28 Sep 2007 12:21:14 -0000      1.1
+++ tests.xml   17 Jan 2008 17:13:25 -0000      1.2
@@ -74,8 +74,9 @@
           <list>4</list>
         </positions>
       </editor>
-      <datatype base="boolean" xmlns="http://www.mmbase.org/xmlns/datatypes";>
+      <datatype base="yesno" xmlns="http://www.mmbase.org/xmlns/datatypes";>
         <required value="true" />
+        <default value="false" />
       </datatype>
 
     </field>
@@ -94,9 +95,9 @@
           <list>5</list>
         </positions>
       </editor>
-      <datatype base="boolean" xmlns="http://www.mmbase.org/xmlns/datatypes";>
+      <datatype base="yesno" xmlns="http://www.mmbase.org/xmlns/datatypes";>
         <required value="true" />
-        <!-- enumeration, or even boolean? -->
+>        <default value="false" />
       </datatype>
     </field>
     <field name="questionsperpage">
@@ -193,7 +194,7 @@
          <guiname xml:lang="en">Always online</guiname>
        </gui>
 
-       <datatype base="boolean" xmlns="http://www.mmbase.org/xmlns/datatypes";>
+       <datatype base="yesno" xmlns="http://www.mmbase.org/xmlns/datatypes";>
          <default value="false" />
        </datatype>
     </field>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to