Class PasswordFieldTag

  • All Implemented Interfaces:
    ConditionalTag, org.apache.commons.jelly.Tag

    public class PasswordFieldTag
    extends TextFieldTag

    A specialized tag handler implementation for creating password text fields.

    This tag handler class works analogously to TextFieldTag, and also the same attributes are supported. The only difference is that this tag produces input fields for passwords, i.e. the characters typed in by the user are not displayed. Tags of this class can be used for instance in login windows.

    Version:
    $Id: PasswordFieldTag.java 205 2012-01-29 18:29:57Z oheger $
    Author:
    Oliver Heger
    • Constructor Detail

      • PasswordFieldTag

        public PasswordFieldTag()
    • Method Detail

      • createComponentHandler

        protected ComponentHandler<?> createComponentHandler​(ComponentManager manager,
                                                             boolean create)
                                                      throws FormBuilderException,
                                                             org.apache.commons.jelly.JellyTagException
        Creates the ComponentHandler for this task. This implementation asks the ComponentManager to create a handler for a password text field.
        Overrides:
        createComponentHandler in class TextFieldTag
        Parameters:
        manager - the ComponentManager
        create - the create flag
        Returns:
        the newly created ComponentHandler
        Throws:
        FormBuilderException - if an error occurs
        org.apache.commons.jelly.JellyTagException - if the tag is used incorrectly