Class ecm.widget.FilteringSelect


Extends dijit.form.FilteringSelect.
Provides a combination box that consists of a drop-down list and a field. The user can select a value from the list or type a value in the field. The list is filtered to display values that begin with the value entered in the field. A valid entry must match completely with a value from the list.

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


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

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Method Summary

Method Attributes Method Name and Description
 
getErrorMessage(isFocused)
Returns the error message.
 
Returns the selected display value.
 
Retrieves the value.
 
Returns boolean indicating if valid.
 
 
Sets the custom validation error and validates.
 
setSelectedDisplayedValue(displayedValue)
Sets the selected display value.

Constructor Detail

ecm.widget.FilteringSelect()

Method Detail

getErrorMessage(isFocused)

Returns the error message.
Parameters:
isFocused
Boolean indicating if this widget is focused.
Returns:
String error message.

getSelectedDisplayedValue()

Returns the selected display value.
Returns:
The selected display value that was passed into the setSelectedDisplayedValue method.

getValue()

Retrieves the value.
Returns:
The value.

isValid()

Returns boolean indicating if valid.
Returns:
Boolean indicating if valid.

postCreate()


setCustomValidationError(errorMessage)

Sets the custom validation error and validates.
Parameters:
errorMessage
The input custom error message.

setSelectedDisplayedValue(displayedValue)

Sets the selected display value.
Parameters:
displayedValue
The displayed value to set.