Wednesday, April 28, 2010

ADF:getBindingContainer in JDev 11g

No need of evaluating :#{bindings} EL expression..
Simply use the direct API call

  /* Get the current binding container */
BindingContainer bc = BindingContext.getCurrent().getCurrentBindingsEntry();
/* Lookup and invoke the action binding named "yourMethodName" */
Object retVal = bc.getOperationBinding("yourMethodName").execute();

No comments: