com.sun.facelets.tag.jsf.core
Class ValidateDelegateHandler

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

public final class ValidateDelegateHandler
extends 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 $
Author:
Jacob Hookom

Field Summary
 
Fields inherited from class com.sun.facelets.tag.TagHandler
nextHandler, tag, tagId
 
Constructor Summary
ValidateDelegateHandler(ValidatorConfig config)
           
 
Method Summary
protected  MetaRuleset createMetaRuleset(Class type)
          Extend this method in order to add your own rules.
protected  Validator createValidator(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
 

Constructor Detail

ValidateDelegateHandler

public ValidateDelegateHandler(ValidatorConfig config)
Method Detail

createValidator

protected Validator createValidator(FaceletContext ctx)
Uses the specified "validatorId" to get a new Validator instance from the Application.

Overrides:
createValidator in class ValidateHandler
Parameters:
ctx - FaceletContext to use
Returns:
a new Validator instance
See Also:
Application.createValidator(java.lang.String), ValidateHandler.createValidator(com.sun.facelets.FaceletContext)

createMetaRuleset

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

Overrides:
createMetaRuleset in class ValidateHandler
Returns:


Copyright © 2005 All Rights Reserved.