org.apache.myfaces.view.facelets.tag.ui
Class IncludeHandler

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

@JSFFaceletTag(name="ui:include",
               bodyContent="JSP")
public final class IncludeHandler
extends javax.faces.view.facelets.TagHandler

The include tag can point at any Facelet which might use the composition tag, component tag, or simply be straight XHTML/XML. It should be noted that the src path does allow relative path names, but they will always be resolved against the original Facelet requested. The include tag can be used in conjunction with multiple <ui:param/> tags to pass EL expressions/values to the target page.

Version:
$Id: IncludeHandler.java,v 1.5 2008/07/13 19:01:41 rlubke Exp $
Author:
Jacob Hookom

Field Summary
 
Fields inherited from class javax.faces.view.facelets.TagHandler
nextHandler, tag, tagId
 
Constructor Summary
IncludeHandler(javax.faces.view.facelets.TagConfig config)
           
 
Method Summary
 void apply(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.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
 

Constructor Detail

IncludeHandler

public IncludeHandler(javax.faces.view.facelets.TagConfig config)
Parameters:
config -
Method Detail

apply

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


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