Home » tapestry-src-5.0.19 » org.apache.tapestry5.corelib.components » [javadoc | source]
org.apache.tapestry5.corelib.components
public class: PasswordField [javadoc | source]
java.lang.Object
   org.apache.tapestry5.corelib.base.AbstractField
      org.apache.tapestry5.corelib.base.AbstractTextField
         org.apache.tapestry5.corelib.components.PasswordField

All Implemented Interfaces:
    Field

A version of TextField , but rendered out as an <input type="password"> element. Further, the output value for a PasswordField is always blank. When the value provided to the PasswordField is blank, it does not update its property (care should be taken that the "required" validator not be used in that case).

Includes the size attribute, if a org.apache.tapestry5.beaneditor.Width annotation is present on the property bound to the value parameter.
Method from org.apache.tapestry5.corelib.components.PasswordField Summary:
afterRender,   ignoreBlankInput,   writeFieldTag
Methods from org.apache.tapestry5.corelib.base.AbstractTextField:
begin,   defaultAnnotationProvider,   defaultTranslate,   defaultValidate,   defaultValue,   getWidth,   ignoreBlankInput,   isRequired,   processSubmission,   writeFieldTag
Methods from org.apache.tapestry5.corelib.base.AbstractField:
afterDecorator,   beforeDecorator,   createDefaultParameterBinding,   decorateInsideField,   defaultLabel,   getClientId,   getControlName,   getLabel,   isDisabled,   isRequired,   processSubmission,   setDecorator,   setFormSupport,   setup
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tapestry5.corelib.components.PasswordField Detail:
 final  void afterRender(MarkupWriter writer) 
 protected boolean ignoreBlankInput() 
    Returns true, blank input should be ignored and not cause an update to the server-side property bound to the value parameter.
 protected final  void writeFieldTag(MarkupWriter writer,
    String value)