You could do it through an el function e.g.
#{myBean.isStatus(my:enum('com.my.MyEnumerator.MyStatus')}"
enum(String enum) {
| // Split out the type from the value
| // use Enum.valueOf(type, value) to get the enum
| }
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091263#4091263
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4091263
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user