"bfo81" wrote : BUT: What about casting? I mean when you access the employee, 
e.g.
  | <h:outputText value="#{employee.name}" />
  | then JSF accesses the getName() method of the employee object. But since 
this one is a java.lang.Object and not a Employee I fear that we might get a 
MethodNotFoundError. Or is the reflection mechanism in Java smart enough for 
this?

No problem. EL totally ignores the declared type.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957058#3957058

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957058
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to