| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
|
Has anyone had experience with adding a spell checker to a
WO application? I have a trial version of JSpell Evolution from The Solution Café
but can’t get it to work with my application. It comes as a WAR file. I
put the WAR file into my JBoss deployment directory. When JBoss expands it,
there are several _javascript_ files which are referenced by their test HTML
file, which is in the same directory. That test file works correctly. The
rest of the WAR file is the piece that actually does the spell checking. You
are just supposed to add the following lines to your HTML. <script
LANGUAGE="_javascript_" TYPE="text/_javascript_"
SRC="" href="http://myserver:7080/jspellEvolution/jspellSettings.js"
title="blocked::http://myserver:7080/jspellEvolution/jspellSettings.js">jspellSettings.js"
CHARSET="ISO-8859-1"></script> <script
LANGUAGE="_javascript_" TYPE="text/_javascript_"
SRC=""
href="http://myserver:7080/jspellEvolution/jspellEvolution.js"
title="blocked::http://myserver:7080/jspellEvolution/jspellEvolution.js">jspellEvolution.js"
CHARSET="ISO-8859-1"></script> But the app doesn’t seem to be able to find the
_javascript_ files, because nothing happens. So I copied these two files out of
the deployment directory and into a directory in my area and changed the
references to the following. <script
LANGUAGE="_javascript_" TYPE="text/_javascript_"
SRC=""
href="http://myserver:7080/jspellEvolution/jspellSettings.js">jspellSettings.js"
CHARSET="ISO-8859-1"></script> <script
LANGUAGE="_javascript_" TYPE="text/_javascript_"
SRC=""
href="http://myserver:7080/jspellEvolution/jspellEvolution.js"
title="blocked::http://myserver:7080/jspellEvolution/jspellEvolution.js">/jspellEvolution.js"
CHARSET="ISO-8859-1"></script> That didn’t work either, so I tried referencing them
as a URL. My JBoss runs off port 7080, and if I enter that URL in my browser,
it finds the _javascript_ file. <script
LANGUAGE="_javascript_" TYPE="text/_javascript_"
SRC="" href="http://myserver:7080/jspellEvolution/jspellSettings.js"
title="blocked::http://myserver:7080/jspellEvolution/jspellSettings.js">http://myserver:7080/jspellEvolution/jspellSettings.js"
CHARSET="ISO-8859-1"></script> <script
LANGUAGE="_javascript_" TYPE="text/_javascript_"
SRC=""
href="http://myserver:7080/jspellEvolution/jspellEvolution.js"
title="blocked::http://myserver:7080/jspellEvolution/jspellEvolution.js">http://myserver:7080/jspellEvolution/jspellEvolution.js"
CHARSET="ISO-8859-1"></script> No luck. If anyone has some advice on how to get this to
work, or knows of another product that has worked with WO, I would be most
appreciative. Thanks. Michael Bjerke Networking & Computing Technologies Department Office:(865) 574-4654 Cell: (865) 567-8385 |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/email@hidden This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.