To have Bindings in your backing bean, we have to import Binding Container & Binding Context in to the java class.
IMPORT STATEMENTS
import oracle.adf.model.BindingContext;
import oracle.binding.BindingContainer;
Code you have to add in your class is:-
public BindingContainer getBindings()
{
return BindingContext.getCurrent.getCurrentBindingEntry();
}
IMPORT STATEMENTS
import oracle.adf.model.BindingContext;
import oracle.binding.BindingContainer;
Code you have to add in your class is:-
public BindingContainer getBindings()
{
return BindingContext.getCurrent.getCurrentBindingEntry();
}
there's a small error:
ReplyDeleteit's -
public BindingContainer getBindings(){
return BindingContext.getCurrent().getCurrentBindingsEntry();
}