Reply To: rewrite dynamic rule

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



big thnx both of u guys it’s fixed
i was trying to get session attribut from FacesContext.
as @Christian Kaltepoth mentioned :

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.

so i get the session attribut using : event.getRequest().getSession().getAttribute(“userSession”);