Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JDeveloper/ADF Groovy - No Such Property

2752536Nov 4 2016 — edited Jul 3 2017

Hello,

I have a problem regarding usage of groovy inside ADF application.

I know that there has been changes in 12c regarding implementation but even with using bcs and setting the trustMode to trusted I always get No such property exception when doing build.

I am using latest JDeveloper 12.2.1.2

and in ViewObject i have a bind variable which i have set to use groovy to get its value from application module method.

simple show case:

groovy expression for bind variable on ViewObject is : adf.object.applicationModule.getParamValue("Audit")

in ApplicationModuleImpl I have exposed a method :

public String getParamValue(String s){

return "A"

}

bindVariables transient expression is set to trusted

in build i am constantly getting :

[Static type checking] - No such property: applicationModule for class: oracle.jbo.script.ExprValueSupplier

in 11g there is no problem with using this kind of groovy expression, and if I avoid using bcs by setting expression in source of ViewObject everything works fine.

Can someone explain what is the problem with using same expression with bcs?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 31 2017
Added on Nov 4 2016
16 comments
5,081 views