3 Replies Latest reply on Jan 15, 2008 6:11 AM by Pete Muir

    FacesExpressions.isFacesContextActive()

    Vladimir Kovalyuk Apprentice

       

      public class FacesExpressions extends Expressions
      {
      
       protected boolean isFacesContextActive()
       {
       return FacesContext.getCurrentInstance()==null;
       }
      


      The result is true when there is no active faces context. Is it ok?