- Timestamp:
- 2007-09-25T10:13:24+12:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/src/org/greenstone/gatherer/gui/WarningDialog.java
r13397 r14567 154 154 if(affected_property != null && Configuration.self != null) { 155 155 String value = value_field.getText(); 156 System.out.println("-------- warningdialog value: "+value); 156 157 if(value.length() > 0) { 157 158 if(value_field instanceof URLField) { 158 159 bad_value = !((URLField)value_field).validateURL(); 160 System.out.println("-------- warningdialog bad_value: "+bad_value); 159 161 } 160 162 if(!bad_value) { 161 163 // Store the value of the property 162 164 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)); 163 168 } 164 169 } … … 166 171 if(!bad_value) { 167 172 result = JOptionPane.OK_OPTION; 173 System.out.println("-------- warningdialog result: "+result); 168 174 } 169 175 } … … 251 257 } 252 258 } 259 260 public void setValueField(String field_value){ 261 this.value_field.setText(field_value); 262 } 263 253 264 }
Note:
See TracChangeset
for help on using the changeset viewer.