org.apache.myfaces.custom.aliasbean
Class AliasBeanTagHandler

java.lang.Object
  extended by javax.faces.view.facelets.TagHandler
      extended by javax.faces.view.facelets.MetaTagHandler
          extended by javax.faces.view.facelets.DelegatingMetaTagHandler
              extended by javax.faces.view.facelets.ComponentHandler
                  extended by org.apache.myfaces.custom.aliasbean.AliasBeanTagHandler
All Implemented Interfaces:
javax.faces.view.facelets.FaceletHandler

public class AliasBeanTagHandler
extends javax.faces.view.facelets.ComponentHandler

Tag handler used in facelets

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

Field Summary
 
Fields inherited from class javax.faces.view.facelets.DelegatingMetaTagHandler
delegateFactory
 
Fields inherited from class javax.faces.view.facelets.TagHandler
nextHandler, tag, tagId
 
Constructor Summary
AliasBeanTagHandler(javax.faces.view.facelets.ComponentConfig tagConfig)
           
 
Method Summary
 void applyNextHandler(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent component)
           
 void onComponentCreated(javax.faces.view.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.
 void setAttributes(javax.faces.view.facelets.FaceletContext ctx, Object instance)
           
 
Methods inherited from class javax.faces.view.facelets.ComponentHandler
getComponentConfig, getTagHandlerDelegate, isNew, onComponentPopulated
 
Methods inherited from class javax.faces.view.facelets.DelegatingMetaTagHandler
apply, createMetaRuleset, getBinding, getTag, getTagAttribute, getTagId, isDisabled
 
Methods inherited from class javax.faces.view.facelets.TagHandler
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(javax.faces.view.facelets.ComponentConfig tagConfig)
Method Detail

setAttributes

public void setAttributes(javax.faces.view.facelets.FaceletContext ctx,
                          Object instance)
Overrides:
setAttributes in class javax.faces.view.facelets.DelegatingMetaTagHandler

applyNextHandler

public void applyNextHandler(javax.faces.view.facelets.FaceletContext ctx,
                             javax.faces.component.UIComponent component)
                      throws IOException,
                             javax.faces.FacesException,
                             javax.el.ELException
Overrides:
applyNextHandler in class javax.faces.view.facelets.DelegatingMetaTagHandler
Throws:
IOException
javax.faces.FacesException
javax.el.ELException

onComponentCreated

public void onComponentCreated(javax.faces.view.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 javax.faces.view.facelets.ComponentHandler


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