[jboss-cvs] jboss-seam/src/main/org/jboss/seam/security ...

Shane Bryzak Shane_Bryzak at symantec.com
Tue Jan 30 20:13:01 EST 2007


  User: sbryzak2
  Date: 07/01/30 20:13:01

  Modified:    src/main/org/jboss/seam/security  Identity.java
  Log:
  added comment about myfaces bug
  
  Revision  Changes    Path
  1.33      +5 -2      jboss-seam/src/main/org/jboss/seam/security/Identity.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Identity.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/security/Identity.java,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -b -r1.32 -r1.33
  --- Identity.java	31 Jan 2007 01:08:55 -0000	1.32
  +++ Identity.java	31 Jan 2007 01:13:01 -0000	1.33
  @@ -370,8 +370,11 @@
       * @param expr String The expression to evaluate
       * @return boolean The result of the expression evaluation
       */
  -   public boolean evaluateExpression(String expr) 
  +   protected boolean evaluateExpression(String expr) 
      {     
  +      // The following line doesn't work because of a bug in MyFaces      
  +      //return (Boolean) Expressions.instance().createValueBinding(expr).getValue();
  +
         return (Boolean) new UnifiedELValueBinding(expr).getValue( FacesContext.getCurrentInstance() );
      }   
      
  
  
  



More information about the jboss-cvs-commits mailing list