Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-csv-export-widget@95769 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
1cace1cb36
commit
04dc65c61a
|
@ -48,7 +48,7 @@ public class CSVExportConfigCard extends WizardCard {
|
||||||
|
|
||||||
private static final String DEFAULT_DELIMETER = ",";
|
private static final String DEFAULT_DELIMETER = ",";
|
||||||
protected CSVExportSession exportSession;
|
protected CSVExportSession exportSession;
|
||||||
|
|
||||||
protected SimpleComboBox<String> encodings;
|
protected SimpleComboBox<String> encodings;
|
||||||
protected TextField customDelimiterField;
|
protected TextField customDelimiterField;
|
||||||
protected Radio otherDelimiter;
|
protected Radio otherDelimiter;
|
||||||
|
@ -61,7 +61,7 @@ public class CSVExportConfigCard extends WizardCard {
|
||||||
|
|
||||||
public CSVExportConfigCard(final CSVExportSession exportSession) {
|
public CSVExportConfigCard(final CSVExportSession exportSession) {
|
||||||
super("CSV configuration", "");
|
super("CSV configuration", "");
|
||||||
|
|
||||||
if (exportSession == null) {
|
if (exportSession == null) {
|
||||||
Log.error("CSVExportSession is null");
|
Log.error("CSVExportSession is null");
|
||||||
}
|
}
|
||||||
|
@ -117,14 +117,14 @@ public class CSVExportConfigCard extends WizardCard {
|
||||||
*/
|
*/
|
||||||
public void onFailure(Throwable caught) {
|
public void onFailure(Throwable caught) {
|
||||||
if (caught instanceof TDGWTSessionExpiredException) {
|
if (caught instanceof TDGWTSessionExpiredException) {
|
||||||
getEventBus().fireEvent(new SessionExpiredEvent(
|
getEventBus()
|
||||||
SessionExpiredType.EXPIREDONSERVER));
|
.fireEvent(
|
||||||
|
new SessionExpiredEvent(
|
||||||
|
SessionExpiredType.EXPIREDONSERVER));
|
||||||
} else {
|
} else {
|
||||||
|
GWT.log("Error loading charset list", caught);
|
||||||
|
showErrorAndHide("Error loading charset list",
|
||||||
GWT.log("Error loading charset list", caught);
|
"Error loading charset list", "", caught);
|
||||||
showErrorAndHide("Error loading charset list",
|
|
||||||
"Error loading charset list", "", caught);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue