Added Open TR with parameter on url

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@113581 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2015-03-11 17:55:37 +00:00
parent c86546ea06
commit cefca0aba8
1 changed files with 13 additions and 3 deletions

View File

@ -347,9 +347,19 @@ public class TabularDataController {
new AsyncCallback<TRId>() {
public void onFailure(Throwable caught) {
UtilsGXT3.alert("Error",
caught.getLocalizedMessage());
if (caught instanceof TDGWTSessionExpiredException) {
eventBus.fireEvent(new SessionExpiredEvent(
SessionExpiredType.EXPIREDONSERVER));
} else {
if (caught instanceof TDGWTIsLockedException) {
Log.error(caught.getLocalizedMessage());
UtilsGXT3.alert("Error Locked",
caught.getLocalizedMessage());
} else {
UtilsGXT3.alert("Error",
caught.getLocalizedMessage());
}
}
}
public void onSuccess(TRId trId) {