mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
- 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
This commit is contained in:
@@ -23,8 +23,8 @@
|
||||
<aspect name="wcm:template">
|
||||
<title>XForms Template</title>
|
||||
<properties>
|
||||
<property name="wcm:roottagname">
|
||||
<title>Root Tag Name</title>
|
||||
<property name="wcm:schemaroottagname">
|
||||
<title>Schema Root Tag Name</title>
|
||||
<type>d:text</type>
|
||||
<mandatory>true</mandatory>
|
||||
</property>
|
||||
@@ -38,7 +38,7 @@
|
||||
<many>false</many>
|
||||
</source>
|
||||
<target>
|
||||
<class>wcm:templateoutputmethod</class>
|
||||
<class>wcm:templateoutputmethod</class>
|
||||
<role>wcm:presentation</role>
|
||||
<mandatory>false</mandatory>
|
||||
<many>true</many>
|
||||
@@ -52,7 +52,7 @@
|
||||
<aspect name="wcm:templateoutputmethod">
|
||||
<title>XML Transformer</title>
|
||||
<properties>
|
||||
<property name="wcm:outputtype">
|
||||
<property name="wcm:templateoutputmethodtype">
|
||||
<title>Type</title>
|
||||
<type>d:text</type>
|
||||
<mandatory>true</mandatory>
|
||||
@@ -67,4 +67,4 @@
|
||||
|
||||
</aspects>
|
||||
|
||||
</model>
|
||||
</model>
|
||||
|
@@ -16,11 +16,11 @@ public interface WCMModel
|
||||
|
||||
// The XForms data capture template aspect.
|
||||
public static final QName ASPECT_TEMPLATE = QName.createQName(WCM_MODEL_URI, "template");
|
||||
public static final QName PROP_ROOT_TAG_NAME = QName.createQName(WCM_MODEL_URI, "roottagname");
|
||||
public static final QName PROP_SCHEMA_ROOT_TAG_NAME = QName.createQName(WCM_MODEL_URI, "schemaroottagname");
|
||||
public static final QName ASSOC_TEMPLATE_OUTPUT_METHODS = QName.createQName(WCM_MODEL_URI, "templateoutputmethods");
|
||||
|
||||
// An XML to something else tranformer aspect.
|
||||
public static final QName ASPECT_TEMPLATE_OUTPUT_METHOD = QName.createQName(WCM_MODEL_URI, "templateoutputmethod");
|
||||
public static final QName PROP_OUTPUT_TYPE = QName.createQName(WCM_MODEL_URI, "outputtype");
|
||||
public static final QName PROP_TEMPLATE_OUTPUT_METHOD_TYPE = QName.createQName(WCM_MODEL_URI, "templateoutputmethodtype");
|
||||
public static final QName PROP_TEMPLATE_SOURCE = QName.createQName(WCM_MODEL_URI, "templatesource");
|
||||
}
|
||||
|
Reference in New Issue
Block a user