Class ecm.widget.ValidationTextBoxFileNameNoExtension


Extends ecm.widget.ValidationTextBox.
Provides a widget that contains a text box in which the user can enter the file name and the extension is not shown to the user.
Defined in: <ecm\widget\ValidationTextBoxFileNameNoExtension.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Method Summary

Method Attributes Method Name and Description
 
Clears the extension.
 
Returns the extension.
 
Returns the value with the extension.
 
 
Disables the stripping out of the extension.
Methods borrowed from class ecm.widget.ValidationTextBox:
destroy, getErrorMessage, isValid, setCustomValidationError, validate, validator

Constructor Detail

ecm.widget.ValidationTextBoxFileNameNoExtension()

Since:
2.0.3.5

Method Detail

clearExtension()

Clears the extension. The next time the value is set this widget will recalculate (and hide) the extension.

getExtension()

Returns the extension.

getValue()

Returns the value with the extension.

postCreate()


setDisableNoExtension(bool)

Disables the stripping out of the extension. This can be used for external files that have a name with no extension stripping needed.
Parameters:
bool