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?