Update of /var/cvs/contributions/didactor2/src/email/config/builders/email
In directory james.mmbase.org:/tmp/cvs-serv26900/builders/email

Modified Files:
        emails.xml 
Added Files:
        email.fields.xml 
Log Message:
try to be as much as possible as the email builder of the mmbase app


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


email.fields.xml is new



Index: emails.xml
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/email/config/builders/email/emails.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- emails.xml  27 Nov 2008 12:40:22 -0000      1.4
+++ emails.xml  28 Nov 2008 14:37:10 -0000      1.5
@@ -3,16 +3,55 @@
     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="emails" maintainer="didactor.nl" version="3" extends="email">
-  <status>active</status>
-  <searchage>31</searchage>
+    name="emails" maintainer="didactor.nl" version="3" extends="object">
+  <class>org.mmbase.applications.email.EmailBuilder</class>
+  <searchage>14</searchage>
+
+  <names>
+    <singular xml:lang="en">Email message</singular>
+    <singular xml:lang="nl">Email boodschap</singular>
+    <singular xml:lang="eo">Retmesa??o</singular>
+    <plural xml:lang="en">Email messages</plural>
+    <plural xml:lang="nl">Email boodschappen</plural>
+    <plural xml:lang="eo">Retmesa??oj</plural>
+  </names>
+  <descriptions>
+    <description xml:lang="en">Email messages to send out</description>
+    <description xml:lang="nl">Email boodschappen om te versturen</description>
+    <description xml:lang="eo">Sendotaj retmesa??oj</description>
+  </descriptions>
 
   <!--
       Didactor used to have an email builder that automaticly sends on 
creation of the node (just as mmbase used to be).
       I think this functionlaity perished now.
       The gain is that didactor does not have it's own implemetnation any more.
+      If mmbase could do that transaction (suddenly requiring 'startmail' to 
be called), so why not didactor.
   -->
 
+
+
+  <!--
+      This horrible XInclude does still not (anno 2008) implement xpointer 
decently.
+      So we cannot take the fields from the original email.xml, which would 
nicest.
+      This is just a copy/paste, to work around this.
+      (excluding the 'mailtype' field, btw, because ******* didactor wants it 
to be 'type'.)
+  -->
+  <xi:include
+      xmlns:xi="http://www.w3.org/2001/XInclude";
+      href="http://www.mmbase.org/builders/email/email.fields.xml"; />
+
+  <fieldlist>
+    <field name="type">
+      <gui>
+        <guiname xml:lang="en">Type</guiname>
+        <guiname xml:lang="nl">Type</guiname>
+        <guiname xml:lang="eo">Tipo</guiname>
+      </gui>
+      <editor><positions><list>4</list></positions></editor>
+      <datatype base="email_type" 
xmlns="http://www.mmbase.org/xmlns/datatypes"; />
+    </field>
+  </fieldlist>
+
   <xi:include
       xmlns:xi="http://www.w3.org/2001/XInclude";
       href="http://www.mmbase.org/builders/email/optional.email.fields.xml"; />
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to