Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.8
-
None
-
None
-
Apache TomEE 1.7.1, Linux
Description
In my XHTML-Facelets I use Passthrough-Elements whereever possible. Now I ran into a bug (IMHO) with the HTML-Class-Attribute:
<a jsf:outcome="other.xhtml" class="#
{bean.somebool?'active':''}">Linktext</a>
gives
javax.el.ELException - Cannot convert active of type class java.lang.String to class java.lang.Class
at org.apache.el.lang.ELSupport.coerceToType(ELSupport.java:419)
Changing the attribute name to jsf:styleClass works.
Changing the content of class to some static string works.
Might be related to MYFACES-3874.
Attachments
Issue Links
- relates to
-
MYFACES-3874 Component property class is not writable
- Closed