This content has been marked as final.
Show 2 replies
-
1. Re: Enums in JSF code
pmuir Jun 13, 2007 8:59 AM (in response to frippe)"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! -
2. Re: Enums in JSF code
frippe Jun 14, 2007 4:42 AM (in response to frippe)Ok, thanx. I'll try another approach now and hope to get this working in a later version of EL.
Thanx,
Fredric