Changeset 4989 for trunk/gsdl3


Ignore:
Timestamp:
2003-07-21T09:35:31+12:00 (21 years ago)
Author:
kjdon
Message:

removed some unnecessary stuff

File:
1 edited

Legend:

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

    r4860 r4989  
    7272        ac.setMessageRouter(this.mr);
    7373        ac.configure();
     74        ac.getActionParameters(this.params);
    7475        this.action_map.put(action_name, ac);
    7576
     
    180181    return stylesheet;
    181182    }
    182     /** returns an xml element containing all the text strings
    183      * needed for an interface
    184      * currently only uses the current interface - should add in
    185      * needed ones from the default interface if current != default */
    186     protected Element getDisplayElement(String lang) {
    187 
    188     Element display = this.doc.createElement(GSXML.DISPLAY_ELEM);
    189     // looks for properties files based on interface name
    190     String resource_name = "interface_"+ (String)this.config_params.get(GSConstants.INTERFACE_NAME);
    191 
    192     Dictionary dict = new Dictionary(resource_name, lang);
    193     Enumeration enum = dict.getKeys();
    194     while (enum.hasMoreElements()) {
    195         String key = (String)enum.nextElement();
    196         String value = dict.get(key);
    197         Element e = GSXML.createTextElement(this.doc, key, value);
    198         display.appendChild(e);
    199     }
    200     return display;
    201     }
    202183
    203184}
Note: See TracChangeset for help on using the changeset viewer.