Implicit expression language object “component” not working in jsf 2.2.6
问题 I'm migrating a jsf 2.0 application to jsf 2.2.6. There is a extensive use of implicit EL object component as styleClass="#{component.valid?'':'err'}". In jsf 2.2.6 (jsf-impl-2.2.6-jbossorg-4.jar) valid is not recognized, throwing "ServletException: The class 'javax.faces.component.html.xxx' does not have the property 'valid". Is this functionality deprecated in jsf 2.x.x? Can be related to JBoss EL? 回答1: It seems that you trying the component.valid on element that does not support it at all,