diff --git a/src/main/java/org/gcube/portlets/user/td/csvimportwidget/client/CSVTableDetailCard.java b/src/main/java/org/gcube/portlets/user/td/csvimportwidget/client/CSVTableDetailCard.java index 450edae..81f6ad6 100644 --- a/src/main/java/org/gcube/portlets/user/td/csvimportwidget/client/CSVTableDetailCard.java +++ b/src/main/java/org/gcube/portlets/user/td/csvimportwidget/client/CSVTableDetailCard.java @@ -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; }