Jspell and spell checking af:inputText
748751Jan 24 2010 — edited Jan 25 2010Did any of you guys get JSPELL to work with <af:inputText>? Here is my use case: I want to be able to spell check a particular text field. As i type in the spell checker would mark the wrong words and the left or right click on the text should give me the available suggestion. I am using Ajax version of the spell checker
Jspell Server part is installed and working perfectly fine. I have tested it with the test.html that the package comes with and it worked fine.
* The problem started when I tried to integrate a ** fusion middle-ware web application ** for spell checking.
- I have created a .jspx page with one <af:inputText>, which will be spell checked
- Included all the java script necessary to invoke the Jspell application as suggested by the manual.
- when I run it the spell checker doesn't run. Also it doesn't throw any error
- So I went to page-> view source in the browser to see if the java script was properly included and it looked fine.
- I have noticed that the generated html had a number of other java script auto generated by the adf container.
- After few hours of debugging I Figured that If I remove the following script invocation from the generated html, the Spelll checker starts to work
fine. The script is: ** src="/TestCommandLink-ViewController-context-root/afr/partition/gecko/default/opt/boot-SHEPHERD-PS1-9296.js" **
- This is auto-generated by the adf container.
Any Suggestion will be greatly appreciated folks. Thanks in advanced