Friday, February 27, 2015

Groovy Expression to get session scope value for an attribute in View Object

'Expression'  - adf.context.current.sessionScope.get('test')
as attribute Values in Entity Objects; bindParameter values for queries in View Objects; 

6 comments:

Unknown said...

it did not work with jdeveloper 12.2.1

Unknown said...

Hi Mahmoud Hawary,

How can we access session scope value in expression in 12.2.1 .

Thanks,

Amar

Greeshma said...

Hai,
Its not work with ADF 12.2.1.Please post about how to replace this expression in 12.2.1.

Anonymous said...

try with setting TrustMode to trusted of bindvariable

arun prasad said...

Hi, i tried the same but not wroking. Please give some suggestion for ADF12.2.1

Unknown said...

Error(10,1): [Static type checking] - [ADF security error] Accessing the current property on class oracle.adf.share.ADFContext is not permitted.
@ line 10, column 1. CustomerSupport.jws

to solve this issue make the attribute( trustMode="trusted")