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:
Giancarlo Panichi 2014-05-16 12:18:46 +00:00
parent 1cace1cb36
commit 04dc65c61a
1 changed files with 9 additions and 9 deletions

View File

@ -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);
} }
} }
}); });