org.apache.myfaces.custom.aliasbean
Class AliasBeanTagHandler

java.lang.Object
  extended by com.sun.facelets.tag.TagHandler
      extended by com.sun.facelets.tag.MetaTagHandler
          extended by com.sun.facelets.tag.jsf.ComponentHandler
              extended by org.apache.myfaces.custom.aliasbean.AliasBeanTagHandler
All Implemented Interfaces:
com.sun.facelets.FaceletHandler

public class AliasBeanTagHandler
extends com.sun.facelets.tag.jsf.ComponentHandler

Tag handler used in facelets

Since:
1.1.7
Version:
$Revision: 691856 $ $Date: 2008-09-03 21:40:30 -0500 (Wed, 03 Sep 2008) $
Author:
Leonardo Uribe (latest modification by $Author: lu4242 $)

Field Summary
 
Fields inherited from class com.sun.facelets.tag.TagHandler
nextHandler, tag, tagId
 
Constructor Summary
AliasBeanTagHandler(com.sun.facelets.tag.jsf.ComponentConfig tagConfig)
           
 
Method Summary
protected  void applyNextHandler(com.sun.facelets.FaceletContext ctx, javax.faces.component.UIComponent component)
           
protected  void onComponentCreated(com.sun.facelets.FaceletContext faceletcontext, javax.faces.component.UIComponent component, javax.faces.component.UIComponent parent)
          We have to add the children to the parent, for ensure proper behavior between aliasBean and aliasBeansScope.
protected  void setAttributes(com.sun.facelets.FaceletContext ctx, Object instance)
           
 
Methods inherited from class com.sun.facelets.tag.jsf.ComponentHandler
apply, createComponent, createMetaRuleset, getFacetName, getId, onComponentPopulated
 
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

AliasBeanTagHandler

public AliasBeanTagHandler(com.sun.facelets.tag.jsf.ComponentConfig tagConfig)
Method Detail

setAttributes

protected void setAttributes(com.sun.facelets.FaceletContext ctx,
                             Object instance)
Overrides:
setAttributes in class com.sun.facelets.tag.MetaTagHandler

applyNextHandler

protected void applyNextHandler(com.sun.facelets.FaceletContext ctx,
                                javax.faces.component.UIComponent component)
                         throws IOException,
                                javax.faces.FacesException,
                                javax.el.ELException
Overrides:
applyNextHandler in class com.sun.facelets.tag.jsf.ComponentHandler
Throws:
IOException
javax.faces.FacesException
javax.el.ELException

onComponentCreated

protected void onComponentCreated(com.sun.facelets.FaceletContext faceletcontext,
                                  javax.faces.component.UIComponent component,
                                  javax.faces.component.UIComponent parent)
We have to add the children to the parent, for ensure proper behavior between aliasBean and aliasBeansScope.

Overrides:
onComponentCreated in class com.sun.facelets.tag.jsf.ComponentHandler


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.