From b1392253e76ec63ccd25fe42cbc8af3b3545b5cd Mon Sep 17 00:00:00 2001 From: Ariel Backenroth Date: Wed, 4 Oct 2006 05:04:35 +0000 Subject: [PATCH] - 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 --- config/alfresco/model/wcmModel.xml | 10 +++++----- source/java/org/alfresco/model/WCMModel.java | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/config/alfresco/model/wcmModel.xml b/config/alfresco/model/wcmModel.xml index cd3c4e1842..c1a93cc6b8 100644 --- a/config/alfresco/model/wcmModel.xml +++ b/config/alfresco/model/wcmModel.xml @@ -23,8 +23,8 @@ XForms Template - - Root Tag Name + + Schema Root Tag Name d:text true @@ -38,7 +38,7 @@ false - wcm:templateoutputmethod + wcm:templateoutputmethod wcm:presentation false true @@ -52,7 +52,7 @@ XML Transformer - + Type d:text true @@ -67,4 +67,4 @@ - \ No newline at end of file + diff --git a/source/java/org/alfresco/model/WCMModel.java b/source/java/org/alfresco/model/WCMModel.java index 133b3a01d0..54c728d1c8 100644 --- a/source/java/org/alfresco/model/WCMModel.java +++ b/source/java/org/alfresco/model/WCMModel.java @@ -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"); }