Throwing Invalid Expression for EL to action attribute of Command Link
Hi all,
Im tring to redirect to different pages based on role
<af:commandLink text="Home" id="hom1" immediate="true"
inlineStyle="color:white; height:24px; font-size:12.5px; vertical-align:bottom;"
clientComponent="true" action="#{(securityContext.userInRole['Prosecutor'])?'toPD':'toCD'}"/>
#{(securityContext.userInRole['Prosecutor'])?'toPD':'toCD} this is the condition i am using
but it always throws Invalid expression
i have tested it by using EL as a value for outputtext component and its printing proper value.
my JDev ver: 11.1.1.7
is this some kind of bug in 11.1.1.7
Thanks & Regards,
Shakir
0