PAJES 3.0.21

org.pajes.html
Class InputPasswordConfirm

java.lang.Object
  extended by org.pajes.html.Tag
      extended by org.pajes.html.Input
          extended by org.pajes.html.InputField
              extended by org.pajes.html.InputPassword
                  extended by org.pajes.html.InputPasswordConfirm
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, HTML, InputMandatoryValidation, InputValidation

public class InputPasswordConfirm
extends InputPassword

This class creates an input field in a form that is used to confirm a password entered into an associated password field.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.pajes.html.Input
TYPE_ATTRIBUTE
 
Fields inherited from class org.pajes.html.Tag
ON_CLICK_ATTRIBUTE, TAG_CLOSE, TAG_LEFT, TAG_RIGHT
 
Constructor Summary
InputPasswordConfirm(InputPassword field)
          Creates a named input field.
InputPasswordConfirm(java.lang.String name, InputPassword field)
          Creates a named input field.
 
Method Summary
 InputPasswordConfirm setInputPassword(InputPassword field)
          Sets the password field that will be compared to the value entered in this field to ensure that the entered values are identical.
 void write(Browser browser)
          Prints the <input type="password"> tag to the browser.
 
Methods inherited from class org.pajes.html.InputField
getClientValidation, getMaxLength, getSize, isMandatory, setMandatory, setMandatory, setMandatory, setMaxLength, setMaxLength, setSize, setSize
 
Methods inherited from class org.pajes.html.Input
addClientValidation, addContent, clone, getClientValidation, getDOMReference, getFieldNameForErrorMessage, getForm, getInstance, getLabel, getName, getOnBlurHandler, getOnChangeHandler, getOnFocusHandler, getOnSelectHandler, getReadOnlyStyleSheetClass, getTabIndex, getType, getValue, isChangeFlagEnabled, isDisabled, isReadOnly, isRequiringValidation, logNoFormWarning, removeClientValidation, removeClientValidation, removeClientValidation, removeMandatoryClientValidation, setChanged, setChangedFlag, setContent, setDisabled, setFieldNameInErrorMessage, setFieldNameInErrorMessage, setForm, setId, setLabel, setName, setOnBlurHandler, setOnBlurValidation, setOnChangeHandler, setOnClickHandler, setOnFocusHandler, setOnSelectHandler, setReadOnly, setReadOnlyStyleSheetClass, setTabIndex, setTabIndex, setTabIndex, setValue
 
Methods inherited from class org.pajes.html.Tag
addAttribute, addAttributes, addAttributes, clearAttribute, clearAttributes, destroy, getAttribute, getAttributes, getAttributeSet, getContainer, getContent, getDocument, getId, getOnClickHandler, getOnDBLClickHandler, getOnKeyDownHandler, getOnKeyPressHandler, getOnKeyUpHandler, getOnMouseDownHandler, getOnMouseOutHandler, getOnMouseOverHandler, getOnMouseUpHandler, getParent, getStyle, getStyleSheetClass, getTagName, getTitle, getWritePermission, hasAttribute, init, initAttributes, isChildOf, isChildOf, isWritable, isWritable, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributes, setAttributes, setContainer, setContent, setOnDBLClickHandler, setOnKeyDownHandler, setOnKeyPressHandler, setOnKeyUpHandler, setOnMouseDownHandler, setOnMouseOutHandler, setOnMouseOverHandler, setOnMouseUpHandler, setParent, setStyle, setStyleSheetClass, setTagName, setTitle, setWritable, setWriteAttributes, setWriteEndTag, setWritelnAfter, setWritelnAfterContent, setWritelnBefore, setWritelnBeforeContent, setWritePermission, toString, writeContent
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.pajes.html.InputValidation
getDOMReference, getName, isRequiringValidation, setOnBlurValidation
 

Constructor Detail

InputPasswordConfirm

public InputPasswordConfirm(InputPassword field)
Creates a named input field.

Parameters:
field - the password field that will be compared to the value entered in this field to ensure that the entered values are identical.

InputPasswordConfirm

public InputPasswordConfirm(java.lang.String name,
                            InputPassword field)
Creates a named input field.

Parameters:
name - the name to apply to the input object, so that it may be manipulated using client-side JavaScript.
field - the password field that will be compared to the value entered in this field to ensure that the entered values are identical.
Method Detail

setInputPassword

public InputPasswordConfirm setInputPassword(InputPassword field)
Sets the password field that will be compared to the value entered in this field to ensure that the entered values are identical.

Parameters:
field - the password field that will be compared to the value entered in this field to ensure that the entered values are identical.
Returns:
this password confirmation field instance.

write

public void write(Browser browser)
           throws java.io.IOException
Prints the <input type="password"> tag to the browser.

Specified by:
write in interface HTML
Overrides:
write in class Input
Parameters:
browser - the browser to which the results are to be output.
Throws:
java.io.IOException - if an I/O error occurs writing to the browser.
See Also:
Tag.setWriteEndTag(boolean), Tag.writeContent(org.pajes.servlet.Browser)

PAJES 3.0.21

Copyright © 1998-2007 Viridian Pty Limited. All Rights Reserved.