@Override protected void onBtnOkClick() throws ims.framework.exceptions.PresentationLogicException { String[] uiErrors = getUIErrors(); if (uiErrors != null) { engine.showErrors(uiErrors); return; } NextEvaluationDateTimeVo newNextEvaluationDateTime = new NextEvaluationDateTimeVo(); newNextEvaluationDateTime.setNextEvaluationDate(form.dteNextEvaluationDate().getValue()); form.getGlobalContext().Nursing.setNewNextEvaluationDateEntered(newNextEvaluationDateTime); engine.close(DialogResult.OK); }