Class FaceletContextImplBase

java.lang.Object
jakarta.el.ELContext
jakarta.faces.view.facelets.FaceletContext
com.sun.faces.facelets.FaceletContextImplBase

public abstract class FaceletContextImplBase extends FaceletContext
Author:
edburns
  • Constructor Details

    • FaceletContextImplBase

      public FaceletContextImplBase()
  • Method Details

    • pushClient

      public abstract void pushClient(TemplateClient client)
      Push the passed TemplateClient onto the stack for Definition Resolution
      Parameters:
      client - the template client
      See Also:
    • popClient

      public abstract void popClient(TemplateClient client)
      Pop the last added TemplateClient
      Parameters:
      client - the template client
      See Also:
    • extendClient

      public abstract void extendClient(TemplateClient client)
    • includeDefinition

      public abstract boolean includeDefinition(UIComponent parent, String name) throws IOException, FaceletException, FacesException, jakarta.el.ELException
      This method will walk through the TemplateClient stack to resolve and apply the definition for the passed name. If it's been resolved and applied, this method will return true.
      Parameters:
      parent - the UIComponent to apply to
      name - name or null of the definition you want to apply
      Returns:
      true if successfully applied, otherwise false
      Throws:
      IOException - when an I/O exception occurs
      FaceletException - when a Facelet exception occurs
      FacesException - when a Faces exception occurs
      jakarta.el.ELException - when an EL exception occurs