From 1d5101f1f06da4b55b4a3ea8d7819def78a9f145 Mon Sep 17 00:00:00 2001 From: Ariel Backenroth Date: Fri, 6 Oct 2006 02:26:38 +0000 Subject: [PATCH] first stab at the multi channel thing - renamed create-xml-content-type wizard to create-form wizard and moved it into the wcm source tree - modified the create form wizard to accept 0 to n template output methods - changed terminology from presentation template to template output method - using associations to track output methods - added file extension as property of templateoutputmethod to parameterize what the name of the output file should be - auto adding .xml to file name in create web content if none specified. - making associating an output method with a template optional git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4043 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- config/alfresco/model/wcmModel.xml | 5 +++++ source/java/org/alfresco/model/WCMModel.java | 1 + 2 files changed, 6 insertions(+) diff --git a/config/alfresco/model/wcmModel.xml b/config/alfresco/model/wcmModel.xml index 8234bdc24c..1333c3081a 100644 --- a/config/alfresco/model/wcmModel.xml +++ b/config/alfresco/model/wcmModel.xml @@ -101,6 +101,11 @@ d:text true + + Type + d:text + true + Template Source d:noderef diff --git a/source/java/org/alfresco/model/WCMModel.java b/source/java/org/alfresco/model/WCMModel.java index 03388be71a..c4c26bd617 100644 --- a/source/java/org/alfresco/model/WCMModel.java +++ b/source/java/org/alfresco/model/WCMModel.java @@ -32,5 +32,6 @@ public interface WCMModel // An XML to something else tranformer aspect. public static final QName ASPECT_TEMPLATE_OUTPUT_METHOD = QName.createQName(NamespaceService.WCM_MODEL_1_0_URI, "templateoutputmethod"); public static final QName PROP_TEMPLATE_OUTPUT_METHOD_TYPE = QName.createQName(NamespaceService.WCM_MODEL_1_0_URI, "templateoutputmethodtype"); + public static final QName PROP_TEMPLATE_OUTPUT_METHOD_DERIVED_FILE_EXTENSION = QName.createQName(NamespaceService.WCM_MODEL_1_0_URI, "templateoutputmethodderivedfileextension"); public static final QName PROP_TEMPLATE_SOURCE = QName.createQName(NamespaceService.WCM_MODEL_1_0_URI, "templatesource"); }