Class ecm.widget.RadioButton


Extends dijit.form.RadioButton.
Provides a widget that contains a set of choices from which only one can be selected.

This class extends the Dojo dijit.form.RadioButton class to support hover help.


Defined in: <ecm\widget\RadioButton.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Method Summary

Method Attributes Method Name and Description
 
getErrorMessage(isFocused)
Retrieves the error message.
 
Determines if the value is valid.
 
Sets a custom validation error message string.

Constructor Detail

ecm.widget.RadioButton()

Method Detail

getErrorMessage(isFocused)

Retrieves the error message.
Parameters:
isFocused
Returns:
An error message string.

{Boolean} isValid()

Determines if the value is valid.
Returns:
{Boolean} A value of true if the value is valid, otherwise false.

setCustomValidationError(errorMessage)

Sets a custom validation error message string.
Parameters:
errorMessage
An error message string.