Tag that generates HTML form fields of type
<input type="password" name="foo" value="bar"/>,
which can optionally re-populate their value, and provide error display/formatting
consistent with the rest of the Stripes input tags. Password tags may have only a single
value, whose default may be set using either the body of the tag, or using the
value="" attribute of the tag. At runtime the contents of the text field are
determined by looking first for a non-null body and if one is not found, then a
non-null value attribute.
Attributes |
Name | Required | Request-time | Type | Description |
name | true | true | java.lang.String | The name of the form field. |
size | false | true | java.lang.String | The size of the form field. (HTML Pass-through) |
value | false | true | java.lang.String | A default value for the form field. Can be a literal value, or an EL expression. |
disabled | false | true | java.lang.String | Disables the input element when it first loads so that the user can not write text in it, or select it. (HTML Pass-through) |
readonly | false | true | java.lang.String | Indicates that the value of this field cannot be modified. (HTML Pass-through) |
maxlength | false | true | java.lang.String | The maximum number of characters that can be entered in the field. (HTML Pass-through) |
formatType | false | true | java.lang.String | The type used to format the object. If the value is a date, valid values are 'date', 'time' and 'datetime'. If the value is a Number, valid values are 'number', 'percentage' and 'currency'. |
formatPattern | false | true | java.lang.String | The pattern to apply. Can be either a named pattern or an actual pattern as understood by java.text.DateFormat or java.text.NumberFormat as appropriate for the type of object being formatted. |
repopulate | false | true | boolean |
Determines whether value repopulation will occur. If set to true the values will be repopulated
in a manner identical to regular text fields. If set to false (the default) then repopluation
will not occur.
|
accesskey | false | true | java.lang.String | Keyboard shortcut to access the element. (HTML Pass-through) |
class | false | true | java.lang.String | The CSS class to be applied to the element. (HTML Pass-through) |
dir | false | true | java.lang.String | Text direction. (HTML Pass-through) |
id | false | true | java.lang.String | A unique identifier for the HTML tag on the page. (HTML Pass-through) |
lang | false | true | java.lang.String | The language code of the element. (HTML Pass-through) |
onblur | false | true | java.lang.String | Scripting code run when the element loses focus. (HTML Pass-through) |
onchange | false | true | java.lang.String | Scripting code run when the element changes. (HTML Pass-through) |
onclick | false | true | java.lang.String | Scripting code run on each mouse click. (HTML Pass-through) |
ondblclick | false | true | java.lang.String | Scripting code run on a double-click of the mouse. (HTML Pass-through) |
onfocus | false | true | java.lang.String | Scripting code run when the element acquires focus. (HTML Pass-through) |
onkeydown | false | true | java.lang.String | Scripting code run when a key is depressed. (HTML Pass-through) |
onkeypress | false | true | java.lang.String | Scripting code run when a key is pressed and released. (HTML Pass-through) |
onkeyup | false | true | java.lang.String | Scripting code run when a key is released. (HTML Pass-through) |
onmousedown | false | true | java.lang.String | Scripting code run when a mouse button is depressed. (HTML Pass-through) |
onmousemove | false | true | java.lang.String | Scripting code run when the mouse pointer is moved. (HTML Pass-through) |
onmouseout | false | true | java.lang.String | Scripting code run when the mouse pointer moves out of the element. (HTML Pass-through) |
onmouseover | false | true | java.lang.String | Scripting code run when the mouse pointer moves over the element. (HTML Pass-through) |
onmouseup | false | true | java.lang.String | Scripting code run when a mouse button is released. (HTML Pass-through) |
onselect | false | true | java.lang.String | Scripting code run when an element is selected. (HTML Pass-through) |
style | false | true | java.lang.String | Inline CSS style fragment that applies to the element (HTML Pass-through) |
tabindex | false | true | java.lang.String | The tab order of the element. (HTML Pass-through) |
title | false | true | java.lang.String | Tool-tip text for the element. (HTML Pass-through) |