changed messages

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/performfish-analytics-portlet@178522 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2019-03-11 10:26:44 +00:00
parent 459e7d52d1
commit 790a25ec8c
2 changed files with 5 additions and 5 deletions

View File

@ -206,7 +206,7 @@ public class PerformFishAnalyticsController {
modal.setCloseVisible(false);
modal.hide(false);
final VerticalPanel vp = new VerticalPanel();
LoaderIcon loader = new LoaderIcon("Loading Batches from PerformFish service, please wait...");
LoaderIcon loader = new LoaderIcon("Loading batch(es) from PerformFish service, please wait...");
vp.add(loader);
loader.show(true);
modal.add(vp);
@ -245,7 +245,7 @@ public class PerformFishAnalyticsController {
//viewController.resetBatchIdStatus();
viewController.setBatchIdStatus(ControlGroupType.INFO);
viewController.enableLoadBatches(true);
viewController.showAlertForLoadBatches("Please click on 'Load Batches' button", AlertType.INFO, false);
viewController.showAlertForLoadBatches("Please, load the batch(es) by clicking on 'Load Batches' button", AlertType.INFO, false);
viewController.enableAllAlgorithmsForSubmit(false);
}else {

View File

@ -412,17 +412,17 @@ public class PerformFishAnalitycsFormView extends Composite {
// cg_remote_path.setType(ControlGroupType.NONE);
if (field_select_quarter.getItemCount()>0 && field_select_quarter.getSelectedIndex() == -1) {
cg_select_quarter.setType(ControlGroupType.INFO);
showAlert("Quarter selection is required", AlertType.INFO);
showAlert("Please, select a Quarter", AlertType.INFO);
return false;
}
if (field_select_area.getItemCount()>0 && field_select_area.getSelectedIndex() == -1) {
cg_select_area.setType(ControlGroupType.INFO);
showAlert("Area selection is required", AlertType.INFO);
showAlert("Please, select an Area", AlertType.INFO);
return false;
}
if (field_select_period.getItemCount()>0 && field_select_period.getSelectedIndex() == -1) {
cg_select_period.setType(ControlGroupType.INFO);
showAlert("Period selection is required", AlertType.INFO);
showAlert("Please, select a Period", AlertType.INFO);
return false;
}
return true;