FacesContext context = FacesContext.getCurrentInstance();
BindingContext bindingContext = BindingContext.getCurrent();
//open the dataBindings.cpx file and check for application module name inside data control usages
DCDataControl dc = bindingContext.findDataControl("name_of_application_module in dataBindings.cpx");
AppModuleImpl appM = (AppModuleImpl)dc.getDataProvider();
No comments:
Post a Comment