Minor update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-csv-import-widget@101414 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-11-04 09:17:36 +00:00
parent e54ec554e0
commit 3273314c1c
1 changed files with 11 additions and 2 deletions

View File

@ -321,8 +321,17 @@ public class CSVTableDetailCard extends WizardCard {
}
if(vFrom!=null && vUntilTo!=null && vFrom.compareTo(vUntilTo)>0){
Log.debug("Attention Valid From field is higher than Valid Until To field");
UtilsGXT3.info("Attention", "Valid From field is higher than Valid Until To field");
Log.debug("Attention Valid From field is higher than Valid Until To field");
AlertMessageBox d = new AlertMessageBox("Attention!", "Valid From field is higher than Valid Until To field");
d.addHideHandler(new HideHandler() {
public void onHide(HideEvent event) {
getWizardWindow().setEnableNextButton(true);
getWizardWindow().setEnableBackButton(false);
}
});
d.show();
return;
}