Changeset 25356 for main/trunk/greenstone3/src/java
- Timestamp:
- 2012-04-12T14:14:04+12:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/GSParams.java
r25300 r25356 25 25 { 26 26 27 27 // cgi parameter names 28 28 public static final String ACTION = "a"; // the major type of action- eg query or browse or process 29 29 public static final String SUBACTION = "sa"; // subtype of action if we want different processing than the default … … 40 40 public static final String DOCUMENT = "d"; 41 41 public static final String DOCUMENT_TYPE = "dt"; 42 43 44 42 public static final String HREF = "href"; // url. might be an external url, or a relative one that needs translating 43 public static final String RELATIVE_LINK = "rl"; // whether the href url is relative to the collection or not. 44 public static final String EXTERNAL_LINK_TYPE = "el"; // for an external link, go direct to the page or frame it in the collection 45 45 public static final String PROCESS_ID = "pid"; // if a request wasn't completed, this identifies the request - used when asking for a status update 46 46 47 48 public static final String HTTPHEADERFIELDS = "hhf"; 47 public static final String HTTPHEADERFIELDS = "hhf"; 49 48 50 49 // internal configure args … … 61 60 public static final String DISPLAY_METADATA = "dmd"; 62 61 public static final String FILE_LOCATION = "fl"; 63 62 64 63 //Administration 65 64 public static final String PASSWORD = "password"; … … 68 67 public static final String S_OLD_PASSWORD = "s1.oldPassword"; 69 68 70 71 72 73 74 69 // some standard arg values 70 public static final String SYSTEM_ACTION = "s"; 71 72 public static final String EXTERNAL_LINK_TYPE_DIRECT = "direct"; 73 public static final String EXTERNAL_LINK_TYPE_FRAMED = "frame"; 75 74 76 75 protected HashMap param_map = null; … … 106 105 addParameter(S_OLD_PASSWORD, false); 107 106 108 addParameter(COLLECTION_TYPE, true); 107 addParameter(COLLECTION_TYPE, true); 109 108 addParameter(EXTERNAL_LINK_TYPE, false); 110 109 // filtering args must be specified each time … … 141 140 public boolean shouldSave(String name) 142 141 { 143 142 // p. is used to store previous settings 144 143 if (name.startsWith("p.")) 145 144 return false;
Note:
See TracChangeset
for help on using the changeset viewer.