Author: michiel
Date: 2010-08-12 20:46:05 +0200 (Thu, 12 Aug 2010)
New Revision: 43091

Added:
   mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/answers/
   
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/answers/add_answers_posrel.xml
   
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/articles/add_articles_intro.xml
   
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/articles/add_articles_posrel_form.xml
   
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/articles/add_articles_readmore.xml
   mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/category/
   
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/category/add_category_posrel.xml
   mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/category/category.xml
   
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/category/create_category.xml
   
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/category/delete_category.xml
   
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/category/load_category.xml
   
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/groups/add_groups_related.xml
   
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/images/add_images_pos2rel.xml
   
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/images/add_images_posrel_maxone.xml
   mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/licenceinfos/
   
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/licenceinfos/add_licenceinfos.xml
   
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/licenceinfos/licenceinfos.xml
   mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/pages/pages_form.xml
   mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/pools/add_pools.xml
   mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/project/
   
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/project/add_project_posrel.xml
   mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/questions/
   
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/questions/add_questions_posrel.xml
   
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/questions/create_questions.xml
   
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/questions/delete_questions.xml
   
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/questions/edit_questions.xml
   
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/questions/load_questions.xml
   mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/questions/questions.xml
   mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/types/boolean_text.xml
   mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/types/column.xml
   mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/types/layout_answers.xml
   
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/types/layout_questions.xml
   mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/types/question_types.xml
Log:
added some stuff that were never checked in. I don't know excactly what it all 
is

Added: 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/answers/add_answers_posrel.xml
===================================================================
--- 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/answers/add_answers_posrel.xml
                         (rev 0)
+++ 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/answers/add_answers_posrel.xml
 2010-08-12 18:46:05 UTC (rev 43091)
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+<!DOCTYPE list PUBLIC "-//MMBase/DTD editwizard 1.0//EN" 
"http://www.mmbase.org/dtd/wizard-schema_1_0.dtd";>
+<list role="posrel" destination="answers"
+               minoccurs="0" maxoccurs="*"
+               orderby="fie...@name='pos']"
+               ordertype="number">
+       <title xml:lang="nl">Antwoorden</title>
+       <title xml:lang="en">Answers</title>
+       <item>
+               <title></title>
+               <field fdatapath="fie...@name=&apos;pos&apos;]" ftype="line">
+                       <prompt xml:lang="nl">Positie</prompt>
+                       <prompt xml:lang="en">Position</prompt>
+               </field>
+               <field name="answer" ftype="line">
+                       <prompt xml:lang="nl">Antwoord</prompt>
+                       <prompt xml:lang="en">Answer</prompt>
+               </field>
+               <field name="layout" ftype="enum">
+                       <prompt xml:lang="nl">Layout van het antwoord</prompt>
+                       <prompt xml:lang="en">Layout of the answer</prompt>
+                       <optionlist select="layout_answers"></optionlist>
+               </field>
+               
+       </item>
+       <command name="search" nodepath="answers" fields="answer" 
orderby="number" directions="down" age="-1">
+               <prompt></prompt>
+               <search-filter>
+                       <name xml:lang="nl">Antwoord bevat</name>
+                       <name xml:lang="en">Answer contains</name>
+                       <search-fields>Answer</search-fields>
+               </search-filter>
+       </command>
+       <command name="insert" />
+       <action type="create">
+               <relation role="posrel">
+                       <object type="answers">
+                               <field name="layout">1</field>
+                       </object>
+                       <field 
name="pos">{sum(//relati...@role=&apos;posrel&apos; and 
@lastitem=&apos;true&apos;]/fie...@name=&apos;pos&apos;])+{$pos}}</field>
+               </relation>
+       </action>
+</list>                

Added: 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/articles/add_articles_intro.xml
===================================================================
--- 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/articles/add_articles_intro.xml
                                (rev 0)
+++ 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/articles/add_articles_intro.xml
        2010-08-12 18:46:05 UTC (rev 43091)
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+<!DOCTYPE list PUBLIC "-//MMBase/DTD editwizard 1.0//EN" 
"http://www.mmbase.org/dtd/wizard-schema_1_0.dtd";>
+<list role="intro" destination="articles"
+       minoccurs="0" maxoccurs="1">
+
+       <title xml:lang="nl">Introductie</title>
+       <title xml:lang="en">Introduction</title>
+       <item>
+               <title></title>
+               <description>artikelen</description>
+               <field name="title" ftype="data">
+                       <prompt xml:lang="nl">Titel</prompt>
+                       <prompt xml:lang="en">Title</prompt>
+               </field>
+               <field fdatapath="." ftype="startwizard" inline="true" 
objectnumber="{object/@number}" wizardname="wizards/articles/articles">
+                       <prompt></prompt>
+               </field>
+<!--           <field name="displaydate">
+                       <prompt xml:lang="nl">Verschijningsdatum</prompt>
+                       <prompt xml:lang="en">Display date</prompt>
+               </field>
+               <field name="expiredate">
+                       <prompt xml:lang="nl">Verwijderdatum</prompt>
+                       <prompt xml:lang="en">Remove date</prompt>
+               </field>
+-->    </item>
+               
+       <action type="create">
+               <relation role="intro">
+                       <object type="articles">
+                               <field name="expiredate">1735686000</field>
+                               <field name="type">0</field>
+                       </object>
+               </relation>
+       </action>
+       
+       <command name="search" nodepath="articles" fields="title" 
orderby="title" age="-1">
+       <prompt></prompt>
+               <search-filter>
+                       <name xml:lang="nl">Titel bevat</name>
+                       <name xml:lang="en">Title contains</name>
+                       <search-fields>title</search-fields>
+               </search-filter>
+       </command>
+       <command name="startwizard" inline="true" 
wizardname="wizards/articles/articles" objectnumber="new"/>
+      
+</list>        
+

Added: 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/articles/add_articles_posrel_form.xml
===================================================================
--- 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/articles/add_articles_posrel_form.xml
                          (rev 0)
+++ 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/articles/add_articles_posrel_form.xml
  2010-08-12 18:46:05 UTC (rev 43091)
@@ -0,0 +1,50 @@
+<?xml version="1.0"?>
+<!DOCTYPE list PUBLIC "-//MMBase/DTD editwizard 1.0//EN" 
"http://www.mmbase.org/dtd/wizard-schema_1_0.dtd";>
+<list role="posrel" destination="articles"
+       minoccurs="0" maxoccurs="1">
+
+       <title xml:lang="nl">Bedankt bericht (Alleen titel en intro worden 
gebruikt)</title>
+       <title xml:lang="en">Thank you message (Only title and intro are 
used)</title>
+       <item>
+               <title></title>
+               <description></description>
+               <field name="title" ftype="data">
+                       <prompt xml:lang="nl">Titel</prompt>
+                       <prompt xml:lang="en">Title</prompt>
+               </field>
+               <field fdatapath="." ftype="startwizard" inline="true" 
objectnumber="{object/@number}" wizardname="wizards/articles/articles">
+                       <prompt></prompt>
+               </field>
+               
+<!--           <field name="displaydate">
+                       <prompt xml:lang="nl">Verschijningsdatum</prompt>
+                       <prompt xml:lang="en">Display date</prompt>
+               </field>
+               <field name="expiredate">
+                       <prompt xml:lang="nl">Verwijderdatum</prompt>
+                       <prompt xml:lang="en">Remove date</prompt>
+               </field>
+-->    </item>
+               
+       <action type="create">
+               <relation role="posrel">
+                       <object type="articles">
+                               <field name="expiredate">1735686000</field>
+                               <field name="type">0</field>
+                       </object>
+                       <field name="pos">-1</field>
+               </relation>
+       </action>
+       
+       <command name="search" nodepath="articles" fields="title" 
orderby="title" age="-1">
+       <prompt></prompt>
+               <search-filter>
+                       <name xml:lang="nl">Titel bevat</name>
+                       <name xml:lang="en">Title contains</name>
+                       <search-fields>title</search-fields>
+               </search-filter>
+       </command>
+       <command name="startwizard" inline="true" 
wizardname="wizards/articles/articles" objectnumber="new"/>
+      
+</list>        
+

Added: 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/articles/add_articles_readmore.xml
===================================================================
--- 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/articles/add_articles_readmore.xml
                             (rev 0)
+++ 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/articles/add_articles_readmore.xml
     2010-08-12 18:46:05 UTC (rev 43091)
@@ -0,0 +1,50 @@
+<?xml version="1.0"?>
+<!DOCTYPE list PUBLIC "-//MMBase/DTD editwizard 1.0//EN" 
"http://www.mmbase.org/dtd/wizard-schema_1_0.dtd";>
+<list role="readmore" destination="articles"
+       minoccurs="0" maxoccurs="1"
+       orderby="title"
+       ordertype="string" hidecommand="move-up|move-down">
+
+       <title xml:lang="nl">Introductie</title>
+       <title xml:lang="en">Introduction</title>
+       <item>
+               <title></title>
+               <description>artikelen</description>
+               <field name="title" ftype="data">
+                       <prompt xml:lang="nl">Titel</prompt>
+                       <prompt xml:lang="en">Title</prompt>
+               </field>
+               <field fdatapath="." ftype="startwizard" inline="true" 
objectnumber="{object/@number}" wizardname="wizards/articles/articles">
+                       <prompt></prompt>
+               </field>
+<!--           <field name="displaydate">
+                       <prompt xml:lang="nl">Verschijningsdatum</prompt>
+                       <prompt xml:lang="en">Display date</prompt>
+               </field>
+               <field name="expiredate">
+                       <prompt xml:lang="nl">Verwijderdatum</prompt>
+                       <prompt xml:lang="en">Remove date</prompt>
+               </field>
+-->    </item>
+               
+       <action type="create">
+               <relation role="readmore">
+                       <object type="articles">
+                               <field name="expiredate">1735686000</field>
+                               <field name="type">0</field>
+                       </object>
+               </relation>
+       </action>
+       
+       <command name="search" nodepath="articles" fields="title" 
orderby="title" age="-1">
+       <prompt></prompt>
+               <search-filter>
+                       <name xml:lang="nl">Titel bevat</name>
+                       <name xml:lang="en">Title contains</name>
+                       <search-fields>title</search-fields>
+               </search-filter>
+       </command>
+       <command name="startwizard" inline="true" 
wizardname="wizards/articles/articles" objectnumber="new"/>
+      
+</list>        
+

Added: 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/category/add_category_posrel.xml
===================================================================
--- 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/category/add_category_posrel.xml
                               (rev 0)
+++ 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/category/add_category_posrel.xml
       2010-08-12 18:46:05 UTC (rev 43091)
@@ -0,0 +1,41 @@
+<?xml version="1.0"?>
+<!DOCTYPE list PUBLIC "-//MMBase/DTD editwizard 1.0//EN" 
"http://www.mmbase.org/dtd/wizard-schema_1_0.dtd";>
+<list role="posrel" destination="category"
+               minoccurs="0" maxoccurs="*"
+               orderby="fie...@name='pos']"
+               ordertype="number">
+
+       <title>Categorien</title>
+       <item>
+               <title>Related category</title>
+               <description></description>
+               <field fdatapath="fie...@name=&apos;pos&apos;]" 
ftype="line"><prompt>Positie</prompt></field>
+               <field name="title" ftype="data">
+                       <prompt>Titel</prompt>
+               </field>
+               <field ftype="startwizard" 
wizardname="wizards/category/category" inline="true" >
+                       <prompt>Bekijk categorie</prompt>
+               </field>
+        </item>
+               
+       <action type="create">
+               <relation role="posrel">
+                       <object type="category" />
+               </relation>
+       </action>
+       
+       
+       <command name="search" nodepath="category" fields="title,description" 
orderby="title" age="-1">
+       <prompt></prompt>
+               <search-filter>
+                       <name>Titel bevat</name>
+                       <search-fields>title</search-fields>
+               </search-filter>
+               <search-filter>
+                       <name>Omschrijving bevat</name>
+                       <search-fields>description</search-fields>
+               </search-filter>
+       </command>
+      
+</list>        
+

Added: 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/category/category.xml
===================================================================
--- mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/category/category.xml  
                        (rev 0)
+++ mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/category/category.xml  
2010-08-12 18:46:05 UTC (rev 43091)
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<!DOCTYPE wizard-schema PUBLIC "-//MMBase/DTD editwizard 1.0//EN" 
"http://www.mmbase.org/dtd/wizard-schema_1_0.dtd";>
+<wizard-schema id="category">
+       <title>Categorieen</title>
+       <task-description>Use this wizard to edit a category.</task-description>
+       
+       <action include="wizards/category/create_category.xml" />
+       
+    <action include="wizards/category/delete_category.xml" />
+
+       <action include="wizards/category/load_category.xml" />
+
+       <steps>
+               <step form-schema="edit_category" />
+       </steps>
+
+       <form-schema id="edit_category">
+               <field name="title">
+                       <prompt>Titel</prompt>
+                       <description></description>
+               </field>
+               <field name="description">
+                     <prompt>Description</prompt>
+                     <description></description>
+               </field>
+</form-schema>
+
+</wizard-schema>

Added: 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/category/create_category.xml
===================================================================
--- 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/category/create_category.xml
                           (rev 0)
+++ 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/category/create_category.xml
   2010-08-12 18:46:05 UTC (rev 43091)
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<!DOCTYPE action PUBLIC "-//MMBase/DTD editwizard 1.0//EN" 
"http://www.mmbase.org/dtd/wizard-schema_1_0.dtd";>
+<action type="create">
+       <object type="category">
+       </object>
+</action>

Added: 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/category/delete_category.xml
===================================================================
--- 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/category/delete_category.xml
                           (rev 0)
+++ 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/category/delete_category.xml
   2010-08-12 18:46:05 UTC (rev 43091)
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<!DOCTYPE action PUBLIC "-//MMBase/DTD editwizard 1.0//EN" 
"http://www.mmbase.org/dtd/wizard-schema_1_0.dtd";>
+<action type="delete">
+       <prompt>Weet u zeker dat u deze categorie wilt verwijderen ?</prompt>
+       <description>Klik hier om deze categorie te verwijderen.</description>
+</action>

Added: 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/category/load_category.xml
===================================================================
--- 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/category/load_category.xml 
                            (rev 0)
+++ 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/category/load_category.xml 
    2010-08-12 18:46:05 UTC (rev 43091)
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<!DOCTYPE action PUBLIC "-//MMBase/DTD editwizard 1.0//EN" 
"http://www.mmbase.org/dtd/wizard-schema_1_0.dtd";>
+<action type="load">
+       <field name="title" />
+       <field name="description" />
+</action>
+

Added: 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/groups/add_groups_related.xml
===================================================================
--- 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/groups/add_groups_related.xml
                          (rev 0)
+++ 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/groups/add_groups_related.xml
  2010-08-12 18:46:05 UTC (rev 43091)
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<!DOCTYPE list PUBLIC "-//MMBase/DTD editwizard 1.0//EN" 
"http://www.mmbase.org/dtd/wizard-schema_1_0.dtd";>
+<list role="related" destination="groups"
+               minoccurs="0" maxoccurs="*">
+       <title>Groups</title>
+       <item>
+               <title></title>
+               <field name="name" ftype="data"><prompt>Name</prompt></field>
+       </item>
+       <command name="search" nodepath="groups" fields="name" orderby="name" 
age="-1">
+               <search-filter>
+                       <name>Name</name>
+                       <search-fields>name</search-fields>
+               </search-filter>
+       </command> 
+       <action type="create">
+               <relation role="related">
+                       <object type="groups" />
+               </relation>
+       </action>
+</list>                

Added: 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/images/add_images_pos2rel.xml
===================================================================
--- 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/images/add_images_pos2rel.xml
                          (rev 0)
+++ 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/images/add_images_pos2rel.xml
  2010-08-12 18:46:05 UTC (rev 43091)
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<!DOCTYPE list PUBLIC "-//MMBase/DTD editwizard 1.0//EN" 
"http://www.mmbase.org/dtd/wizard-schema_1_0.dtd";>
+<list role="pos2rel" destination="images"
+               minoccurs="0" maxoccurs="*"
+               orderby="fie...@name='pos1']"
+               ordertype="number">
+       <title xml:lang="nl">Afbeeldingen (gebruikt in fotogallerijen)</title>
+       <title xml:lang="en">Images (used in photo galleries)</title>
+       <item displaymode="section" displaytype="image">
+               <title></title>
+               <description></description>
+               <field name="title" ftype="data">
+                       <prompt xml:lang="nl">Naam</prompt>
+                       <prompt xml:lang="en">Title</prompt>
+               </field>
+               <field fdatapath="fie...@name='pos1']" ftype="enum">
+                       <prompt xml:lang="nl">Kolom</prompt>
+                       <prompt xml:lang="en">Column</prompt>
+                       <optionlist select="column"></optionlist>
+               </field>
+               <field fdatapath="fie...@name=&apos;pos2&apos;]" ftype="line">
+                       <prompt xml:lang="nl">Positie</prompt>
+                       <prompt xml:lang="en">Position</prompt>
+               </field>
+               <field fdatapath="." ftype="startwizard" inline="true" 
objectnumber="{object/@number}" wizardname="wizards/images/images">
+                       <prompt></prompt>
+               </field>
+       </item>
+       <command name="search" nodepath="images" fields="title" orderby="title" 
age="-1">
+               <prompt></prompt>
+               <search-filter>
+                       <name xml:lang="nl">Naam bevat</name>
+                       <name xml:lang="en">Title contains</name>
+                       <search-fields>title</search-fields>
+               </search-filter>
+       </command>
+       <command name="startwizard" inline="true" 
wizardname="wizards/images/images" objectnumber="new"/>
+       <action type="create">
+               <relation role="pos2rel">
+                       <object type="images" />
+                       <field name="pos1">1</field>
+                       <field 
name="pos2">{sum(//relati...@role=&apos;pos2rel&apos; and 
@lastitem=&apos;true&apos;]/fie...@name=&apos;pos2&apos;])+{$pos}}</field>
+               </relation>
+       </action>
+</list>

Added: 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/images/add_images_posrel_maxone.xml
===================================================================
--- 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/images/add_images_posrel_maxone.xml
                            (rev 0)
+++ 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/images/add_images_posrel_maxone.xml
    2010-08-12 18:46:05 UTC (rev 43091)
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<!DOCTYPE list PUBLIC "-//MMBase/DTD editwizard 1.0//EN" 
"http://www.mmbase.org/dtd/wizard-schema_1_0.dtd";>
+<list role="posrel" destination="images"
+               minoccurs="0" maxoccurs="1"
+               orderby="fie...@name='pos']"
+               ordertype="number">
+       <title>Image</title>
+       <item displaymode="section" displaytype="image">
+               <title></title>
+               <description></description>
+               <field name="title" ftype="data" ><prompt>Name</prompt></field>
+               <field fdatapath="." ftype="startwizard" inline="true" 
objectnumber="{object/@number}" wizardname="wizards/images/images">
+                       <prompt></prompt>
+               </field>
+       </item>
+       <command name="search" nodepath="images" fields="title" age="-1">
+               <prompt></prompt>
+               <search-filter>
+                       <name>Name</name>
+                       <search-fields>title</search-fields>
+               </search-filter>
+       </command>
+       <command name="startwizard" inline="true" 
wizardname="wizards/images/images" objectnumber="new"/>
+       <action type="create">
+               <relation role="posrel">
+                       <object type="images">
+                       </object>
+               </relation>
+       </action>
+</list>

Added: 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/licenceinfos/add_licenceinfos.xml
===================================================================
--- 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/licenceinfos/add_licenceinfos.xml
                              (rev 0)
+++ 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/licenceinfos/add_licenceinfos.xml
      2010-08-12 18:46:05 UTC (rev 43091)
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<!DOCTYPE list PUBLIC "-//MMBase/DTD editwizard 1.0//EN" 
"http://www.mmbase.org/dtd/wizard-schema_1_0.dtd";>
+<list role="related" destination="licenceinfos" minoccurs="1" maxoccurs="*">
+       <title>Licenceinfos</title>
+       <item>
+               <title>Licence</title>
+               <description></description>
+               <field name="name" ftype="data">
+                 <prompt>Name</prompt>
+               </field>
+               <field name="type" ftype="data">
+                 <prompt>Type</prompt>
+               </field>
+       </item>
+       <command name="search" nodepath="licenceinfos" fields="name,type" 
age="-1">
+               <prompt></prompt>
+               <search-filter>
+                       <name>Name contains</name>
+                       <search-fields>name</search-fields>
+               </search-filter>
+               <search-filter>
+                       <name>Type contains</name>
+                       <search-fields>type</search-fields>
+               </search-filter>
+       </command>
+       <command name="startwizard" inline="true" 
wizardname="wizards/licenceinfos/licenceinfos" objectnumber="new" />
+       <action type="create">
+               <relation role="related" destinationtype="licenceinfos" />
+       </action>
+</list>

Added: 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/licenceinfos/licenceinfos.xml
===================================================================
--- 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/licenceinfos/licenceinfos.xml
                          (rev 0)
+++ 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/licenceinfos/licenceinfos.xml
  2010-08-12 18:46:05 UTC (rev 43091)
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+<!DOCTYPE wizard-schema PUBLIC "-//MMBase/DTD editwizard 1.0//EN" 
"http://www.mmbase.org/dtd/wizard-schema_1_0.dtd";>
+<wizard-schema id="licenceinfos">
+       <title>Licenceinfo</title>
+       <task-description>Wizard to edit licenceinfos</task-description>
+       
+       <action type="create">
+               <object type="licenceinfos">
+               </object>
+       </action>
+       
+       <action type="delete">
+               <prompt>Are you sure?</prompt>
+       </action>
+
+       <action type="load">
+       </action>
+       
+       <steps>
+               <step form-schema="edit" />
+       </steps>
+       
+       <form-schema id="edit">
+               <title>Licenceinfo</title>
+               <field name="name" dtminlength="1">
+                   <prompt>Name</prompt>
+                   <description>Licence name</description>
+               </field>
+               <field name="type" dtminlength="1">
+                   <prompt>Type</prompt>
+                   <description>Type of licence</description>
+               </field>
+               <field name="version" dtminlength="1">
+                   <prompt>Version</prompt>
+                   <description>Version of the licence</description>
+               </field>
+               <field name="description" rows="5">
+                   <prompt>Description</prompt>
+                   <description>Description of the licence</description>
+               </field>
+       </form-schema>
+       
+</wizard-schema>

Added: mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/pages/pages_form.xml
===================================================================
--- mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/pages/pages_form.xml   
                        (rev 0)
+++ mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/pages/pages_form.xml   
2010-08-12 18:46:05 UTC (rev 43091)
@@ -0,0 +1,48 @@
+<?xml version="1.0"?>
+<!DOCTYPE wizard-schema PUBLIC "-//MMBase/DTD editwizard 1.0//EN" 
"http://www.mmbase.org/dtd/wizard-schema_1_0.dtd";>
+<wizard-schema id="edit-page">
+       <title xml:lang="nl">Email Form Paginas</title>
+       <title xml:lang="en">Email Form Pages</title>
+       <task-description>Use this wizard to edit a page.</task-description>
+       
+        <action type="create">
+                       <object type="pages">
+                               <relation destination="form_template" 
role="related"/>
+                       </object> 
+        </action>
+       
+       <action include="wizards/pages/delete_pages.xml" />
+
+       <action type="load" extends="wizards/pages/load_pages.xml">
+               <relation destination="articles" role="intro" />
+               <relation destination="pools" role="posrel" />
+       </action>
+       
+       <lists>
+               <optionlist include="wizards/types/boolean_text.xml" />
+               <optionlist include="wizards/types/boolean.xml" />
+       </lists>
+
+       <steps>
+               <step form-schema="edit_page" />
+       </steps>
+       
+       <form-schema id="edit_page">
+               <field name="title" dtminlength="1" dtmaxlength="100">
+                       <prompt xml:lang="nl">Naam</prompt>
+                       <prompt xml:lang="en">Title</prompt>
+                       <description></description>
+               </field>
+               <field name="menuname" dtmaxlength="1024">
+                       <prompt xml:lang="nl">Email adres die formulieren 
ontvangt (adressen worden gescheiden met puntkommas)</prompt>
+                       <prompt xml:lang="en">Email address that receives the 
forms (addresses are seperated by semicolons)</prompt>
+                       <description></description>
+               </field>
+       
+               <list include="wizards/templates/add_templates.xml" />
+               <list include="wizards/articles/add_articles_intro.xml" />
+               <list include="wizards/pools/add_pools_posrel.xml" />
+               <list include="wizards/articles/add_articles_posrel_form.xml" />
+       </form-schema>
+
+</wizard-schema>

Added: mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/pools/add_pools.xml
===================================================================
--- mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/pools/add_pools.xml    
                        (rev 0)
+++ mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/pools/add_pools.xml    
2010-08-12 18:46:05 UTC (rev 43091)
@@ -0,0 +1,34 @@
+<?xml version="1.0"?>
+<!DOCTYPE list PUBLIC "-//MMBase/DTD editwizard 1.0//EN" 
"http://www.mmbase.org/dtd/wizard-schema_1_0.dtd";>
+<list role="related" destination="pools"
+               minoccurs="0" maxoccurs="*">
+
+       <title xml:lang="nl">Categorie(en)</title>
+       <title xml:lang="en">Items</title>
+       <item>
+               <title></title>
+               <description></description>
+               <field name="name" ftype="data">
+                       <prompt xml:lang="nl">Naam</prompt>
+                       <prompt xml:lang="en">Name</prompt>
+               </field>
+        </item>
+               
+       <action type="create">
+               <relation role="related">
+                       <object type="pools" />
+               </relation>
+       </action>
+       
+       <command name="startwizard" inline="true" 
wizardname="wizards/pools/pools" objectnumber="new"/>
+       <command name="search" nodepath="pools" fields="name" orderby="name" 
age="-1">
+       <prompt></prompt>
+               <search-filter>
+                       <name xml:lang="nl">Naam bevat</name>
+                       <name xml:lang="en">Name contains</name>
+                       <search-fields>name</search-fields>
+               </search-filter>
+       </command>
+      
+</list>        
+

Added: 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/project/add_project_posrel.xml
===================================================================
--- 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/project/add_project_posrel.xml
                         (rev 0)
+++ 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/project/add_project_posrel.xml
 2010-08-12 18:46:05 UTC (rev 43091)
@@ -0,0 +1,34 @@
+<?xml version="1.0"?>
+<!DOCTYPE list PUBLIC "-//MMBase/DTD editwizard 1.0//EN" 
"http://www.mmbase.org/dtd/wizard-schema_1_0.dtd";>
+<list role="posrel" destination="project"
+               minoccurs="0" maxoccurs="*"
+               orderby="title"
+               ordertype="string"
+               hidecommand="move-up|move-down">
+
+       <title>Projects</title>
+       <item>
+               <title>Projects</title>
+               <description></description>
+               <field name="title" ftype="data">
+                       <prompt>Name</prompt>
+               </field>
+       </item>
+               
+       <action type="create">
+               <relation role="posrel">
+                       <object type="project" />
+               </relation>
+       </action>
+       
+       <command name="insert" />
+
+       <command name="search" nodepath="project" fields="title" 
orderby="title" age="-1">
+       <prompt></prompt>
+               <search-filter>
+                       <name>Name</name>
+                       <search-fields>title</search-fields>
+               </search-filter>
+       </command>
+</list>        
+

Added: 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/questions/add_questions_posrel.xml
===================================================================
--- 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/questions/add_questions_posrel.xml
                             (rev 0)
+++ 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/questions/add_questions_posrel.xml
     2010-08-12 18:46:05 UTC (rev 43091)
@@ -0,0 +1,58 @@
+<?xml version="1.0"?>
+<!DOCTYPE list PUBLIC "-//MMBase/DTD editwizard 1.0//EN" 
"http://www.mmbase.org/dtd/wizard-schema_1_0.dtd";>
+<list role="posrel" destination="questions"
+               minoccurs="0" maxoccurs="*"
+               orderby="fie...@name='pos']"
+               ordertype="number">
+       <title xml:lang="nl">Vragen (gebruikt in formulieren)</title>
+       <title xml:lang="en">Questions (used in forms)</title>
+       <item>
+               <title></title>
+               <field fdatapath="fie...@name=&apos;pos&apos;]" ftype="line">
+                       <prompt xml:lang="nl">Positie</prompt>
+                       <prompt xml:lang="en">Position</prompt>
+               </field>
+               
+               <field name="title" ftype="line" >
+                       <prompt xml:lang="nl">Vraag</prompt>
+                       <prompt xml:lang="en">Question</prompt>
+               </field>
+               <field name="required" ftype="enum">
+                       <prompt xml:lang="nl">Is deze vraag verplicht?</prompt>
+                       <prompt xml:lang="en">Is this question 
mandatory?</prompt>
+                       <optionlist select="boolean"></optionlist>
+               </field>
+               <field name="type" ftype="enum">
+                       <prompt xml:lang="nl">Type van de vraag</prompt>
+                       <prompt xml:lang="en">Type of the question</prompt>
+                       <optionlist select="question_types"></optionlist>
+               </field>
+               <field name="layout" ftype="enum">
+                       <prompt xml:lang="nl">Layout van de vraag(size heeft 
alleen invloed op textline en textarea)</prompt>
+                       <prompt xml:lang="en">Layout of the question (size only 
affects textline and textarea)</prompt>
+                       <optionlist select="layout_questions"></optionlist>
+               </field>
+               
+               <list include="wizards/answers/add_answers_posrel.xml" />
+       </item>
+       
+       
+       <command name="search" nodepath="questions" fields="title" 
orderby="title" age="-1">
+               <prompt></prompt>
+               <search-filter>
+                       <name xml:lang="nl">Titel bevat</name>
+                       <name xml:lang="en">Title contains</name>
+                       <search-fields>title</search-fields>
+               </search-filter>
+       </command>
+       <command name="startwizard" inline="true" 
wizardname="wizards/questions/questions" objectnumber="new"/>
+       <action type="create">
+               <relation role="posrel">
+                       <object type="questions">
+                               <field name="required">0</field>
+                               <field name="layout">3</field>
+                       </object>
+                       <field 
name="pos">{sum(//relati...@role=&apos;posrel&apos; and 
@lastitem=&apos;true&apos;]/fie...@name=&apos;pos&apos;])+{$pos}}</field>
+               </relation>
+       </action>
+</list>                

Added: 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/questions/create_questions.xml
===================================================================
--- 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/questions/create_questions.xml
                         (rev 0)
+++ 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/questions/create_questions.xml
 2010-08-12 18:46:05 UTC (rev 43091)
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<!DOCTYPE action PUBLIC "-//MMBase/DTD editwizard 1.0//EN" 
"http://www.mmbase.org/dtd/wizard-schema_1_0.dtd";>
+<action type="create">
+       <object type="questions">
+               <field name="required">0</field>
+               <field name="layout">3</field>
+       </object>
+</action>

Added: 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/questions/delete_questions.xml
===================================================================
--- 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/questions/delete_questions.xml
                         (rev 0)
+++ 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/questions/delete_questions.xml
 2010-08-12 18:46:05 UTC (rev 43091)
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<!DOCTYPE action PUBLIC "-//MMBase/DTD editwizard 1.0//EN" 
"http://www.mmbase.org/dtd/wizard-schema_1_0.dtd";>
+<action type="delete">
+       <prompt xml:lang="nl">Weet u zeker dat u deze vraag wilt verwijderen 
?</prompt>
+       <prompt xml:lang="en">Are you sure you want to delete this question 
?</prompt>
+       <description></description>
+</action>

Added: 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/questions/edit_questions.xml
===================================================================
--- 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/questions/edit_questions.xml
                           (rev 0)
+++ 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/questions/edit_questions.xml
   2010-08-12 18:46:05 UTC (rev 43091)
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<!DOCTYPE form-schema PUBLIC "-//MMBase/DTD editwizard 1.0//EN" 
"http://www.mmbase.org/dtd/wizard-schema_1_0.dtd";>
+<form-schema id="edit_questions">
+       <title xml:lang="nl">Pas deze vraag aan</title>
+       <title xml:lang="en">Edit this question</title>
+       
+       <field name="title">
+               <prompt xml:lang="nl">Vraag</prompt>
+               <prompt xml:lang="en">Question</prompt>
+       </field>
+       <field name="required" ftype="enum">
+               <prompt xml:lang="nl">Is deze vraag verplicht?</prompt>
+               <prompt xml:lang="en">Is this question mandatory?</prompt>
+               <optionlist select="boolean"></optionlist>
+       </field>
+       <field name="type" ftype="enum">
+                       <prompt xml:lang="nl">Type van de vraag</prompt>
+                       <prompt xml:lang="en">Type of the question</prompt>
+                       <optionlist select="question_types"></optionlist>
+       </field>
+       <field name="layout" ftype="enum">
+                       <prompt xml:lang="nl">Layout van de vraag (size heeft 
alleen invloed op textline en textarea)</prompt>
+                       <prompt xml:lang="en">Layout of the question (size only 
affects textline and textarea)</prompt>
+                       <optionlist select="layout_questions"></optionlist>
+       </field>
+       <list include="wizards/answers/add_answers_posrel.xml" />
+</form-schema>
+

Added: 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/questions/load_questions.xml
===================================================================
--- 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/questions/load_questions.xml
                           (rev 0)
+++ 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/questions/load_questions.xml
   2010-08-12 18:46:05 UTC (rev 43091)
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<!DOCTYPE action PUBLIC "-//MMBase/DTD editwizard 1.0//EN" 
"http://www.mmbase.org/dtd/wizard-schema_1_0.dtd";>
+<action type="load">
+       <field name="title" />
+       <field name="body" />
+       <field name="required" />
+       <field name="type" />
+       <field name="layout" />
+       <relation destination="answers" role="posrel" />
+</action>
+

Added: 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/questions/questions.xml
===================================================================
--- 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/questions/questions.xml    
                            (rev 0)
+++ 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/questions/questions.xml    
    2010-08-12 18:46:05 UTC (rev 43091)
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<!DOCTYPE wizard-schema PUBLIC "-//MMBase/DTD editwizard 1.0//EN" 
"http://www.mmbase.org/dtd/wizard-schema_1_0.dtd";>
+<wizard-schema id="empty">
+       
+       <title xml:lang="nl">Vragen</title>
+       <title xml:lang="en">Questions</title>
+       
+       <action include="wizards/questions/create_questions.xml" />
+    <action include="wizards/questions/delete_questions.xml" />
+       <action include="wizards/questions/load_questions.xml" />
+       <lists>
+               <optionlist include="wizards/types/boolean.xml" /> 
+               <optionlist include="wizards/types/question_types.xml" /> 
+               <optionlist include="wizards/types/layout_questions.xml" /> 
+               <optionlist include="wizards/types/layout_answers.xml" /> 
+       </lists>
+       <steps>
+               <step form-schema="edit_questions" />
+       </steps>
+       <form-schema id="edit_questions" 
extends="wizards/questions/edit_questions.xml" />
+</wizard-schema>

Added: 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/types/boolean_text.xml
===================================================================
--- mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/types/boolean_text.xml 
                        (rev 0)
+++ mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/types/boolean_text.xml 
2010-08-12 18:46:05 UTC (rev 43091)
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<!DOCTYPE optionlist PUBLIC "-//MMBase/DTD editwizard 1.0//EN" 
"http://www.mmbase.org/dtd/wizard-schema_1_0.dtd";>
+<optionlist name="boolean_text">
+       <option id="no">no</option>
+       <option id="yes">yes</option>
+</optionlist>

Added: mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/types/column.xml
===================================================================
--- mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/types/column.xml       
                        (rev 0)
+++ mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/types/column.xml       
2010-08-12 18:46:05 UTC (rev 43091)
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<!DOCTYPE optionlist PUBLIC "-//MMBase/DTD editwizard 1.0//EN" 
"http://www.mmbase.org/dtd/wizard-schema_1_0.dtd";>
+<optionlist name="column">
+       <option id="0">all three columns</option>
+       <option id="1">first column</option>
+       <option id="2">second column</option>
+       <option id="3">third column</option>
+</optionlist>

Added: 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/types/layout_answers.xml
===================================================================
--- 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/types/layout_answers.xml   
                            (rev 0)
+++ 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/types/layout_answers.xml   
    2010-08-12 18:46:05 UTC (rev 43091)
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<!DOCTYPE optionlist PUBLIC "-//MMBase/DTD editwizard 1.0//EN" 
"http://www.mmbase.org/dtd/wizard-schema_1_0.dtd";>
+<optionlist name="layout_answers">
+       <option id="0">same line</option>
+       <option id="1">new line</option>
+</optionlist>

Added: 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/types/layout_questions.xml
===================================================================
--- 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/types/layout_questions.xml 
                            (rev 0)
+++ 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/types/layout_questions.xml 
    2010-08-12 18:46:05 UTC (rev 43091)
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE optionlist PUBLIC "-//MMBase/DTD editwizard 1.0//EN" 
"http://www.mmbase.org/dtd/wizard-schema_1_0.dtd";>
+<optionlist name="layout_questions">
+       <option id="1">new line &amp; small size</option>
+       <option id="2">new line &amp; medium size</option>
+       <option id="3">new line &amp; large size</option>
+       <option id="4">same line &amp; small size</option>
+       <option id="5">same line &amp; medium size</option>
+       <option id="6">same line &amp; large size</option>
+</optionlist>

Added: 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/types/question_types.xml
===================================================================
--- 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/types/question_types.xml   
                            (rev 0)
+++ 
mmweb/tags/MMWeb_1_0/src/main/webapp/editors/wizards/types/question_types.xml   
    2010-08-12 18:46:05 UTC (rev 43091)
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE optionlist PUBLIC "-//MMBase/DTD editwizard 1.0//EN" 
"http://www.mmbase.org/dtd/wizard-schema_1_0.dtd";>
+<optionlist name="question_types">
+       <option id="1">textarea</option>
+       <option id="2">textline</option>
+       <option id="3">dropdown (only one choice possible)</option>
+       <option id="4">radio buttons (only one choice possible)</option>
+       <option id="5">check boxes (more than one choice possible)</option>
+       <option id="6">date</option>
+</optionlist>

_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to