mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
- Fix to some issues created after recent changes to preview url generation code
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3959 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -88,12 +88,14 @@ public class CreateWebContentWizard extends BaseContentWizard
|
||||
protected String finishImpl(FacesContext context, String outcome)
|
||||
throws Exception
|
||||
{
|
||||
logger.debug("saving file content to " + this.fileName);
|
||||
if (logger.isDebugEnabled())
|
||||
logger.debug("saving file content to " + this.fileName);
|
||||
saveContent(null, this.content);
|
||||
|
||||
if (MimetypeMap.MIMETYPE_XML.equals(this.mimeType) && this.templateTypeName != null)
|
||||
{
|
||||
logger.debug("generating template output for " + this.templateTypeName);
|
||||
if (logger.isDebugEnabled())
|
||||
logger.debug("generating template output for " + this.templateTypeName);
|
||||
this.nodeService.setProperty(AVMNodeConverter.ToNodeRef(-1, this.createdPath),
|
||||
TemplatingService.TT_QNAME,
|
||||
this.templateTypeName);
|
||||
|
Reference in New Issue
Block a user