public void newInstance() throws ims.framework.exceptions.PresentationLogicException { clearInstanceControls(); form.getLocalContext().setAllForms(null); form.cmbStyle().setValue(NavigationStyle.IMAGE); form.getLocalContext().setSelectedNav(null); form.setMode(FormMode.EDIT); }
protected void populateScreenFromData(AppNavigationVo value) { clearInstanceControls(); super.populateScreenFromData(value); if (value == null) return; if (!value.getStyleIsNotNull()) { form.cmbStyle().setValue(NavigationStyle.IMAGE); } if (value.getPatientSearchFormIsNotNull()) { AppFormVo patientSearchForm = value.getPatientSearchForm(); form.qmbNavSearchForm().newRow(patientSearchForm, patientSearchForm.isAlias() ? patientSearchForm.getAliasName() : patientSearchForm.getName()); form.qmbNavSearchForm().setValue(patientSearchForm); } if (value.getStartFormIsNotNull()) { AppFormVo startForm = value.getStartForm(); form.qmbNavStartForm().newRow(startForm, startForm.isAlias() ? startForm.getAliasName() : startForm.getName()); form.qmbNavStartForm().setValue(startForm); } populateTree(value); }
public void newInstance() throws ims.framework.exceptions.PresentationLogicException { clearInstanceControls(); form.getLocalContext().setAllForms(null); form.cmbStyle().setValue(NavigationStyle.IMAGE); form.getLocalContext().setSelectedNav(null); form.getLocalContext().setNavigationHasAssociatedRole(false); //WDEV-22749 form.chkIsActive().setValue(false); //WDEV-22792 form.setMode(FormMode.EDIT); }