Class LegacyIncludeHandler
- java.lang.Object
-
- jakarta.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$
- Author:
- Jacob Hookom
-
-
Field Summary
-
Fields inherited from class jakarta.faces.view.facelets.TagHandler
nextHandler, tag, tagId
-
-
Constructor Summary
Constructors Constructor Description LegacyIncludeHandler(TagConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(FaceletContext ctx, UIComponent parent)
-
Methods inherited from class jakarta.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
-
-
-
-
Constructor Detail
-
LegacyIncludeHandler
public LegacyIncludeHandler(TagConfig config)
-
-
Method Detail
-
apply
public void apply(FaceletContext ctx, UIComponent parent) throws IOException, FacesException, FaceletException, jakarta.el.ELException
- Specified by:
apply
in interfaceFaceletHandler
- Throws:
IOException
FacesException
FaceletException
jakarta.el.ELException
-
-