Class EmailTextField

    • Constructor Detail

      • EmailTextField

        public EmailTextField​(String id,
                              String emailAddress)
        Construct.
        Parameters:
        id - component id
        emailAddress - the email input value
      • EmailTextField

        public EmailTextField​(String id,
                              IValidator<String> emailValidator)
        Construct.

        Use this constructor when the model will be provided by a parent component.

        Parameters:
        id - component id
        emailValidator - the validator that will check the correctness of the input value
      • EmailTextField

        public EmailTextField​(String id)
        Construct.

        Use this constructor when the model will be provided by a parent component.

        Parameters:
        id - see Component
      • EmailTextField

        public EmailTextField​(String id,
                              IModel<String> model,
                              IValidator<String> emailValidator)
        Construct.
        Parameters:
        id - the component id
        model - the input value
        emailValidator - the validator that will check the correctness of the input value
    • Method Detail

      • 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