mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.2 to HEAD
19499: Merged V2.2 to V3.2 19496: Merged BRANCHES/DEV/BELARUS/V2.2-2010_02_03 to BRANCHES/V2.2 19300: ALF-511: It is impossible to edit rendering templates for a web form git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19500 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -331,14 +331,15 @@ public class EditFormWizard
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
props.clear();
|
|
||||||
props.put(WCMAppModel.PROP_BASE_RENDERING_ENGINE_TEMPLATE_NAME,
|
|
||||||
retd.getName());
|
|
||||||
for (int i=0; i<webforms.length(); i++)
|
for (int i=0; i<webforms.length(); i++)
|
||||||
{
|
{
|
||||||
if (LOGGER.isDebugEnabled())
|
if (LOGGER.isDebugEnabled())
|
||||||
LOGGER.debug("WebForm NodeRef: " + webforms.getNodeRef(i));
|
LOGGER.debug("WebForm NodeRef: " + webforms.getNodeRef(i));
|
||||||
|
|
||||||
|
props.clear();
|
||||||
|
props.put(WCMAppModel.PROP_BASE_RENDERING_ENGINE_TEMPLATE_NAME,
|
||||||
|
retd.getName());
|
||||||
|
|
||||||
NodeRef templateRef = getNodeService().createNode(webforms.getNodeRef(i),
|
NodeRef templateRef = getNodeService().createNode(webforms.getNodeRef(i),
|
||||||
WCMAppModel.ASSOC_WEBFORMTEMPLATE,
|
WCMAppModel.ASSOC_WEBFORMTEMPLATE,
|
||||||
WCMAppModel.ASSOC_WEBFORMTEMPLATE,
|
WCMAppModel.ASSOC_WEBFORMTEMPLATE,
|
||||||
|
Reference in New Issue
Block a user