How do i access Enum from EL
here is enum
package mypackage;
  | public enum Status {GOOD, BAD}
here the object
package mypackage;
  | @Name("user")
  | public class User {
  |     private Status status;
  | 
  |     public Status getStatus()
  |             {return status;}
  | 
  |     public void setStatus(Status status)
  |             {this.status=status;}
and here is broken EL
<h:outputText value="all is good" rendered=#{user.status == Status.GOOD}"/>
anyone has an idea how to get it to work?

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

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

Reply via email to