How to use && in EL boolean expressions in Facelets?
I am having a little trouble figuring out how to do and's on EL expressions in Facelets. So basically I have: <h:outputText id="Prompt" value="Fobar" rendered="#{beanA.prompt == true && beanB.currentBase !=null}" /> But I keep getting: Error Traced[line: 69] The entity name must immediately follow the '&' in the entity reference. Facelets is a XML based view technology. The & is a special character in XML representing the start of an entity like & which ends with the ; character. You'd need to either escape it, which is ugly: rendered="#{beanA.prompt == true && beanB.currentBase != null}" or