I've made a little progress toward getting the spell checker working. In my TinyMCESettings I've added:
tinyMCESettings.addCustomSetting("spellchecker_rpc_url : \"someURL\""); That takes care of the alert, but now I need to know what URL I'm supposed to put there. The SpellCheckPlugin class has the following code: private static final String resourceKey = "tiny_mce/plugins/spellchecker/tinyspell.php"; ... Application.get().getSharedResources().add(TinyMceBehavior.class, resourceKey, null, null, new JazzySpellChecker()); So my guess is that I need to have spellchecker_rpc_url hit the URL of the SharedResource added above. When I debug the app, the line WicketApplication.get().getSharedResources().get(TinyMceBehavior.class, "tiny_mce/plugins/spellchecker/tinyspell.php", null, null, true) does return the JazzySpellChecker, so I hoped that the following crazy line would get me the URL: WicketRequestCycle.get().urlFor(new ResourceStreamRequestTarget(WicketApplication.get().getSharedResources().get(TinyMceBehavior.class, "tiny_mce/plugins/spellchecker/tinyspell.php", null, null, true).getResourceStream())) However, that just gives me null. I feel like I must be making this more difficult than it should be. Nothing I've seen anywhere mentions setting the spellchecker_rpc_url. Is there an easier way to do this? thanks, Dane On Thu, Oct 8, 2009 at 6:24 PM, Dane Laverty <danelave...@gmail.com> wrote: > I've added TinyMCE to my application, but I can't get the spellchecker to > work. When I click the button, I get a JavaScript alert that says, "Please > specify: spellchecker_rpc_url". I checked it out in the example application, > but I get the same error there. I've installed the Jazzy spell checker, but > apparently I need something else as well. Has anyone gotten this to work? >