This blog will cover Oracle ADF, Weblogic, Oracle Application Server, Oracle Collaboration Suite etc....
Tuesday, February 23, 2016
UI Refresh based on data in model
You will have to execute iterator
public String cb2_action() {
// Add event code here...
//AdfFacesContext adffacesctx = AdfFacesContext.getCurrentInstance();
//adffacesctx.addPartialTarget(JSFUtils.findComponentInRoot("t1"));
DCBindingContainer bindings = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
bindings.refreshControl();
DCIteratorBinding iterBind= (DCIteratorBinding)bindings.get("TemplateIterator");
iterBind.executeQuery();
iterBind.refresh(DCIteratorBinding.RANGESIZE_UNLIMITED);
return null;
}