com.mycompany.jsf.taglib
Class ValidateLaterThanTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.faces.webapp.ValidatorTag
          extended bycom.mycompany.jsf.taglib.ValidateLaterThanTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class ValidateLaterThanTag
extends javax.faces.webapp.ValidatorTag

This class is a tag handler that creates and configures a "com.mycompany.jsf.validator.LATER_THAN" validator.

Version:
1.0
Author:
Hans Bergsten, Gefion Software
See Also:
Serialized Form

Field Summary
private  java.lang.String peerId
           
 
Fields inherited from class javax.faces.webapp.ValidatorTag
 
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
ValidateLaterThanTag()
           
 
Method Summary
protected  javax.faces.validator.Validator createValidator()
          Returns a new instance of the validator registered under the name "com.mycompany.jsf.validator.LATER_THAN", configured with the "than" property value.
 void setThan(java.lang.String peerId)
          Sets the client ID for the component holding the value to compare the value of the component with this validator to.
 
Methods inherited from class javax.faces.webapp.ValidatorTag
doStartTag, release, 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
 

Field Detail

peerId

private java.lang.String peerId
Constructor Detail

ValidateLaterThanTag

public ValidateLaterThanTag()
Method Detail

setThan

public void setThan(java.lang.String peerId)
Sets the client ID for the component holding the value to compare the value of the component with this validator to.


createValidator

protected javax.faces.validator.Validator createValidator()
Returns a new instance of the validator registered under the name "com.mycompany.jsf.validator.LATER_THAN", configured with the "than" property value.