Hi all,
I’m trying to use the spellchecker plugin, and have come across some problems.
Scenario: Spell check email and send it. Servoy sends the email as it was before the spellcheck…
After a spellcheck In Developer, if I use the dataprovider used by the component I’m spellchecking, I get the old value before the spellcheck took place, even if I put a controller.saveData() before trying to use the dataprovider. Haven’t tested this in Client yet, but it is sure confusing in Developer.
plugins.spellcheck.checkTextComponent(elements.bodytext_textile);
if(! check_addresses()) {
return 0;
}
controller.saveData()
var to = correspondence_email;
var from = doc_correspondence_to_users.lmr_user_email_address;
var footer = doc_correspondence_to_users.lmr_email_footer;
var msg = correspondence_bodytext;
msg has value as before spellcheck…
I do have muliple components showing the same dataprovider, to deal with rtf, html and plaintext correspondence.
Also, Feature request:
plugins.spellcheck.checkTextComponent() should take an array of components so you can spellcheck several fields at once without any WORKAROUNDS…
Servoy 3.1.3_01
Mac OS X 10.4.9