Update of
/var/cvs/contributions/didactor2/src/education/config/builders/didactor_education
In directory james.mmbase.org:/tmp/cvs-serv25761
Modified Files:
flashpages.xml
Log Message:
cleaned up the builder. I do think however that this builder makes no sense
whatsoever. It is not a feature of a CMS, it is a dirty hack.
See also:
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/education/config/builders/didactor_education
Index: flashpages.xml
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/config/builders/didactor_education/flashpages.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- flashpages.xml 24 Jan 2008 09:24:30 -0000 1.1
+++ flashpages.xml 3 Sep 2008 10:05:43 -0000 1.2
@@ -1,93 +1,61 @@
-<?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="flashpages" maintainer="didactor.nl" version="2"
extends="learnobjects">
- <status>active</status>
- <classfile>nl.didactor.builders.DidactorBuilder</classfile>
- <searchage>31</searchage>
-
+<?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="flashpages" maintainer="didactor.nl" version="2"
extends="learnobjects">
<names>
- <!-- singles per language as defined by ISO 639 -->
<singular xml:lang="nl">Flash Pagina</singular>
<singular xml:lang="en">Flash Page</singular>
<singular xml:lang="fr">Flash Page</singular>
- <!-- multiple per language as defined by ISO 639 -->
<plural xml:lang="nl">Flash Pagina's</plural>
<plural xml:lang="en">Flash Pages</plural>
<plural xml:lang="fr">Flash Pages</plural>
</names>
+
+ <!--
+ I think this builder is quite stupid, It simply a pieces of HTML which
is supposed to contain a referecne to a file on the filesystem.
+ It makes no sense.
+ -->
<descriptions>
- <!-- descriptions per language as defined by ISO 639 -->
<description xml:lang="nl">Een pagina met macromedia flash
content</description>
<description xml:lang="en">A page with macromedia flash
content</description>
</descriptions>
- <properties>
- <property name="max-nodes-from-query">99999</property>
- </properties>
<fieldlist>
- <field>
+ <field name="text">
<descriptions>
- <!-- descriptions per language as defined by ISO 639 -->
<description xml:lang="nl">Tekst, met eventueel HTML
opmaak</description>
<description xml:lang="en">Text, possibly containt HTML
layout</description>
</descriptions>
- <!-- gui related -->
<gui>
<guiname xml:lang="nl">Tekst</guiname>
<guiname xml:lang="en">Text</guiname>
- <guitype>string</guitype>
</gui>
- <!-- editor related -->
- <editor>
- <positions>
- <!-- position in the input area of the editor -->
- <input>1</input>
- <!-- position in list area of the editor -->
- <list>1</list>
- <!-- position in search area of the editor -->
- <search>1</search>
- </positions>
- </editor>
- <!-- database related -->
- <db>
- <!-- name of the field in the database -->
- <name>text</name>
- <!-- MMBase datatype and demands on it -->
- <type state="persistent" size="65535" notnull="false"
key="false">STRING</type>
- </db>
+ <editor><positions><list>1</list></positions></editor>
+ <datatype base="field" xmlns="http://www.mmbase.org/xmlns/datatypes" >
+ <required value="false" />
+ <maxLength value="65535" enforce="never"/>
+ </datatype>
</field>
- <field>
+ <field name="layout">
<descriptions>
- <!-- descriptions per language as defined by ISO 639 -->
<description xml:lang="nl">Layout</description>
<description xml:lang="en">Layout</description>
</descriptions>
- <!-- gui related -->
<gui>
<guiname xml:lang="nl">Layout</guiname>
<guiname xml:lang="en">Layout</guiname>
- <guitype>integer</guitype>
</gui>
- <editor>
- <positions>
- <!-- position in the input area of the editor -->
- <input>2</input>
- <!-- position in list area of the editor -->
- <list>2</list>
- <!-- position in search area of the editor -->
- <search>2</search>
- </positions>
- </editor>
- <!-- database related -->
- <db>
- <!-- name of the field in the database -->
- <name>layout</name>
- <!-- MMBase datatype and demands on it -->
- <type state="persistent" notnull="true">INTEGER</type>
- </db>
+ <editor><positions><list>2</list></positions></editor>
+ <datatype base="integer" xmlns="http://www.mmbase.org/xmlns/datatypes" >
+ <!-- completely unclear what kind of values can be used -->
+ <default value="0" />
+ <required value="true" />
+ </datatype>
</field>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs