Files
alfresco-community-repo/config/alfresco/model/wcmModel.xml
Ariel Backenroth b1392253e7 - removing templating config file
- renamed create xml content type to create form
- writing xsds and xsls into the data dictionary
- using search to implement TemplatingService.getTempalteTypes()
- adding fields to create form screen for the root tag name to use within the schema and for a display name within the dropdown (friendly non file name name)
- using aspects from the wcmModel to categorize and relate templates and templateoutputmethods 



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4014 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-04 05:04:35 +00:00

71 lines
2.1 KiB
XML

<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:schemaroottagname">
<title>Schema 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:templateoutputmethodtype">
<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>