[jboss-user] [JBoss Seam] - Re: Enums in JSF code
petemuir
do-not-reply at jboss.com
Wed Jun 13 08:59:17 EDT 2007
"Frippe" wrote : <h:column rendered="#{bookable.week.period.status == PStatus.ACTIVE}">
| | </h:column>
This isn't valid EL, EL has no support for accessing enum's - something like #{bookable.week.period.status == bookable.month.period.status} would work though (where you compare two instance values of enums).
You can probably write a facelets function to do this. And yes, this is on my wishlist for EL as well!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053944#4053944
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053944
More information about the jboss-user
mailing list