mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
using tinymce as the wysywg editor.
making next and finish buttons behave the same. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3592 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -212,6 +212,12 @@ public class CreateXmlContentTypeWizard extends BaseWizardBean
|
||||
*/
|
||||
public String getPresentationTemplateType()
|
||||
{
|
||||
if (this.getPresentationTemplateFileName() != null)
|
||||
{
|
||||
// String s = this.getPresentationTemplateFileName();
|
||||
// String extension =
|
||||
this.presentationTemplateType = "XSL";
|
||||
}
|
||||
return this.presentationTemplateType;
|
||||
}
|
||||
|
||||
|
@@ -74,16 +74,25 @@ public class XFormsInputMethod
|
||||
e.appendChild(result.createTextNode("djConfig = { isDebug: false };\n" +
|
||||
"var WEBAPP_CONTEXT = \"" + cp + "\";\n"));
|
||||
div.appendChild(e);
|
||||
|
||||
e = result.createElement("script");
|
||||
e.setAttribute("type", "text/javascript");
|
||||
e.setAttribute("src", cp + "/scripts/tiny_mce/tiny_mce_src.js");
|
||||
e.appendChild(result.createTextNode("\n"));
|
||||
div.appendChild(e);
|
||||
|
||||
e = result.createElement("script");
|
||||
e.setAttribute("type", "text/javascript");
|
||||
e.setAttribute("src", cp + "/scripts/ajax/dojo.js");
|
||||
e.appendChild(result.createTextNode("\n"));
|
||||
div.appendChild(e);
|
||||
|
||||
e = result.createElement("script");
|
||||
e.setAttribute("type", "text/javascript");
|
||||
e.setAttribute("src", cp + "/scripts/ajax/xforms.js");
|
||||
e.appendChild(result.createTextNode("\n"));
|
||||
div.appendChild(e);
|
||||
|
||||
ts.writeXML(result, out);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user