Class PasswordTextField

    • Method Detail

      • getResetPassword

        public final boolean getResetPassword()
        Should password be reset, see setResetPassword(boolean).
        Returns:
        should password be resetted
      • setResetPassword

        public final PasswordTextField setResetPassword​(boolean resetPassword)
        Flag indicating whether the password should be reset after each request. Additionally any present value is not rendered into the markup.
        If true, the model object is set to null after each request to prevent it being serialized along with the containing page. This is default and highly recommended for login forms. If false the model value is handled as in a standard TextField, this is useful for entry forms where the contents of the model should be editable, or resubmitted.
        Parameters:
        resetPassword - The resetPassword to set.
        Returns:
        this.
      • getInputTypes

        protected String[] getInputTypes()
        Description copied from class: TextField
        Subclass should override this method if this textfield is mapped on a different input type as text. Like PasswordTextField or HiddenField.
        Overrides:
        getInputTypes in class TextField<String>
        Returns:
        The input type of this textfield, default is null