|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.faces.webapp.ValidatorELTag
org.apache.myfaces.taglib.core.ValidatorTag
org.apache.myfaces.taglib.core.GenericMinMaxValidatorTag<java.lang.Long>
org.apache.myfaces.taglib.core.ValidateLongRangeTag
public class ValidateLongRangeTag
| Field Summary |
|---|
| Fields inherited from class org.apache.myfaces.taglib.core.GenericMinMaxValidatorTag |
|---|
_max, _maximum, _min, _minimum |
| 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 |
| Constructor Summary | |
|---|---|
ValidateLongRangeTag()
|
|
| Method Summary | |
|---|---|
protected javax.faces.validator.Validator |
createValidator()
This method returns the Validator, you have to cast it to the correct type and apply the min and max values. |
protected java.lang.Long |
getValue(java.lang.Object value)
Wrapper method. |
protected boolean |
isMinLTMax()
|
| Methods inherited from class org.apache.myfaces.taglib.core.GenericMinMaxValidatorTag |
|---|
release, setMaximum, setMinimum |
| Methods inherited from class org.apache.myfaces.taglib.core.ValidatorTag |
|---|
setBinding, setValidatorId, setValidatorIdString |
| Methods inherited from class javax.faces.webapp.ValidatorELTag |
|---|
doStartTag |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ValidateLongRangeTag()
| Method Detail |
|---|
protected javax.faces.validator.Validator createValidator()
throws javax.servlet.jsp.JspException
GenericMinMaxValidatorTag
createValidator in class GenericMinMaxValidatorTag<java.lang.Long>javax.servlet.jsp.JspExceptionprotected boolean isMinLTMax()
isMinLTMax in class GenericMinMaxValidatorTag<java.lang.Long>protected java.lang.Long getValue(java.lang.Object value)
GenericMinMaxValidatorTag
getValue in class GenericMinMaxValidatorTag<java.lang.Long>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||