mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
- 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:
@@ -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('/')),
|
||||
|
Reference in New Issue
Block a user