1

How to get FaceletContext from FaceletContext in JSF 1.2?

The problem is that I am creating a Tab dynamically and I want to include a view inside the newly created Tab. Including a view is supported only by FaceletContext.

Sam
  • 11
  • 3

1 Answers1

0

Maybe with

 FacesContext.getCurrentInstance().
      getELContext().getContext(FacelectContext.class)

See ELContext#getContext(java.lang.Class)

Returns the context object associated with the given key.