Author: michiel
Date: 2010-05-15 18:08:05 +0200 (Sat, 15 May 2010)
New Revision: 42157
Modified:
mmbase/trunk/applications/richtext/content/src/main/config/builders/richtext_content/indexrel.xml
mmbase/trunk/applications/richtext/content/src/main/config/builders/richtext_content/segments.xml
Log:
parent field
Modified:
mmbase/trunk/applications/richtext/content/src/main/config/builders/richtext_content/indexrel.xml
===================================================================
---
mmbase/trunk/applications/richtext/content/src/main/config/builders/richtext_content/indexrel.xml
2010-05-15 15:36:34 UTC (rev 42156)
+++
mmbase/trunk/applications/richtext/content/src/main/config/builders/richtext_content/indexrel.xml
2010-05-15 16:08:05 UTC (rev 42157)
@@ -23,9 +23,7 @@
<list>4</list>
</positions>
</editor>
- <db>
- <type key="false" notnull="false" size="255"
state="persistent">STRING</type>
- </db>
+ <datatype base="eline" xmlns="http://www.mmbase.org/xmlns/datatypes" />
</field>
<field name="root">
Modified:
mmbase/trunk/applications/richtext/content/src/main/config/builders/richtext_content/segments.xml
===================================================================
---
mmbase/trunk/applications/richtext/content/src/main/config/builders/richtext_content/segments.xml
2010-05-15 15:36:34 UTC (rev 42156)
+++
mmbase/trunk/applications/richtext/content/src/main/config/builders/richtext_content/segments.xml
2010-05-15 16:08:05 UTC (rev 42157)
@@ -37,6 +37,38 @@
<datatype base="integer" xmlns="http://www.mmbase.org/xmlns/datatypes" />
</field>
+ <field name="parent" state="virtual" readonly="false">
+ <gui>
+ <guiname xml:lang="nl">Ouder</guiname>
+ <guiname xml:lang="en">Parent</guiname>
+ <guiname xml:lang="eo">Patro</guiname>
+
+ </gui>
+ <datatype base="node" xmlns="http://www.mmbase.org/xmlns/datatypes" >
+ <enumeration>
+ <query
+ xmlns="http://www.mmbase.org/xmlns/searchquery"
+ path="segments" />
+ </enumeration>
+ <setprocessor>
+ <class name="org.mmbase.datatypes.processors.Related$Setter">
+ <param name="role">index</param>
+ <param name="type">segments</param>
+ <param name="searchDir">source</param>
+ </class>
+ </setprocessor>
+ <getprocessor>
+ <class name="org.mmbase.datatypes.processors.Related$Getter">
+ <param name="role">index</param>
+ <param name="type">segments</param>
+ <param name="searchDir">source</param>
+ </class>
+ </getprocessor>
+ </datatype>
+
+ </field>
+
+
</fieldlist>
<functionlist>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs