org.apache.myfaces.view.facelets.tag.composite
Class RenderFacetHandler

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.view.facelets.tag.composite.RenderFacetHandler
All Implemented Interfaces:
javax.faces.view.facelets.FaceletHandler

@JSFFaceletTag(name="composite:renderFacet")
public class RenderFacetHandler
extends javax.faces.view.facelets.ComponentHandler

Render the facet defined on the composite component body to the current location

Version:
$Revision: 960906 $ $Date: 2010-07-06 09:45:40 -0500 (Tue, 06 Jul 2010) $
Author:
Leonardo Uribe (latest modification by $Author: jakobk $)

Field Summary
protected  javax.faces.view.facelets.TagAttribute _name
          The name that identify the current facet.
protected  javax.faces.view.facelets.TagAttribute _required
          Define if the facet to be inserted is required or not for every instance of this composite component.
static java.lang.String RENDER_FACET_USED
           
 
Fields inherited from class javax.faces.view.facelets.DelegatingMetaTagHandler
delegateFactory
 
Fields inherited from class javax.faces.view.facelets.TagHandler
nextHandler, tag, tagId
 
Constructor Summary
RenderFacetHandler(javax.faces.view.facelets.ComponentConfig config)
           
 
Method Summary
 void apply(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent)
           
 void onComponentPopulated(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent c, javax.faces.component.UIComponent parent)
           
 
Methods inherited from class javax.faces.view.facelets.ComponentHandler
getComponentConfig, getTagHandlerDelegate, isNew, onComponentCreated
 
Methods inherited from class javax.faces.view.facelets.DelegatingMetaTagHandler
applyNextHandler, createMetaRuleset, getBinding, getTag, getTagAttribute, getTagId, isDisabled, setAttributes
 
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
 

Field Detail

RENDER_FACET_USED

public static java.lang.String RENDER_FACET_USED

_name

@JSFFaceletAttribute(name="name",
                     className="javax.el.ValueExpression",
                     deferredValueType="java.lang.String",
                     required=true)
protected final javax.faces.view.facelets.TagAttribute _name
The name that identify the current facet.


_required

@JSFFaceletAttribute(name="required",
                     className="javax.el.ValueExpression",
                     deferredValueType="boolean")
protected final javax.faces.view.facelets.TagAttribute _required
Define if the facet to be inserted is required or not for every instance of this composite component.

Constructor Detail

RenderFacetHandler

public RenderFacetHandler(javax.faces.view.facelets.ComponentConfig config)
Method Detail

apply

public void apply(javax.faces.view.facelets.FaceletContext ctx,
                  javax.faces.component.UIComponent parent)
           throws java.io.IOException
Specified by:
apply in interface javax.faces.view.facelets.FaceletHandler
Overrides:
apply in class javax.faces.view.facelets.DelegatingMetaTagHandler
Throws:
java.io.IOException

onComponentPopulated

public void onComponentPopulated(javax.faces.view.facelets.FaceletContext ctx,
                                 javax.faces.component.UIComponent c,
                                 javax.faces.component.UIComponent parent)
Overrides:
onComponentPopulated in class javax.faces.view.facelets.ComponentHandler


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