Changeset 14568
- Timestamp:
- 2007-09-25T10:29:17+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/src/org/greenstone/gatherer/gui/WarningDialog.java
r14567 r14568 154 154 if(affected_property != null && Configuration.self != null) { 155 155 String value = value_field.getText(); 156 System.out.println("-------- warningdialog value: "+value);157 156 if(value.length() > 0) { 158 157 if(value_field instanceof URLField) { 159 158 bad_value = !((URLField)value_field).validateURL(); 160 System.out.println("-------- warningdialog bad_value: "+bad_value);161 159 } 162 160 if(!bad_value) { 163 161 // Store the value of the property 164 162 Configuration.setString(affected_property, true, value_field.getText()); 165 System.out.println("-------- warningdialog affected_property: "+affected_property);166 System.out.println("-------- warningdialog value_field.getText(): "+value_field.getText());167 System.out.println("-------- warningdialog Configuration.getString(general.gliserver_url, true): "+Configuration.getString("general.gliserver_url", true));168 163 } 169 164 } … … 171 166 if(!bad_value) { 172 167 result = JOptionPane.OK_OPTION; 173 System.out.println("-------- warningdialog result: "+result);174 168 } 175 169 }
Note:
See TracChangeset
for help on using the changeset viewer.