1 Reply Latest reply on May 1, 2009 10:54 AM by chazman113

    FCKeditor 2.6.4 with ColdFusion.Ajax.submitForm doesn't post changes Help!

    chazman113 Level 1

      I've noticed a critical bug that I inadvertently posted to production code so I need help! I switched from the built-in FCK editor in <cftextarea> to the newest stand-alone version. It works except it wont POST changes you made to the text, just the initial text when using ColdFusion.Ajax.submitForm(). Each instance name has a unique name but still no help! Attached is how the editor is created within a CFC function

       

      <!--- Create editor instance --->
      <cfset var.editorName = "editor" & RandRange(1, 1000000)>     

      <cfscript>
                      "var.#var.editorName#" = createObject("component", "FCKEditor.fckeditor");
                      Evaluate("var.#var.editorName#").instanceName="#ARGUMENTS.name#";
                      Evaluate("var.#var.editorName#").basePath="/editor/";
                      Evaluate("var.#var.editorName#").value="#ARGUMENTS.value#";
                      Evaluate("var.#var.editorName#").width="#ARGUMENTS.width#";
                      Evaluate("var.#var.editorName#").height="#ARGUMENTS.height#";
                      if (ARGUMENTS.toolbar NEQ "") {
                          Evaluate("var.#var.editorName#").toolbarSet="#ARGUMENTS.toolbar#";
                      }
                      Evaluate("var.#var.editorName#").create();
              </cfscript>