Class UrlTextField

    • Constructor Detail

      • UrlTextField

        public UrlTextField​(String id,
                            String url)
        Construct.
        Parameters:
        id - component id
        url - the url input value
      • UrlTextField

        public UrlTextField​(String id,
                            IModel<String> model,
                            UrlValidator urlValidator)
        Construct.
        Parameters:
        id - the component id
        model - the input value
        urlValidator - 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