- terminology changes to wcmModel (needs to be propogated to java classes as well). template is now form. template output method is now form transformer.

- added an aspect to differentiate form derived from form transformer derived (allowed removing some workarounds from XSLTOutputMethod)

- namespacing variables passed to the xsl processor with alfresco:



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4154 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Ariel Backenroth
2006-10-18 19:01:45 +00:00
parent 2e3cbebd82
commit 1507f7387a
15 changed files with 122 additions and 111 deletions

View File

@@ -106,11 +106,11 @@ public class CreateWebContentWizard extends BaseContentWizard
final TemplateType tt = this.getTemplateType();
final TemplatingService ts = TemplatingService.getInstance();
final Map<QName, Serializable> props = new HashMap<QName, Serializable>();
props.put(WCMModel.PROP_TEMPLATE_DERIVED_FROM, tt.getNodeRef());
props.put(WCMModel.PROP_TEMPLATE_DERIVED_FROM_NAME, tt.getName());
final Map<QName, Serializable> props = new HashMap<QName, Serializable>(1, 1.0f);
props.put(WCMModel.PROP_FORM_DERIVED_FROM, tt.getNodeRef());
props.put(WCMModel.PROP_FORM_DERIVED_FROM_NAME, tt.getName());
this.nodeService.addAspect(AVMNodeConverter.ToNodeRef(-1, this.createdPath),
WCMModel.ASPECT_TEMPLATE_DERIVED,
WCMModel.ASPECT_FORM_DERIVED,
props);
OutputUtil.generate(this.createdPath.substring(0, this.createdPath.lastIndexOf('/')),