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

@JSFFaceletTag(name="composite:insertFacet")
public class InsertFacetHandler
extends TagHandler

Insert or move the facet from the composite component body to the expected location.

Version:
$Revision: 904329 $ $Date: 2010-01-28 19:54:49 -0500 (Thu, 28 Jan 2010) $
Author:
Leonardo Uribe (latest modification by $Author: lu4242 $)

Nested Class Summary
static class InsertFacetHandler.RelocateFacetListener
           
 
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 java.lang.String INSERT_FACET_ORDERING
           
static java.lang.String INSERT_FACET_TARGET_ID
           
static java.lang.String USES_INSERT_FACET
           
 
Fields inherited from class javax.faces.view.facelets.TagHandler
nextHandler, tag, tagId
 
Constructor Summary
InsertFacetHandler(TagConfig config)
           
 
Method Summary
 void apply(FaceletContext ctx, UIComponent parent)
           
 
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

USES_INSERT_FACET

public static java.lang.String USES_INSERT_FACET

INSERT_FACET_TARGET_ID

public static java.lang.String INSERT_FACET_TARGET_ID

INSERT_FACET_ORDERING

public static java.lang.String INSERT_FACET_ORDERING

_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

InsertFacetHandler

public InsertFacetHandler(TagConfig config)
Method Detail

apply

public void apply(FaceletContext ctx,
                  UIComponent parent)
           throws java.io.IOException
Throws:
java.io.IOException


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