Fixed Error Management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-open-widget@101904 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
0214020579
commit
267183c7e1
|
@ -25,6 +25,7 @@ import com.google.gwt.user.client.Command;
|
|||
import com.google.gwt.user.client.rpc.AsyncCallback;
|
||||
import com.sencha.gxt.widget.core.client.box.AlertMessageBox;
|
||||
import com.sencha.gxt.widget.core.client.box.ConfirmMessageBox;
|
||||
import com.sencha.gxt.widget.core.client.container.MarginData;
|
||||
import com.sencha.gxt.widget.core.client.event.DialogHideEvent;
|
||||
import com.sencha.gxt.widget.core.client.event.DialogHideEvent.DialogHideHandler;
|
||||
import com.sencha.gxt.widget.core.client.event.HideEvent;
|
||||
|
@ -67,7 +68,7 @@ public class TabResourcesSelectionCard extends WizardCard {
|
|||
|
||||
});
|
||||
|
||||
setContent(tabResourcesSelectionPanel);
|
||||
setCenterWidget(tabResourcesSelectionPanel, new MarginData(0));
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -311,8 +311,8 @@ public class TabResourcesSelectionPanel extends ContentPanel implements
|
|||
+ caught.getLocalizedMessage());
|
||||
parent.showErrorAndHide(
|
||||
"Error",
|
||||
"Error retrieving tabular resources on server!",
|
||||
caught);
|
||||
"Error retrieving tabular resources on server",
|
||||
caught.getLocalizedMessage(), caught);
|
||||
}
|
||||
callback.onFailure(caught);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue