Daniel:

> I added a Spell Checking service to Keel 1.0 that I want to commit to CVS.

Great! Sounds like a valuable service!

> I wrote an actual interface in keel-core, and then implemented it in a 
> new project named svc-spellcheck.  This service lets you pass in single 
> words or whole phrases and get back suggestions for misspelled words.

Just a naming-convention thought: svc-spellcheck should probably be 
svc-spellcheck-something, where the something indicates the specific implementation of 
the spellcheck service. I realize there is only one so far, but you never know :-)

> I went ahead and took it a step further and wrote a simple Struts 
> application that accepts three parameters: text to spell check, the 
> input name of the text to spell check, and the model that will process 
> thie corrected text after the spell checking is complete.  That way, if 
> you are writing a Struts app and want to add Spell Checking 
> functionality, you can easily pass the text off to the spell checking 
> app and have the corrected text returned to your process model.

Excellent. Having an example of how to put a service to work is very valuable.

> Something to note is that to get the app-spellcheckhtml to work I 
> created a custom JSP tag and added it to clnt-struts (both the class, 
> and the edit to keel.tld).  Good to know for CVS purposes.

Just curious: Why did you need a custom tag? Was there something the current tags 
couldn't handle, or was it just a convenience?

> I added some screen shots so you can see it in action.  Let me know what 
> you think.  With little mod this can be integrated into Keel 2.0 as well.

I look forward to it! This is something I can put to use right away, so I can be a 
debugging resource instantly :-)

Regards,

Michael Nash

JGlobal Ltd 
Next-Generation Web Application Development and Open Source Support
http://www.jglobal.com

Bahamas Commerce and Trade
Offshore eCommerce Hosting and Business Services
http://www.bahamascommerce.com

http://keelframework.org/documentation
Keelgroup mailing list
[EMAIL PROTECTED]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com

Reply via email to