Sunday, April 1, 2012

Accesing the Binding inside in Backing Bean

Hi ,

It is very common question in Oracle ADF technology that how to access the Binding Container inside backing bean.

 we have two way to resolve this issue .

First Approach :
 DCBindingContainer bindings = (DCBindingContainer) app.getVariableResolver().resolveVariable(context, "bindings");
Second would be :

 BindingContainer bindings =
           BindingContext.getCurrent().getCurrentBindingsEntry();

No comments:

Post a Comment