Ignore:
Timestamp:
2018-10-30T10:30:53+13:00 (5 years ago)
Author:
kjdon
Message:

receptionist now passes languageList (from interfaceConfig) to teh actions, so an action can add it into the page response if it needs to, rather than the receptionist adding it in to every page. its only ever used in prefs page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/action/Action.java

    r32448 r32549  
    2727    protected HashMap<String, Object> config_params = null;
    2828   
    29    
     29  /** the xml element languageList */
     30  protected Element language_list = null;
    3031    /** a converter class to parse XML and create Docs */
    3132    protected XMLConverter converter = null;
     
    5859    }
    5960
     61  /** give the action access to the list of languages */
     62  public void setLanguageList(Element lang_list) {
     63    this.language_list = lang_list;
     64  }
    6065    public boolean configure()
    6166    {
Note: See TracChangeset for help on using the changeset viewer.