Fixed Final and Lock error
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-extractcodelist-widget@100231 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
66de8da201
commit
c6b9ea6739
|
@ -18,13 +18,10 @@ import com.google.gwt.safehtml.shared.SafeHtmlBuilder;
|
|||
import com.google.gwt.user.client.Command;
|
||||
import com.google.gwt.user.client.rpc.AsyncCallback;
|
||||
import com.sencha.gxt.core.client.util.Margins;
|
||||
import com.sencha.gxt.widget.core.client.box.AlertMessageBox;
|
||||
import com.sencha.gxt.widget.core.client.container.BoxLayoutContainer.BoxLayoutData;
|
||||
import com.sencha.gxt.widget.core.client.container.HtmlLayoutContainer;
|
||||
import com.sencha.gxt.widget.core.client.container.VBoxLayoutContainer;
|
||||
import com.sencha.gxt.widget.core.client.container.VBoxLayoutContainer.VBoxLayoutAlign;
|
||||
import com.sencha.gxt.widget.core.client.event.HideEvent;
|
||||
import com.sencha.gxt.widget.core.client.event.HideEvent.HideHandler;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -79,7 +76,7 @@ public class ExtractCodelistOperationInProgressCard extends WizardCard
|
|||
showErrorAndHide("Error in extract codelist",
|
||||
"An error occured in extract codelist: "
|
||||
+ caught.getLocalizedMessage(),
|
||||
caught.getStackTrace().toString(), caught);
|
||||
caught);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -146,13 +143,8 @@ public class ExtractCodelistOperationInProgressCard extends WizardCard
|
|||
new SessionExpiredEvent(
|
||||
SessionExpiredType.EXPIREDONSERVER));
|
||||
} else {
|
||||
AlertMessageBox d = new AlertMessageBox(
|
||||
"Error in Extract Codelist", reason);
|
||||
d.addHideHandler(new HideHandler() {
|
||||
public void onHide(HideEvent event) {
|
||||
}
|
||||
});
|
||||
d.show();
|
||||
showErrorAndHide("Error in Extract Codelist", reason, caught);
|
||||
|
||||
}
|
||||
forceLayout();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue