Stripes Tag Library
Tag password


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.

Repopulation of values for password tags is optional, and by default is not performed. To control this behaviour explicitly use the repopluate tag attribute.



Tag Information
Tag Classnet.sourceforge.stripes.tag.InputPasswordTag
TagExtraInfo ClassNone
Body ContentJSP
Display Namepassword

Attributes
NameRequiredRequest-timeTypeDescription
nametruetruejava.lang.StringThe name of the form field.
sizefalsetruejava.lang.StringThe size of the form field. (HTML Pass-through)
valuefalsetruejava.lang.StringA default value for the form field. Can be a literal value, or an EL expression.
disabledfalsetruejava.lang.StringDisables the input element when it first loads so that the user can not write text in it, or select it. (HTML Pass-through)
readonlyfalsetruejava.lang.StringIndicates that the value of this field cannot be modified. (HTML Pass-through)
maxlengthfalsetruejava.lang.StringThe maximum number of characters that can be entered in the field. (HTML Pass-through)
formatTypefalsetruejava.lang.StringThe 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'.
formatPatternfalsetruejava.lang.StringThe 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.
repopulatefalsetrueboolean 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.
accesskeyfalsetruejava.lang.StringKeyboard shortcut to access the element. (HTML Pass-through)
classfalsetruejava.lang.StringThe CSS class to be applied to the element. (HTML Pass-through)
dirfalsetruejava.lang.StringText direction. (HTML Pass-through)
idfalsetruejava.lang.StringA unique identifier for the HTML tag on the page. (HTML Pass-through)
langfalsetruejava.lang.StringThe language code of the element. (HTML Pass-through)
onblurfalsetruejava.lang.StringScripting code run when the element loses focus. (HTML Pass-through)
onchangefalsetruejava.lang.StringScripting code run when the element changes. (HTML Pass-through)
onclickfalsetruejava.lang.StringScripting code run on each mouse click. (HTML Pass-through)
ondblclickfalsetruejava.lang.StringScripting code run on a double-click of the mouse. (HTML Pass-through)
onfocusfalsetruejava.lang.StringScripting code run when the element acquires focus. (HTML Pass-through)
onkeydownfalsetruejava.lang.StringScripting code run when a key is depressed. (HTML Pass-through)
onkeypressfalsetruejava.lang.StringScripting code run when a key is pressed and released. (HTML Pass-through)
onkeyupfalsetruejava.lang.StringScripting code run when a key is released. (HTML Pass-through)
onmousedownfalsetruejava.lang.StringScripting code run when a mouse button is depressed. (HTML Pass-through)
onmousemovefalsetruejava.lang.StringScripting code run when the mouse pointer is moved. (HTML Pass-through)
onmouseoutfalsetruejava.lang.StringScripting code run when the mouse pointer moves out of the element. (HTML Pass-through)
onmouseoverfalsetruejava.lang.StringScripting code run when the mouse pointer moves over the element. (HTML Pass-through)
onmouseupfalsetruejava.lang.StringScripting code run when a mouse button is released. (HTML Pass-through)
onselectfalsetruejava.lang.StringScripting code run when an element is selected. (HTML Pass-through)
stylefalsetruejava.lang.StringInline CSS style fragment that applies to the element (HTML Pass-through)
tabindexfalsetruejava.lang.StringThe tab order of the element. (HTML Pass-through)
titlefalsetruejava.lang.StringTool-tip text for the element. (HTML Pass-through)

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.