Changeset 4695
- Timestamp:
- 2003-06-18T11:43:52+12:00 (21 years ago)
- Location:
- trunk/gsdl3/src/java/org/greenstone/gsdl3/action
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/action/Action.java
r4257 r4695 12 12 import java.io.File; 13 13 import java.util.Vector; 14 import java.util.HashMap; 15 14 16 /** base class for Actions */ 15 17 abstract public class Action { 16 18 17 /** the interface setup variables */18 protected ConfigVars config_=null;19 /** the system set up variables */ 20 protected HashMap config_params = null; 19 21 /** container Document to create XML Nodes */ 20 22 protected Document doc_=null; … … 30 32 doc_ = converter_.newDOM(); 31 33 } 32 /** gsdl_home_ must be set before configurecalled */33 public void setConfig Vars(ConfigVars config) {34 config_ = config;34 /** the config variables must be set before configure is called */ 35 public void setConfigParams(HashMap params) { 36 this.config_params = params; 35 37 } 36 38 /** sets the message router */ -
trunk/gsdl3/src/java/org/greenstone/gsdl3/action/AppletAction.java
r4257 r4695 82 82 // should this be done here or by web receptionist?? 83 83 // cant really have an applet without web? 84 editLocalParams(app_desc, config_.library_name_, collection);84 editLocalParams(app_desc, (String)config_params.get(GSConstants.LIBRARY_NAME), collection); 85 85 page_response.appendChild(app_desc); 86 86
Note:
See TracChangeset
for help on using the changeset viewer.