public class ValidateLongRangeTag extends MaxMinValidatorTag
validate_longrange
tag.Modifier and Type | Field and Description |
---|---|
protected long |
maximum |
protected javax.el.ValueExpression |
maximumExpression |
protected long |
minimum |
protected javax.el.ValueExpression |
minimumExpression |
maximumSet, minimumSet
binding, validatorId
Constructor and Description |
---|
ValidateLongRangeTag() |
Modifier and Type | Method and Description |
---|---|
protected javax.faces.validator.Validator |
createValidator()
Create and return a new
Validator to be registered
on our surrounding UIComponent . |
int |
doStartTag()
Create a new instance of the specified
Validator
class, and register it with the UIComponent instance associated
with our most immediately surrounding UIComponentTagBase instance, if
the UIComponent instance was created by this execution of the
containing JSP page. |
void |
setMaximum(javax.el.ValueExpression newMaximum) |
void |
setMinimum(javax.el.ValueExpression newMinimum) |
createValidator, setBinding, setValidatorId
protected javax.el.ValueExpression maximumExpression
protected javax.el.ValueExpression minimumExpression
protected long maximum
protected long minimum
public void setMaximum(javax.el.ValueExpression newMaximum)
public void setMinimum(javax.el.ValueExpression newMinimum)
public int doStartTag() throws javax.servlet.jsp.JspException
javax.faces.webapp.ValidatorELTag
Create a new instance of the specified Validator
class, and register it with the UIComponent
instance associated
with our most immediately surrounding UIComponentTagBase
instance, if
the UIComponent
instance was created by this execution of the
containing JSP page.
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.faces.webapp.ValidatorELTag
javax.servlet.jsp.JspException
- if a JSP error occursprotected javax.faces.validator.Validator createValidator() throws javax.servlet.jsp.JspException
javax.faces.webapp.ValidatorELTag
Create and return a new Validator
to be registered
on our surrounding UIComponent
.
createValidator
in class AbstractValidatorTag
Validator
javax.servlet.jsp.JspException
- if a new instance cannot be createdCopyright © 2010–2019 JBoss by Red Hat. All rights reserved.