Solved

trying to configure fckeditor to work with foundeo jsp spell checker

Posted on 2008-10-23
4
330 Views
Last Modified: 2012-05-05
both the fck editor and foundeo jsp spell checker are correctly installed and work great. i am trying to get the spell check to work with the editor. and have followed the instructions fromt his page: http://www.mollerus.net/tom/blog/2008/01/configuring_foundeo_spell_checker_to_work_with_col.html

the instructions work great and the spell checker check all the spelling int he fck editor. but the results/ changes do not translate over to the ediotr once spell check is complete.
i tried adding the last line to the done() function in the spell.jsp file (step 4) but this causes the spell checker to only check the first statement and not check the whole text in the ediotr also the changes do not translate over. without the last line the spell checker checks through the whole ediotr but the changes do not translate over to the editor once the spelling check is complete. Please help.
0
Comment
Question by:sadaf_syed
  • 2
  • 2
4 Comments
 
LVL 7

Expert Comment

by:bluV11t
ID: 22788989
Do you have a spell.cfm file? What are you integrating fckeditor into, coldfusion or asp or? I think you might be adding the step 4 line the wrong place...
0
 

Author Comment

by:sadaf_syed
ID: 22789034
no i am integrating the fck editor with the foundeo jsp spell checker as i have mentioned in my question. The steps are the same, as its mainly java script being added to a form. however, i have the spell.jsp file and not a spell.cfm file. so i have added the statement to the end of the done() function in the spell.jsp. Now i have managed to get the spell checker to check through the whole file even after adding the statement but the changes still do not translate over. there was a need for braces so i have added:
if(parent.opener.spellcheckerFinish) {
                parent.opener.spellcheckerFinish();
                                        }
to the end of the done function and spell checker checks through the entire context of the editor but the changes do not translate over.
0
 
LVL 7

Accepted Solution

by:
bluV11t earned 500 total points
ID: 22789396
Could you put an alert into the function spellcheckerFinish wich is found on the page where you have the form with the editor? This to see if this function gets called. Also, do you get any javascript errors?

function spellcheckerFinish() {
      // Put the spell-checked text back into the FCKEditor
      alert('back_to_editor');
      FCKeditorAPI.GetInstance(document.compose.message.id).SetHTML(document.compose.spellcheckText.value);
      return false;
}
0
 

Author Comment

by:sadaf_syed
ID: 22789611
the error was int his statement. i changed it to:

function spellcheckerFinish() {
      // Put the spell-checked text back into the FCKEditor
      FCKeditorAPI.GetInstance('emailbody').SetHTML(document.dataentry.emailbody.value);
      return false;
}

thanks.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Trouble inserting a variable  in javascript 7 42
servlet  URL Rewriting 1 27
object oriented programming comparison 5 54
windows explorer path to command prompt 5 32
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now