Reply To: rewrite dynamic rule

Splash Forums Rewrite Users rewrite dynamic rule Reply To: rewrite dynamic rule


According to the stacktrace the error is caused by an NPE in your JSFUtils class. 😉

But I guess that you are trying to access FacesContext there, correct? This won’t work, because the HttpCondition will be executed before the JSF lifecycle starts.

I’m not completely sure how JSF handles session scoped managed beans, but I guess you could try something like that instead to obtain the bean:


Where event is the HttpServletRewrite passed to the condition.