Jakarta > Tapestry
Jakarta
 

MaskEdit

Provides a mask edit HTML <input type="text"> form element.
Mask edit field validates the text the user enters against a mask that encodes the valid forms the text can take. The mask can also format text that is displayed to the user.

Mask character Meaning in mask
lMixed case letter character [a..z, A..Z]
LUpper case letter character [A..Z]
aMixed case alpha numeric character [a..z, A..Z, 0..1]
AUpper case alpha numeric character [A..Z, 0..9]
#Numeric character [0..9]
_Reserved character for display, do not use.
othersNon editable character for display.

This component requires JavaScript to be enabled in the client browser.

See also: Form

Parameters

Name Type Direction Required Default Description
mask string in no   See above.
value string in / out yes   The value to be editted, which is is usually a string.
disabled boolean in no false If true, then a disabled attribute will be rendered as part of the <input> tag, and the component will not update its value parameter when the form is submitted.

Body: removed

Informal parameters: forbidden

Reserved parameters: none