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

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

public final class LegacyIncludeHandler
extends TagHandler
implements ComponentContainerHandler

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. NOTE: This implementation is provided for compatibility reasons and it is considered faulty. It is enabled using org.apache.myfaces.STRICT_JSF_2_FACELETS_COMPATIBILITY web config param. Don't use it if EL expression caching is enabled.

Version:
$Id: LegacyIncludeHandler.java 1539436 2013-11-06 19:35:31Z lu4242 $
Author:
Jacob Hookom

Field Summary
 
Fields inherited from class javax.faces.view.facelets.TagHandler
nextHandler, tag, tagId
 
Constructor Summary
LegacyIncludeHandler(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
 

Constructor Detail

LegacyIncludeHandler

public LegacyIncludeHandler(TagConfig config)
Parameters:
config -
Method Detail

apply

public void apply(FaceletContext ctx,
                  UIComponent parent)
           throws IOException,
                  FacesException,
                  FaceletException,
                  javax.el.ELException
Specified by:
apply in interface FaceletHandler
Throws:
IOException
FacesException
FaceletException
javax.el.ELException


Copyright © 2014 The Apache Software Foundation. All rights reserved.