weblogicx.jsp.tags.validators
Class ValidatableTagAdapter
java.lang.Object
weblogicx.jsp.tags.validators.ValidatableAdapter
weblogicx.jsp.tags.validators.ValidatableTagAdapter
- All Implemented Interfaces:
- Serializable, Validatable
- Direct Known Subclasses:
- CustomValidator
public abstract class ValidatableTagAdapter
- extends ValidatableAdapter
- See Also:
- Serialized Form
Methods inherited from class weblogicx.jsp.tags.validators.ValidatableAdapter |
decodeHiddenField, defaultDecodeHiddenField, defaultWriteHiddenField, getErrorMessage, getFieldToValidate, isValid, setErrorMessage, setFieldToValidate, setIsValid, validate, writeHiddenField |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parent
protected Tag parent
pageContext
protected PageContext pageContext
bodyContent
protected BodyContent bodyContent
ValidatableTagAdapter
public ValidatableTagAdapter()
setPageContext
public void setPageContext(PageContext pc)
setParent
public void setParent(Tag t)
getParent
public Tag getParent()
setBodyContent
public void setBodyContent(BodyContent b)
doStartTag
public int doStartTag()
throws JspException
- Throws:
JspException
doInitBody
public void doInitBody()
doAfterBody
public int doAfterBody()
doEndTag
public int doEndTag()
throws JspException
- Throws:
JspException
release
public void release()
getHiddenField
public String getHiddenField()
throws JspException
- Throws:
JspException
userExit
public abstract boolean userExit()
throws JspException
- This acts as an User Exit... This Class guarantees
that this method will be called in the
doStartTag method.
- Returns:
- boolean which says whether the user exit
was successful or not.
true --> EVAL_BODY_TAG
false --> SKIP_BODY
- Throws:
JspException