Skip to Main Content

Including a Facelet with FaceletContext.includeFacelet()

1026476Jul 19 2013

Hello;

I hardly need to include a facelt in  FaceletContext, but it seems there's no way to do it with facelet 1.15 (i 'm using myFaces 1.12 and Facelet 1.15)

i tryed  to get FaceletContext by FacesContext in this way : FacesContext.getCurrentInstance().getELContext().getContext(com.sun.facelets.FaceletContext.class) but the result is always null in every phases of jsf lifecycle, i aslo  tryed to get the

FaceletFactory with FaceletFactory.getInstance() but whit the same result.

Any Idea?

Thanks in advance.

Stefano

Comments
Post Details
Added on Jul 19 2013
0 comments
828 views