public void setDefaultBean(Object bean) { for (InputCmpMgr inputCmpMgr : inputsCmpMgrs) { if (inputCmpMgr.useMainDomain()) { inputCmpMgr.setDefaultBean(bean); } } }
public void updateDomain(Object bean) { for (InputCmpMgr inputCmpMgr : inputsCmpMgrs) { inputCmpMgr.setDefaultBean(bean); List components = inputCmpMgr.getComponents(); for (Iterator iterator = components.iterator(); iterator.hasNext(); ) { BindingComponent bindingComponent = (BindingComponent) iterator.next(); bindingComponent.setBeanWrapper(bean); } } }