public void open() throws PresentationLogicException { form.setMode(FormMode.VIEW); clearInstanceControls(); form.grdList().getRows().clear(); AppTopButtonConfigVoCollection configurations = domain.listConfigurations(); for(int x = 0; x < configurations.size(); x++) { addConfiguration(configurations.get(x)); } if(form.getLocalContext().getRecord() != null) { form.grdList().setValue(form.getLocalContext().getRecord()); populateInstanceControls(); } }
public AppTopButtonConfigVoCollection listConfigurations() { return AppTopButtonConfigVoAssembler.createAppTopButtonConfigVoCollectionFromAppTopButtonConfig(getDomainFactory().find("from AppTopButtonConfig as topb order by UPPER(topb.name) asc")); //WDEV-18196 }