Skip navigation links

Jakarta Server Fages API v2.3.2
com.sun.faces.taglib.jsf_core

Class AbstractValidatorTag

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      protected javax.el.ValueExpression binding
      The ValueExpression that evaluates to an object that implements Converter.
      protected javax.el.ValueExpression validatorId
      The identifier of the Validator instance to be created.
      • Fields inherited from class javax.servlet.jsp.tagext.TagSupport

        id, pageContext
      • Fields inherited from interface javax.servlet.jsp.tagext.IterationTag

        EVAL_BODY_AGAIN
      • Fields inherited from interface javax.servlet.jsp.tagext.Tag

        EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
    • Field Detail

      • binding

        protected javax.el.ValueExpression binding

        The ValueExpression that evaluates to an object that implements Converter.

      • validatorId

        protected javax.el.ValueExpression validatorId

        The identifier of the Validator instance to be created.

    • Constructor Detail

      • AbstractValidatorTag

        public AbstractValidatorTag()
    • Method Detail

      • setBinding

        public void setBinding(javax.el.ValueExpression binding)

        Set the expression that will be used to create a ValueExpression that references a backing bean property of the Validator instance to be created.

        Parameters:
        binding - The new expression
      • setValidatorId

        public void setValidatorId(javax.el.ValueExpression validatorId)

        Set the identifer of the Validator instance to be created.

        Parameters:
        validatorId - The identifier of the converter instance to be created.
      • createValidator

        protected Validator createValidator()
                                     throws javax.servlet.jsp.JspException
        Description copied from class: ValidatorELTag

        Create and return a new Validator to be registered on our surrounding UIComponent.

        Specified by:
        createValidator in class ValidatorELTag
        Returns:
        the created Validator
        Throws:
        javax.servlet.jsp.JspException - if a new instance cannot be created
      • createValidator

        protected static Validator createValidator(javax.el.ValueExpression validatorId,
                                                   javax.el.ValueExpression binding,
                                                   FacesContext facesContext)

Jakarta Server Fages API v2.3.2

Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.