This content has been marked as final.
Show 1 reply
-
1. Re: FaceletFactory.getInstance() returns NULL?
nbelaevski Mar 15, 2010 4:30 PM (in response to sandeepgowda)Hi,
That doesn't depend in RichFaces. Here is the piece of code (com.sun.facelets.FaceletViewHandler#buildView(FacesContext, UIViewRoot)) that explains why this happens:
Facelet f = null; FaceletFactory.setInstance(this.faceletFactory); try { f = this.faceletFactory.getFacelet(viewToRender.getViewId()); } finally { FaceletFactory.setInstance(null); }