As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %> <%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %> <script language="javascript" type="text/javascript" src="<%=request.getContextPath()%>/scripts/tiny_mce/tiny_mce.js"></script> <script language="javascript" type="text/javascript"> <%– Init the Tiny MCE in-line HTML editor –%> tinyMCE.init({ theme : "advanced", mode : "exact", elements : "dialog:dialog-body:editor", save_callback : "saveContent", onchange_callback : "enableSave", plugins : "table", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_buttons1_add : "fontselect,fontsizeselect", theme_advanced_buttons2_add : "separator,forecolor,backcolor", theme_advanced_buttons3_add_before : "tablecontrols,separator", theme_advanced_disable: "styleselect", extended_valid_elements : "a[href|target|name],font[face|size|color|style],span[class|align|style]" }); function saveContent(id, content) { document.getElementById("dialog:dialog-body:editor-output").value = content; } var isIE = (document.all); </script> <h:panelGrid cellpadding="2" cellspacing="2" border="0" width="100%" rowClasses="wizardSectionHeading, paddingRow"> <h:outputText value="#{msg.message}" /> <h:panelGrid cellpadding="2" cellspacing="6" border="0" columns="3" columnClasses="alignTop, alignTop, alignTop"> <h:graphicImage value="/images/icons/required_field.gif" alt="#{msg.required_field}" /> <h:outputText value="#{msg.message}:" /> <h:inputTextarea id='editor' value="#{DialogManager.bean.content}" style="display:none; width:100%" /> <h:inputHidden id="editor-output" value="#{DialogManager.bean.content}" /> </h:panelGrid> </h:panelGrid> <script type="text/javascript"> function enableSave() { document.getElementById("dialog:finish-button").disabled = false; } </script> <h:outputText value="#{ForumsBean.replyBubbleHTML}" escape="false" />