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:
FaceletHandler

@JSFFaceletTag(name="composite:renderFacet")
public class RenderFacetHandler
extends ComponentHandler

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

Version:
$Revision: 1425219 $ $Date: 2012-12-21 20:13:30 -0500 (Fri, 21 Dec 2012) $
Author:
Leonardo Uribe (latest modification by $Author: lu4242 $)

Field Summary
protected  TagAttribute _name
          The name that identify the current facet.
protected  TagAttribute _required
          Define if the facet to be inserted is required or not for every instance of this composite component.
static 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(ComponentConfig config)
           
 
Method Summary
 void apply(FaceletContext ctx, UIComponent parent)
           
 void onComponentPopulated(FaceletContext ctx, UIComponent c, 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 final String RENDER_FACET_USED
See Also:
Constant Field Values

_name

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


_required

@JSFFaceletAttribute(name="required",
                     className="javax.el.ValueExpression",
                     deferredValueType="boolean")
protected final 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(ComponentConfig config)
Method Detail

apply

public void apply(FaceletContext ctx,
                  UIComponent parent)
           throws IOException
Specified by:
apply in interface FaceletHandler
Overrides:
apply in class DelegatingMetaTagHandler
Throws:
IOException

onComponentPopulated

public void onComponentPopulated(FaceletContext ctx,
                                 UIComponent c,
                                 UIComponent parent)
Overrides:
onComponentPopulated in class ComponentHandler


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