Portals (MOSC)

MOSC Banner

Throwing Invalid Expression for EL to action attribute of Command Link

edited Jul 1, 2013 6:19AM in Portals (MOSC) 1 commentAnswered
 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



Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center