Minor update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-sdmx-import-widget@101413 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-11-04 09:17:23 +00:00 committed by Giancarlo Panichi
parent e0b57fe047
commit 3364071210
1 changed files with 11 additions and 3 deletions

View File

@ -349,9 +349,17 @@ public class SDMXTableDetailCard 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");
return;
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();
}