Revision 39273

View differences:

branches/v2_0_0_prep/libraries/org.gvsig.exportto/org.gvsig.exportto.swing/org.gvsig.exportto.swing.impl/src/main/java/org/gvsig/exportto/swing/impl/DefaultJExporttoServicePanelListener.java
68 68
            exporttoServicePanel.setStatus(JOptionPane.CANCEL_OPTION);
69 69
            String error =
70 70
                exporttoServicePanel.getExporttoSwingManager().getTranslation(
71
                    "error_exportto");
72
            LOG.error(error, e);
71
                    "_Error_exportto");
72
            LOG.info(error, e);
73 73
            JOptionPane.showMessageDialog(exporttoServicePanel, error);
74 74
        } catch (DataException e) {
75 75
            exporttoServicePanel.setStatus(JOptionPane.CANCEL_OPTION);
76 76
            String error =
77 77
                exporttoServicePanel.getExporttoSwingManager().getTranslation(
78
                    "error_reading_source");
79
            LOG.error(error, e);
78
                    "_Error_data_export");
79
            LOG.info(error, e);
80 80
            JOptionPane.showMessageDialog(exporttoServicePanel, error);
81 81
        }
82 82
    }
83 83

  
84

  
84 85
    /**
85 86
     * @param exporttoServicePanelListener
86 87
     */
branches/v2_0_0_prep/libraries/org.gvsig.exportto/org.gvsig.exportto.swing/org.gvsig.exportto.swing.impl/src/main/java/org/gvsig/exportto/swing/impl/wizard/ExportFilterWizard.java
48 48
    }
49 49

  
50 50
    public void nextPanel() throws NotContinueWizardException {
51

  
51
        
52
        if (isPersonalizedFilterSelected()) {
53
            String free_filt = this.getFreeFilter();
54
            String str = exporttoServicePanel.
55
                getExporttoSwingManager().getTranslation(
56
                "_Filter_cannot_be_empty");
57
            
58
            if (free_filt == null || free_filt.length() == 0) {
59
                throw new NotContinueWizardException(str, this, true);
60
            }
61
        }
52 62
    }
53 63

  
54 64
    public void lastPanel() {
branches/v2_0_0_prep/libraries/org.gvsig.exportto/org.gvsig.exportto.swing/org.gvsig.exportto.swing.impl/src/main/resources/org/gvsig/exportto/swing/impl/i18n/text.properties
8 8
_Issues_with_attributes_or_geometries=Algunos atributos o geometr?as no se exportaron correctamente
9 9
_Invalid_values_in_form=Valores no v?lidos
10 10
_File_cannot_be_empty=Debe elegir un archivo
11
_Error_exportto=Error durante la exportaci?n
12
_Error_data_export=Error con los datos durante la exportaci?n
13
_Filter_cannot_be_empty=Si activa el filtro no debe estar vac?o
branches/v2_0_0_prep/libraries/org.gvsig.exportto/org.gvsig.exportto.swing/org.gvsig.exportto.swing.impl/src/main/resources/org/gvsig/exportto/swing/impl/i18n/text_en.properties
8 8
_Issues_with_attributes_or_geometries=Some attributes or geometries were not exported correctly
9 9
_File_cannot_be_empty=A file must be selected
10 10
_Invalid_values_in_form=Invalid values 
11
_Error_exportto=Error while exporting
12
_Error_data_export=Data error while exporting
13
_Filter_cannot_be_empty=Filter cannot be empty if active

Also available in: Unified diff