Ampersands denote entities in XML/X/HTML. They must be escaped as &

Note that:
 - you should put all that stuff inside a single expression
 - you could use *and* instead
 - stackoverflow.com is probably a better place for stuff like this

On Mon, May 3, 2010 at 6:43 PM, scphantm <[email protected]> wrote:

> im doing something with EL expressions in faces.  here is my
> expresison
>
> rendered="#{menuBackingEJB.enable_eca} && #{configBean.citiVer !=
> 'ca'}"
>
> and im getting the error
>
> The entity name must immediately follow the '&' in the entity
> reference.
>
> enable_eca is a boolean value, can someone give me a hand with this
> real quick?
>
> thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "The Java Posse" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<javaposse%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/javaposse?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to