Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.sun.facelets.tag.jsf.core
Class ValidateDelegateHandler  view ValidateDelegateHandler download ValidateDelegateHandler.java

java.lang.Object
  extended bycom.sun.facelets.tag.TagHandler
      extended bycom.sun.facelets.tag.MetaTagHandler
          extended bycom.sun.facelets.tag.jsf.ValidateHandler
              extended bycom.sun.facelets.tag.jsf.core.ValidateDelegateHandler
All Implemented Interfaces:
com.sun.facelets.FaceletHandler

public final class ValidateDelegateHandler
extends com.sun.facelets.tag.jsf.ValidateHandler

Register a named Validator instance on the UIComponent associated with the closest parent UIComponent custom action.

See tag documentation.

Version:
$Id: ValidateDelegateHandler.java,v 1.3 2005/08/24 04:38:50 jhook Exp $

Field Summary
private  com.sun.facelets.tag.TagAttribute validatorId
           
 
Fields inherited from class com.sun.facelets.tag.jsf.ValidateHandler
 
Fields inherited from class com.sun.facelets.tag.MetaTagHandler
 
Fields inherited from class com.sun.facelets.tag.TagHandler
nextHandler, tag, tagId
 
Constructor Summary
ValidateDelegateHandler(com.sun.facelets.tag.jsf.ValidatorConfig config)
           
 
Method Summary
protected  com.sun.facelets.tag.MetaRuleset createMetaRuleset(java.lang.Class type)
          Extend this method in order to add your own rules.
protected  javax.faces.validator.Validator createValidator(com.sun.facelets.FaceletContext ctx)
          Uses the specified "validatorId" to get a new Validator instance from the Application.
 
Methods inherited from class com.sun.facelets.tag.jsf.ValidateHandler
apply
 
Methods inherited from class com.sun.facelets.tag.MetaTagHandler
setAttributes
 
Methods inherited from class com.sun.facelets.tag.TagHandler
findNextByType, getAttribute, getRequiredAttribute, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

validatorId

private final com.sun.facelets.tag.TagAttribute validatorId
Constructor Detail

ValidateDelegateHandler

public ValidateDelegateHandler(com.sun.facelets.tag.jsf.ValidatorConfig config)
Method Detail

createValidator

protected javax.faces.validator.Validator createValidator(com.sun.facelets.FaceletContext ctx)
Uses the specified "validatorId" to get a new Validator instance from the Application.


createMetaRuleset

protected com.sun.facelets.tag.MetaRuleset createMetaRuleset(java.lang.Class type)
Description copied from class: com.sun.facelets.tag.MetaTagHandler
Extend this method in order to add your own rules.