If you are using jspx compilation, use 'and' instead of '&&' in EL
Volker Weber (JIRA) wrote:
[ https://issues.apache.org/jira/browse/TOBAGO-287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12475034 ]
Volker Weber commented on TOBAGO-287:
-------------------------------------
The tc:cell component (org.apache.myfaces.tobago.component.UICell) extends org.apache.myfaces.tobago.component.UIPanel
which extends javax.faces.component.UIPanel,
both tobago components did not overwrite getRendered().
So i think the problem must be somwhere in the underlying jsf implementation,
which are you using?
Can you create a small example in plain jsf with the use of h:panel, to ensure
the problem is not there.
Error using && on "rendered" attribute in <tc:out> tag
------------------------------------------------------
Key: TOBAGO-287
URL: https://issues.apache.org/jira/browse/TOBAGO-287
Project: MyFaces Tobago
Issue Type: Bug
Affects Versions: 1.0.9
Environment: winxp prof, tomcat 5.5.20, myfaces 1.1.5 snap (06.02.2007
04:51), tobago 1.0.10 snap (16.02.2007 5:11)
Reporter: Guido Dubois
Get error by using && on "rendered" attribute in <tc:out> tag. Using "and"
instead works...
<tc:out value="Fallgruppe :: #{basicController.fallGruppe}"
rendered="#{(navigation.currentPage == 'overview/ekaw') && true}" />
2007-02-16 23:16:44 ERROR -
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bbg].[jsp]:704
- Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /overview/header.jspx(41,70) The entity name
must immediately follow the '&' in the entity reference.