Validate mandatory fields, inform the user and allow the user to fill them without cancelling the report/process

This commit is contained in:
Elaine Tan 2013-12-02 19:20:37 +08:00
parent 953abf870c
commit 5b3e0af93f
1 changed files with 2 additions and 0 deletions

View File

@ -417,6 +417,8 @@ public class ProcessModalDialog extends Window implements EventListener<Event>,
} }
private void onOK() { private void onOK() {
if (!parameterPanel.validateParameters())
return;
this.startProcess(); this.startProcess();
} }