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

Modified Files:
        openquestions.xml 
Log Message:
cleaned up


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


Index: openquestions.xml
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/education/config/builders/didactor_education/openquestions.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- openquestions.xml   24 Jan 2008 09:24:30 -0000      1.1
+++ openquestions.xml   11 Feb 2008 13:21:36 -0000      1.2
@@ -1,67 +1,40 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE builder PUBLIC "-//MMBase/DTD builder config 1.1//EN" 
"http://www.mmbase.org/dtd/builder_1_1.dtd";>
-<builder name="openquestions" maintainer="didactor.nl" version="2" 
extends="questions">
-  <status>active</status>
-  <classfile>nl.didactor.education.builders.OpenQuestionBuilder</classfile>
+<?xml version="1.0" ?>
+<builder
+    xmlns="http://www.mmbase.org/xmlns/builder";
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+    xsi:schemaLocation="http://www.mmbase.org/xmlns/builder 
http://www.mmbase.org/xmlns/builder.xsd";
+     name="openquestions" maintainer="didactor.nl" version="2" 
extends="questions">
+  <class>nl.didactor.education.builders.OpenQuestionBuilder</class>
   <searchage>31</searchage>
 
   <names>
-    <!-- singles per language as defined by ISO 639 -->
     <singular xml:lang="nl">Open Vraag</singular>
     <singular xml:lang="en">Open Question</singular>
-    <!-- multiple per language as defined by ISO 639 -->
     <plural xml:lang="nl">Open Vragen</plural>
     <plural xml:lang="en">Open Questions</plural>
   </names>
 
   <descriptions>
-    <!-- descriptions per language as defined by ISO 639  -->
     <description xml:lang="nl">Een open vraag, waar de gebruiker zelf een 
antwoord moet formuleren</description>
     <description xml:lang="en">An open question, where the user can write his 
own answer</description>
   </descriptions>
 
-  <properties>
-    <property name="max-nodes-from-query">99999</property>
-  </properties>
-  <!-- Possible values for the 'layout' field defined in the super-builder:
-     0 = Large field
-     1 = Small field
-  -->
   <fieldlist >
-   <field>
+   <field name="type_of_score">
       <descriptions>
-        <!-- descriptions per language as defined by ISO 639  -->
-        <description xml:lang="nl">
-          Layout van de vraag. Zie TO voor mogelijke waarden.
-        </description>
-        <description xml:lang="en">
-          Layout of the question in the template. See TO for possible values.
-        </description>
+        <description xml:lang="nl">Layout van de vraag. Zie TO voor mogelijke 
waarden.</description>
+        <description xml:lang="en">Layout of the question in the template. See 
TO for possible values.</description>
       </descriptions>
-      <!-- gui related -->
       <gui>
         <guiname xml:lang="nl">Score</guiname>
         <guiname xml:lang="en">Score</guiname>
-        <guitype>integer</guitype>
       </gui>
-      <!-- editor related  -->
       <editor>
         <positions>
-          <!-- position in the input area of the editor -->
-          <input>4</input>
-          <!-- position in list area of the editor -->
           <list>4</list>
-          <!-- position in search area of the editor -->
-          <search>4</search>
         </positions>
       </editor>
-      <!-- database related  -->
-      <db>
-        <!-- name of the field in the database -->
-        <name>type_of_score</name>
-        <!-- MMBase datatype and demands on it -->
-        <type state="persistent" notnull="true">INTEGER</type>
-      </db>
+      <datatype base="didactor_openquestions_type_of_score" 
xmlns="http://www.mmbase.org/xmlns/datatypes"; />
     </field>
  
     </fieldlist>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to