- 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:
Ariel Backenroth
2006-10-04 05:04:35 +00:00
parent 48d4ce2a0d
commit b1392253e7
2 changed files with 7 additions and 7 deletions

View File

@@ -23,8 +23,8 @@
<aspect name="wcm:template"> <aspect name="wcm:template">
<title>XForms Template</title> <title>XForms Template</title>
<properties> <properties>
<property name="wcm:roottagname"> <property name="wcm:schemaroottagname">
<title>Root Tag Name</title> <title>Schema Root Tag Name</title>
<type>d:text</type> <type>d:text</type>
<mandatory>true</mandatory> <mandatory>true</mandatory>
</property> </property>
@@ -52,7 +52,7 @@
<aspect name="wcm:templateoutputmethod"> <aspect name="wcm:templateoutputmethod">
<title>XML Transformer</title> <title>XML Transformer</title>
<properties> <properties>
<property name="wcm:outputtype"> <property name="wcm:templateoutputmethodtype">
<title>Type</title> <title>Type</title>
<type>d:text</type> <type>d:text</type>
<mandatory>true</mandatory> <mandatory>true</mandatory>

View File

@@ -16,11 +16,11 @@ public interface WCMModel
// The XForms data capture template aspect. // The XForms data capture template aspect.
public static final QName ASPECT_TEMPLATE = QName.createQName(WCM_MODEL_URI, "template"); 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"); public static final QName ASSOC_TEMPLATE_OUTPUT_METHODS = QName.createQName(WCM_MODEL_URI, "templateoutputmethods");
// An XML to something else tranformer aspect. // 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 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"); public static final QName PROP_TEMPLATE_SOURCE = QName.createQName(WCM_MODEL_URI, "templatesource");
} }