Changeset 5144


Ignore:
Timestamp:
2003-08-18T12:32:34+12:00 (21 years ago)
Author:
kjdon
Message:

we now keep a language list - read in from teh config file, that lists all teh langs available for the interface - used in preferences page. there may be a better way to do this

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/java/org/greenstone/gsdl3/core/Receptionist.java

    r4988 r5144  
    3838    /** the list of params */
    3939    protected GSParams params=null;
    40    
     40    protected Element language_list = null;
     41
    4142    public Receptionist() {
    4243    this.converter = new XMLConverter();
     
    99100    }
    100101
     102    this.language_list = (Element)GSXML.getChildByTagName(config_doc, "languageList");
     103    if (language_list == null) {
     104        System.out.println("lang list is null!!");
     105    }
    101106    return true;
    102107    }
     
    188193    page.appendChild(page_response);
    189194
     195    //System.out.println("REceptionist: raw page="+this.converter.getString(page));
    190196    // transform the result in some way
    191197    Element resulting_page = postProcessPage(page);
Note: See TracChangeset for help on using the changeset viewer.