?
Solved

trying to configure fckeditor to work with foundeo jsp spell checker

Posted on 2008-10-23
4
Medium Priority
?
349 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

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…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month13 days, 6 hours left to enroll

777 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