Update of
/var/cvs/contributions/didactor2/src/portalpages/config/builders/portalpages
In directory james.mmbase.org:/tmp/cvs-serv16334
Modified Files:
simplecontents.xml
Log Message:
cleaned up
See also:
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/portalpages/config/builders/portalpages
Index: simplecontents.xml
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/portalpages/config/builders/portalpages/simplecontents.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- simplecontents.xml 4 Jan 2006 16:24:51 -0000 1.3
+++ simplecontents.xml 17 Jan 2008 15:18:22 -0000 1.4
@@ -1,221 +1,103 @@
-???<?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="simplecontents" maintainer="didactor.nl" version="4"
extends="object">
- <status>active</status>
-
- <classfile>org.mmbase.module.builders.Dummy</classfile>
- <searchage>1000</searchage>
+<?xml version="1.0" encoding="UTF-8"?>
+<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="simplecontents" maintainer="didactor.nl" version="4"
extends="object">
<names>
- <!-- singles per language as defined by ISO 639 -->
<singular xml:lang="en">Simplecontent</singular>
- <singular xml:lang="nl">Simplecontent</singular>
-
- <!-- multiple per language as defined by ISO 639 -->
<plural xml:lang="en">Simplecontents</plural>
- <plural xml:lang="nl">Simplecontents</plural>
</names>
<descriptions>
- <!-- descriptions per language as defined by ISO 639 -->
<description xml:lang="en">Simple Content</description>
- <description xml:lang="nl">Simple Content</description>
</descriptions>
<fieldlist>
- <!-- POS 3 : <field> 'title' -->
- <field>
- <descriptions>
- <!-- descriptions per language as defined by ISO 639 -->
- <description xml:lang="en">Title</description>
- <description xml:lang="nl">Titel</description>
- </descriptions>
- <!-- gui related -->
+ <field name="title">
<gui>
<guiname xml:lang="en">Title</guiname>
<guiname xml:lang="nl">Titel</guiname>
- <guitype>string</guitype>
</gui>
- <!-- editor related -->
<editor>
<positions>
- <!-- position in the input area of the editor -->
- <input>3</input>
- <!-- position in list area of the editor -->
- <list>3</list>
- <!-- position in search area of the editor -->
- <search>3</search>
+ <list>1</list>
</positions>
</editor>
- <!-- database related -->
- <db>
- <!-- name of the field in the database -->
- <name>title</name>
- <!-- MMBase datatype and demands on it -->
- <type state="persistent" size="55" notnull="false"
key="false">STRING</type>
- </db>
+ <datatype xmlns="http://www.mmbase.org/xmlns/datatypes" base="line">
+ <maxLength value="255" />
+ </datatype>
</field>
- <!-- POS 5 : <field> 'abstract' -->
- <field>
- <descriptions>
- <!-- descriptions per language as defined by ISO 639 -->
- <description xml:lang="en">Abstract</description>
- <description xml:lang="nl">Introductie</description>
- </descriptions>
- <!-- gui related -->
+ <field name="abstract">
<gui>
<guiname xml:lang="en">Abstract</guiname>
- <guiname xml:lang="nl">Introductie</guiname>
- <guitype>field</guitype>
+ <guiname xml:lang="nl">Samenvatting</guiname>
</gui>
- <!-- editor related -->
<editor>
<positions>
- <!-- position in the input area of the editor -->
- <input>5</input>
- <!-- position in list area of the editor -->
- <list>5</list>
- <!-- position in search area of the editor -->
- <search>5</search>
+ <list>2</list>
</positions>
</editor>
- <!-- database related -->
- <db>
- <!-- name of the field in the database -->
- <name>abstract</name>
- <!-- MMBase datatype and demands on it -->
- <type state="persistent" size="512" notnull="false"
key="false">STRING</type>
- </db>
+ <datatype xmlns="http://www.mmbase.org/xmlns/datatypes" base="field">
+ <maxLength value="512" />
+ </datatype>
</field>
- <!-- POS 6 : <field> 'body' -->
- <field>
- <descriptions>
- <!-- descriptions per language as defined by ISO 639 -->
- <description xml:lang="en">Body</description>
- <description xml:lang="nl">Tekst</description>
- </descriptions>
- <!-- gui related -->
+ <field name="body">
<gui>
<guiname xml:lang="en">Body</guiname>
<guiname xml:lang="nl">Tekst</guiname>
- <guitype>field</guitype>
</gui>
- <!-- editor related -->
- <editor>
- <positions>
- <!-- position in the input area of the editor -->
- <input>6</input>
- <!-- position in list area of the editor -->
- <list>6</list>
- <!-- position in search area of the editor -->
- <search>6</search>
- </positions>
- </editor>
- <!-- database related -->
- <db>
- <!-- name of the field in the database -->
- <name>body</name>
- <!-- MMBase datatype and demands on it -->
- <type state="persistent" notnull="false" size="1024"
key="false">STRING</type>
- </db>
+ <datatype xmlns="http://www.mmbase.org/xmlns/datatypes" base="field">
+ <maxLength value="1024" />
+ </datatype>
</field>
- <!-- POS 7 : <field> 'online_date' -->
- <field>
- <descriptions>
- <!-- descriptions per language as defined by ISO 639 -->
- <description xml:lang="en">Online Date</description>
- <description xml:lang="nl">Online Tijd</description>
- </descriptions>
- <!-- gui related -->
+
+ <field name="online_date">
<gui>
<guiname xml:lang="en">Online Date</guiname>
<guiname xml:lang="nl">Online Tijd</guiname>
- <guitype>eventtime</guitype>
</gui>
- <!-- editor related -->
<editor>
<positions>
- <!-- position in the input area of the editor -->
- <input>7</input>
- <!-- position in list area of the editor -->
- <list>7</list>
- <!-- position in search area of the editor -->
- <search>7</search>
+ <list>4</list>
</positions>
</editor>
- <!-- database related -->
- <db>
- <!-- name of the field in the database -->
- <name>online_date</name>
- <!-- MMBase datatype and demands on it -->
- <type state="persistent" notnull="false" key="false">LONG</type>
- </db>
+ <datatype xmlns="http://www.mmbase.org/xmlns/datatypes" base="date">
+ <default value="today" />
+ </datatype>
</field>
- <!-- POS 8 : <field> 'offline_date' -->
- <field>
- <descriptions>
- <!-- descriptions per language as defined by ISO 639 -->
- <description xml:lang="en">Offline Date</description>
- <description xml:lang="nl">Offline Tijd</description>
- </descriptions>
- <!-- gui related -->
+
+ <field name="offline_date">
<gui>
<guiname xml:lang="en">Offline Date</guiname>
<guiname xml:lang="nl">Offline Tijd</guiname>
- <guitype>eventtime</guitype>
</gui>
- <!-- editor related -->
- <editor>
- <positions>
- <!-- position in the input area of the editor -->
- <input>8</input>
- <!-- position in list area of the editor -->
- <list>8</list>
- <!-- position in search area of the editor -->
- <search>8</search>
- </positions>
- </editor>
- <!-- database related -->
- <db>
- <!-- name of the field in the database -->
- <name>offline_date</name>
- <!-- MMBase datatype and demands on it -->
- <type state="persistent" notnull="false" key="false">LONG</type>
- </db>
+ <datatype xmlns="http://www.mmbase.org/xmlns/datatypes" base="date">
+ <default value="today + 100 year" />
+ </datatype>
</field>
- <field>
- <descriptions>
- <!-- descriptions per language as defined by ISO 639 -->
- <description xml:lang="nl">Image position</description>
- <description xml:lang="en">Image position</description>
- </descriptions>
- <!-- gui related -->
+ <field name="impos">
<gui>
<guiname xml:lang="nl">Image position</guiname>
- <guitype>integer</guitype>
+ <guiname xml:lang="en">Image position</guiname>
</gui>
- <!-- editor related -->
- <editor>
- <positions>
- <!-- position in the input area of the editor -->
- <input>9</input>
- <!-- position in list area of the editor -->
- <list>9</list>
- <!-- position in search area of the editor -->
- <search>9</search>
- </positions>
- </editor>
- <!-- database related -->
- <db>
- <!-- name of the field in the database -->
- <name>impos</name>
- <!-- MMBase datatype and demands on it -->
- <type state="persistent" notnull="true" size="10">INTEGER</type>
- </db>
+ <datatype xmlns="http://www.mmbase.org/xmlns/datatypes" base="integer">
+ <default value="0" />
+ <enumeration>
+ <entry value="0" xml:lang="en" display="Above" />
+ <entry value="1" xml:lang="en" display="Under" />
+ <entry value="2" xml:lang="en" display="Next" />
+ <entry value="0" xml:lang="nl" display="Erboven" />
+ <entry value="1" xml:lang="nl" display="Eronder" />
+ <entry value="2" xml:lang="nl" display="Ernaast" />
+ </enumeration>
+ </datatype>
</field>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs