INFO [repo.module.ModuleServiceImpl] Starting module 'org.alfrsco.module.WebClientTinyMCESupport' version 0.9.2
<show-property name="description" display-label-id="description"
ignore-if-missing="false" component-generator="TinyMCETextAreaGenerator" />
tinyMCE is not defined
[Break on this error] tinyMCE.init({
private void renderScriptOnce(ResponseWriter writer, FacesContext context) throws IOException
{
Map requestMap = context.getExternalContext().getRequestMap();
Boolean scriptRendered = (Boolean)requestMap.get(RENDERED_SCRIPT_KEY);
if (scriptRendered == Boolean.TRUE)
return;
requestMap.put(RENDERED_SCRIPT_KEY, Boolean.TRUE);
writer.write("<script type=\"text/javascript\" src=\"/alfresco/scripts/webclient-tinymce-support/tiny_mce/tiny_mce.js\"></script>");
writer.write("<script language=\"javascript\" type=\"text/javascript\">\n");
writer.write("tinyMCE.init({\n");
writer.write((String)getAttributes().get("tinyMCEOptions"));
writer.write("});\n");
writer.write("</script>\n");
}
writer.write("<script type=\"text/javascript\" src=\""+context.getExternalContext().getRequestContextPath()+"/scripts/webclient-tinymce-support/tiny_mce/tiny_mce.js\"></script>");
<managed-bean>
<managed-bean-name>TinyMCETextAreaGenerator</managed-bean-name>
<managed-bean-class>org.alfresco.module.WebClientTinyMCESupport.ui.TinyMCETextAreaGenerator</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
<managed-property>
<property-name>tinyMCEOptions</property-name>
<value>
mode: 'textareas',
editor_selector: 'wcts_mce_editable'
</value>
</managed-property>
</managed-bean>
<component>
<component-type>org.alfresco.module.WebClientTinyMCESupport.ui.TinyMCETextArea</component-type>
<component-class>org.alfresco.module.WebClientTinyMCESupport.ui.UITinyMCETextArea</component-class>
</component>
writer.write("<script type=\"text/javascript\" src=\""+context.getExternalContext().getRequestContextPath()+"/scripts/tiny_mce/tiny_mce.js\"></script>");
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.