A pair of aspect definitions for tagging XForms templates and

related transformers.  Should be enough to get rid of current 
configuration file.
Minor checkpoint of WCM workflow work. 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4011 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-10-03 19:49:59 +00:00
parent c9606905e4
commit 48d4ce2a0d
4 changed files with 184 additions and 0 deletions

View File

@@ -0,0 +1,70 @@
<model name="wcm:wcmmodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<description>WCM Specific Types</description>
<author>Alfresco</author>
<published>2006-10-06</published>
<version>1.0</version>
<imports>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
</imports>
<namespaces>
<namespace uri="http://www.alfresco.org/model/wcmmodel/1.0" prefix="wcm"/>
</namespaces>
<types>
</types>
<aspects>
<!-- An XForms capture template aspect. -->
<aspect name="wcm:template">
<title>XForms Template</title>
<properties>
<property name="wcm:roottagname">
<title>Root Tag Name</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
</properties>
<associations>
<association name="wcm:templateoutputmethods">
<title>Template Output Methods</title>
<source>
<role>wcm:capture</role>
<mandatory>false</mandatory>
<many>false</many>
</source>
<target>
<class>wcm:templateoutputmethod</class>
<role>wcm:presentation</role>
<mandatory>false</mandatory>
<many>true</many>
</target>
</association>
</associations>
</aspect>
<!-- An XML to something else transformer. -->
<aspect name="wcm:templateoutputmethod">
<title>XML Transformer</title>
<properties>
<property name="wcm:outputtype">
<title>Type</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="wcm:templatesource">
<title>Template Source</title>
<type>d:noderef</type>
<mandatory>true</mandatory>
</property>
</properties>
</aspect>
</aspects>
</model>