org.apache.myfaces.commons.validator
Class ValidatorBaseTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.faces.webapp.ValidatorTag
          extended by org.apache.myfaces.commons.validator.ValidatorBaseTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class ValidatorBaseTag
extends javax.faces.webapp.ValidatorTag

ValidatorBaseTag provides support for ValidatorBase subclasses. ValidatorBaseTag subclass tld entries should include the following to pick up attribute defintions. &ext_validator_base_attributes;

Version:
$Revision: 680758 $
Author:
mkienenb (latest modification by $Author: lu4242 $)
See Also:
Serialized Form

Field Summary
 
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
ValidatorBaseTag()
           
 
Method Summary
protected  javax.faces.validator.Validator createValidator()
           
 void release()
           
 void setDetailMessage(String detailMessage)
           
 void setMessage(String string)
           
 void setSummaryMessage(String summaryMessage)
           
 
Methods inherited from class javax.faces.webapp.ValidatorTag
doStartTag, setValidatorId
 
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

ValidatorBaseTag

public ValidatorBaseTag()
Method Detail

setMessage

public void setMessage(String string)

setDetailMessage

public void setDetailMessage(String detailMessage)

setSummaryMessage

public void setSummaryMessage(String summaryMessage)

createValidator

protected javax.faces.validator.Validator createValidator()
                                                   throws javax.servlet.jsp.JspException
Overrides:
createValidator in class javax.faces.webapp.ValidatorTag
Throws:
javax.servlet.jsp.JspException

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.faces.webapp.ValidatorTag


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.