Update of 
/var/cvs/contributions/didactor2/src/portalpages/templates/editwizards/data/config/portalpages
In directory james.mmbase.org:/tmp/cvs-serv17065

Modified Files:
        navigationnodes.xml portalpagesnodes.xml 
        rootportalpagesnodes.xml 
Log Message:
cleaned up a bit


See also: 
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/portalpages/templates/editwizards/data/config/portalpages


Index: navigationnodes.xml
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/portalpages/templates/editwizards/data/config/portalpages/navigationnodes.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- navigationnodes.xml 21 Nov 2005 08:25:12 -0000      1.1
+++ navigationnodes.xml 17 Jan 2008 15:58:09 -0000      1.2
@@ -14,24 +14,12 @@
     
     <action type="delete" />
     
-    <steps>
-        <step form-schema="step1" />
-    </steps>
-
     <form-schema id="step1">
         <title>Name</title>
-        <field name="name" >
-            <prompt>Node Name</prompt>
-        </field>
-        <field name="active" >
-            <prompt>Active</prompt>
-        </field>
-        <field name="body" ftype="html">
-            <prompt>Body</prompt>
-        </field>
-        <field name="order_number" >
-            <prompt>Order Number</prompt>
-        </field>
+    <field name="name"  />
+    <field name="active"  />
+    <field name="body" ftype="html" />
+    <field name="order_number" />
         <list role="related" destination="simplecontents" minoccurs="0" 
maxoccurs="*">
                                                                        
<title>Simple Content Page</title>
                                                                        <!-- 
Show the 'item' in a list (the object) -->
@@ -64,6 +52,5 @@
                                                                </list>
         
        
-
     </form-schema>
 </wizard-schema>


Index: portalpagesnodes.xml
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/portalpages/templates/editwizards/data/config/portalpages/portalpagesnodes.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- portalpagesnodes.xml        17 Jan 2008 14:40:44 -0000      1.8
+++ portalpagesnodes.xml        17 Jan 2008 15:58:09 -0000      1.9
@@ -12,41 +12,18 @@
 
     <action type="delete" />
 
-    <lists>
-        <optionlist include="config/option_list/active.xml" />
-        <optionlist include="config/option_list/images_position.xml" />
-        <optionlist include="config/option_list/boolean.xml" />
-        <optionlist include="config/option_list/layout.xml" />
-        <optionlist include="config/option_list/imagelayout.xml" />
-    </lists>
-
-
     <form-schema id="step1">
         <title xml:lang="nl">Naam</title>
         <title xml:lang="en">Name</title>
 
-        <field name="name" >
-            <prompt>Naam</prompt>
-        </field>
-        <field name="active" ftype="enum" >
-            <prompt xml:lang="en">Map zichtbaar maken</prompt>
-            <prompt xml:lang="nl">Map zichtbaar maken</prompt>
-               <optionlist select="active" />
-        </field>
-        <field name="body" ftype="html">
-            <prompt>Tekst</prompt>
-        </field>
-        <field name="order_number" >
-            <prompt>Positie</prompt>
-        </field>
+    <field name="name"  />
+    <field name="active" ftype="enum"  />
+    <field name="body"   ftype="html" />
+    <field name="order_number" />
         <list role="related" destination="simplecontents" minoccurs="0" 
maxoccurs="*">
                                                                        
<title>Content</title>
-                                                                       <!-- 
Show the 'item' in a list (the object) -->
                                                                        <item>
-                                                                               
<field name="title">
-                                                                               
        <prompt>Content Titel</prompt>
-                                                                               
        <description></description>
-                                                                               
</field>
+        <field name="title" />
                                                                                
<field wizardname="config/portalpages/simplecontents" ftype="startwizard" />
                                                                        </item>
                                                                        
<command name="startwizard" inline="true" 
wizardname="config/portalpages/simplecontents" objectnumber="new" />
@@ -66,14 +43,11 @@
                                                                                
<relation destinationtype="simplecontents" role="related" />
                                                                        
</action>
                                </list>
+
         <list role="childppnn" destination="portalpagesnodes" minoccurs="0" 
maxoccurs="*">
                                                                        
<title>Bijbehorende map</title>
-                                                                       <!-- 
Show the 'item' in a list (the object) -->
                                                                        <item>
-                                                                               
<field name="name">
-                                                                               
        <prompt>Naam</prompt>
-                                                                               
        <description></description>
-                                                                               
</field>
+        <field name="name" />
                                                                                
<field wizardname="config/portalpages/leafportalpagesnodes" ftype="startwizard" 
/>
                                                                        </item>
                                                                        
<command name="startwizard" inline="true" 
wizardname="config/portalpages/leafportalpagesnodes-origin" objectnumber="new" 
/>
@@ -84,10 +58,10 @@
                                                                        
</action>
                                </list>
     </form-schema>
+
     <form-schema id="step2">
         <title xml:lang="nl">Alineas invoeren</title>
         <title xml:lang="en">Enter paragraphs</title>
-
         <field name="name" ftype="data"/>
         <list extends="config/paragraphs/add_paragraphs_posrel.xml"/>
     </form-schema>


Index: rootportalpagesnodes.xml
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/portalpages/templates/editwizards/data/config/portalpages/rootportalpagesnodes.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- rootportalpagesnodes.xml    9 May 2006 15:37:04 -0000       1.6
+++ rootportalpagesnodes.xml    17 Jan 2008 15:58:09 -0000      1.7
@@ -13,47 +13,23 @@
         <object type="portalpagesnodes"/>
         <relation destinationtype="simplecontents" role="related"/> 
         <relation destinationtype="portalpagesnodes" role="childppnn"/>   
+    <relation destinationtype="paragraphs"       role="posrel"/>
     </action>
     
     <action type="delete" />
     
-    <lists>
-        <optionlist include="config/option_list/active.xml" />
-        <optionlist include="config/option_list/images_position.xml" />
-        <optionlist include="config/option_list/boolean.xml" />
-        <optionlist include="config/option_list/layout.xml" />
-        <optionlist include="config/option_list/imagelayout.xml" />
-    </lists>
-    
-    <steps>
-        <step form-schema="step1" />
-        <step form-schema="step2" />
-    </steps>
 
     <form-schema id="step1">
         <title>Naam</title>
-        <field name="name" >
-            <prompt>Naam</prompt>
-        </field>
-        <field name="active" ftype="enum" >
-            <prompt xml:lang="en">Map zichtbaar maken</prompt>
-            <prompt xml:lang="nl">Map zichtbaar maken</prompt>
-               <optionlist select="active" />
-        </field>
-        <field name="body" ftype="html">
-            <prompt>Tekst</prompt>
-        </field>
-        <field name="order_number" >
-            <prompt>Positie</prompt>
-        </field>
+    <field name="name"  />
+    <field name="active" ftype="enum"  />
+    <field name="body" ftype="html" />
+    <field name="order_number"  />
+
         <list role="related" destination="simplecontents" minoccurs="0" 
maxoccurs="*">
                                                                        
<title>Content</title>
-                                                                       <!-- 
Show the 'item' in a list (the object) -->
                                                                        <item>
-                                                                               
<field name="title">
-                                                                               
        <prompt>Content titel</prompt>
-                                                                               
        <description></description>
-                                                                               
</field>
+        <field name="title" />
                                                                                
<field wizardname="config/portalpages/simplecontents" ftype="startwizard" />
                                                                        </item> 
                                                                        
<command name="startwizard" inline="true" 
wizardname="config/portalpages/simplecontents" objectnumber="new" />
@@ -73,14 +49,12 @@
                                                                                
<relation destinationtype="simplecontents" role="related" />
                                                                        
</action>                                                                       
                                                                
                                </list> 
+
         <list role="childppnn" destination="portalpagesnodes" minoccurs="0" 
maxoccurs="*">
                                                                        
<title>Bijbehorende map</title>
                                                                        
                                                                        <item>
-                                                                               
<field name="name">
-                                                                               
        <prompt>Name</prompt>
-                                                                               
        <description>Here you can see the name of the related portal pages 
node</description>
-                                                                               
</field>
+        <field name="name" />
                                                                                
<field wizardname="config/portalpages/portalpagesnodes" ftype="startwizard" />
                                                                        </item>
                                                                        
<command name="startwizard" inline="true" 
wizardname="config/portalpages/leafportalpagesnodes-origin" objectnumber="new" 
/>
@@ -95,7 +69,6 @@
     <form-schema id="step2">
         <title xml:lang="nl">Alineas invoeren</title>
         <title xml:lang="en">Enter paragraphs</title>
-        
         <field name="name" ftype="data"/>
         <list extends="config/paragraphs/add_paragraphs_posrel.xml"/>
     </form-schema>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to