0 Replies Latest reply on Jun 13, 2011 3:55 PM by ibstmt

    Compound expression in menu item?

    ibstmt Newbie

      RichFaces 3.3.3.   I cannot use 'and' condition in EL expression attached to a menu item.

       

      <rich:menuItem value="Save" submitMode="none" disabled="#{myBean.status != 2 && myBean.status != 4}">

       

      This type of expression works in a non-RichFaces project. Here, I get the following error:

       

      Error Parsing /page.xhtml: Error Traced[line: 43] The entity name must immediately follow the '&' in the entity reference.