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

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

public final class AttributeHandler
extends TagHandler

Sets the specified name and attribute on the parent UIComponent. If the "value" specified is not a literal, it will instead set the ValueExpression on the UIComponent.

See tag documentation.

Version:
$Id: AttributeHandler.java,v 1.2 2005/08/24 04:38:49 jhook Exp $
Author:
Jacob Hookom
See Also:
UIComponent.getAttributes(), UIComponent.setValueExpression(java.lang.String, javax.el.ValueExpression)

Field Summary
 
Fields inherited from class com.sun.facelets.tag.TagHandler
nextHandler, tag, tagId
 
Constructor Summary
AttributeHandler(TagConfig config)
           
 
Method Summary
 void apply(FaceletContext ctx, UIComponent parent)
          Process changes on a particular UIComponent
 
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

AttributeHandler

public AttributeHandler(TagConfig config)
Parameters:
config -
Method Detail

apply

public void apply(FaceletContext ctx,
                  UIComponent parent)
           throws IOException,
                  FacesException,
                  FaceletException,
                  javax.el.ELException
Description copied from interface: FaceletHandler
Process changes on a particular UIComponent

Parameters:
ctx - the current FaceletContext instance for this execution
parent - the parent UIComponent to operate upon
Throws:
IOException
FacesException
FaceletException
javax.el.ELException


Copyright © 2005 All Rights Reserved.