Ignore:
Timestamp:
2007-09-25T10:13:24+12:00 (17 years ago)
Author:
qq6
Message:

if Configuration.library_url is given, assume a default Configuration.gliserver_urlGatherer.java

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gli/trunk/src/org/greenstone/gatherer/gui/WarningDialog.java

    r13397 r14567  
    154154        if(affected_property != null && Configuration.self != null) {
    155155        String value = value_field.getText();
     156        System.out.println("-------- warningdialog value: "+value);
    156157        if(value.length() > 0) {
    157158           if(value_field instanceof URLField) {
    158159              bad_value = !((URLField)value_field).validateURL();
     160              System.out.println("-------- warningdialog bad_value: "+bad_value);
    159161           }
    160162           if(!bad_value) {
    161163              // Store the value of the property
    162164              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));     
    163168           }
    164169        }
     
    166171        if(!bad_value) {
    167172        result = JOptionPane.OK_OPTION;
     173        System.out.println("-------- warningdialog result: "+result);
    168174        }
    169175    }
     
    251257    }
    252258    }
     259
     260    public void setValueField(String field_value){
     261    this.value_field.setText(field_value);
     262    }
     263
    253264}
Note: See TracChangeset for help on using the changeset viewer.