org.apache.shale.validator.faces
Class ValidatorVarTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.apache.shale.validator.faces.ValidatorVarTag
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class ValidatorVarTag
- extends javax.servlet.jsp.tagext.TagSupport
The tag class for the s:validatorVar
tag, used to specify
parameters to specific validators of Commons Validator.
$Id: ValidatorVarTag.java 465067 2006-10-17 21:45:17Z rahul $
- See Also:
- Serialized Form
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 |
Method Summary |
int |
doEndTag()
Pass the validation parameter to the commonsValidatorTag that immediately
surrounds this tag. |
void |
setName(java.lang.String name)
The var name. |
void |
setParent(javax.servlet.jsp.tagext.Tag tag)
Keeps track of the <s:commonsValidator> tag. |
void |
setValue(java.lang.String value)
The var value. |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidatorVarTag
public ValidatorVarTag()
setParent
public void setParent(javax.servlet.jsp.tagext.Tag tag)
- Keeps track of the <s:commonsValidator> tag.
- Specified by:
setParent
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
setParent
in class javax.servlet.jsp.tagext.TagSupport
- Parameters:
tag
- the parent tag of this tag instance.
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
- Pass the validation parameter to the commonsValidatorTag that immediately
surrounds this tag.
- Specified by:
doEndTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
- Returns:
- Request to evaluate the page
- Throws:
javax.servlet.jsp.JspException
- if a JSP processing error occurs
setName
public void setName(java.lang.String name)
- The var name.
- Parameters:
name
- The variable name
setValue
public void setValue(java.lang.String value)
- The var value.
- Parameters:
value
- The variable value
Copyright © 2004-2008 Apache Software Foundation. All Rights Reserved.