org.apache.myfaces.view.facelets.tag.ui
Class LegacyIncludeHandler
java.lang.Object
javax.faces.view.facelets.TagHandler
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 1576792 2014-03-12 15:57:38Z lu4242 $
- Author:
- Jacob Hookom
LegacyIncludeHandler
public LegacyIncludeHandler(TagConfig config)
- Parameters:
config
-
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.