This content has been marked as final.
Show 3 replies
-
1. Re: Seam security s:hasRole in UI
svadu Jun 10, 2008 12:17 AM (in response to gjeudy)Documentation:
s:hasRole(
Your code:
s.hasRole(
Does that answer your question?
-
2. Re: Seam security s:hasRole in UI
gjeudy Jun 10, 2008 2:56 PM (in response to gjeudy)D'oh, thanks for seeing the obvious. works great with s:hasRole
Now comes the next question, I didn't know you could use semi-colon notation in an EL expression, can somebody tell me what makes it different from the regular dot (.) notation ?
It's often good to know why things are such a way in order to remember it.
Thanks,
-Guillaume -
3. Re: Seam security s:hasRole in UI
nickarls Jun 10, 2008 3:15 PM (in response to gjeudy)I don't think a colon has any special meaning in normal EL but Seam has an own EL-resolver so they are free to use whatever they like. It is probably needed anyway in order to separate it from a normal EL-resolve involving an variable named s.