[jboss-user] [JBoss Seam] - Re: Enum in my xhtml
pete.muir@jboss.org
do-not-reply at jboss.com
Wed Oct 3 18:39:02 EDT 2007
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
More information about the jboss-user
mailing list