Client Side Events

It is possible to determine when spell checking has finished (in pop up mode) by using the

FinishedListener property of RapidSpellWebLauncher. This property can be set to the name of a

JavaScript (ECMAscript) function in the main form, which will be called from the pop up when the user

finishes checking the document (either by completing the check, or by clicking the ‘Finish’ button). The

function must not expect arguments and be with in the scope of the whole page.

For example;

...............

<script>

function notifyDone(){

alert('Finished event captured.');

}

</script>

...............

<RapidSpellWeb:rapidSpellWebLauncher

rapidSpellWebPage="RapidSpellCheckerPopUp.jsp"

textComponentName="myForm.sourceTextBox"

finishedListener="notifyDone"

/>

...............

This example is suited to web pages with single text boxes, for an example that works with multiple

text boxes, please see the file “exampleTextBox11-MultipleCloseEvent.jsp”.