Child pages
  • spellcheck

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Rev: 1381948887907

...

HTML Table
id
classservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Method Summary
tbody
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#checkTextComponentcheckTextComponent(textComponent)
Spellcheck the form element/component.
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#checkTextComponentcheckTextComponent(textComponent, language)
Spellcheck the form element/component.

HTML Table
idfunction
classservoy sDetail
Colgroup Tag
Column
padding0px
width100%

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
Method Details
Table Body (tbody)
idcheckTextComponent-Object
Table Row (tr)
idname
Table Cell (td)
checkTextComponent
Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
void
Span
stylefont-weight: bold;
checkTextComponent
Span
(textComponent)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Spellcheck the form element/component.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{Object} textComponent
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

...

// The desired spellcheck provider and language are set via the SpellCheck Preference Page, in the Client Preferences.
// Spellchecking currently works in SmartClient only.
plugins.spellcheck.checkTextComponent(forms.actionDetails.elements.actionText);
// Optionally, the language can be sent as an argument to the function.
// The language string is provided from the language constants class, as in the sample below
// NOTE: the optional language, if provided, overrides the Preference Panel page setting, of the current SpellCheck provider (RapidSpell/Google).
// plugins.spellcheck.checkTextComponent(textInDutch, SpellCheck_Languages.DUTCH);

...

Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idcheckTextComponent-Object_String
Table Row (tr)
idname
Table Cell (td)
checkTextComponent
Table Row (tr)
idsig
Table Cell (td)
Span
stylemargin-right: 5px;
void
Span
stylefont-weight: bold;
checkTextComponent
Span
(textComponent, language)
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Spellcheck the form element/component.
Table Row (tr)
idprs
Table Cell (td)
Parameters
Div
classsIndent
{Object} textComponent
{String} language
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
void
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

...

// The desired spellcheck provider and language are set via the SpellCheck Preference Page, in the Client Preferences.
// Spellchecking currently works in SmartClient only.
plugins.spellcheck.checkTextComponent(forms.actionDetails.elements.actionText);
// Optionally, the language can be sent as an argument to the function.
// The language string is provided from the language constants class, as in the sample below
// NOTE: the optional language, if provided, overrides the Preference Panel page setting, of the current SpellCheck provider (RapidSpell/Google).
// plugins.spellcheck.checkTextComponent(textInDutch, SpellCheck_Languages.DUTCH);

...

Table Row (tr)
classlastDetailRow
Table Cell (td)