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

java.lang.Object
  extended by javax.faces.view.facelets.TagHandler
      extended by org.apache.myfaces.view.facelets.tag.composite.InsertFacetHandler
All Implemented Interfaces:
javax.faces.view.facelets.FaceletHandler

@JSFFaceletTag(name="composite:insertFacet")
public class InsertFacetHandler
extends javax.faces.view.facelets.TagHandler

Insert or move the facet from the composite component body to the expected 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 INSERT_FACET_USED
           
 
Fields inherited from class javax.faces.view.facelets.TagHandler
nextHandler, tag, tagId
 
Constructor Summary
InsertFacetHandler(javax.faces.view.facelets.TagConfig config)
           
 
Method Summary
 void apply(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent)
           
 java.lang.String getFacetName(javax.faces.view.facelets.FaceletContext ctx)
           
 
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

INSERT_FACET_USED

public static java.lang.String INSERT_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

InsertFacetHandler

public InsertFacetHandler(javax.faces.view.facelets.TagConfig config)
Method Detail

getFacetName

public java.lang.String getFacetName(javax.faces.view.facelets.FaceletContext ctx)

apply

public void apply(javax.faces.view.facelets.FaceletContext ctx,
                  javax.faces.component.UIComponent parent)
           throws java.io.IOException
Throws:
java.io.IOException


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