Changeset 6365
- Timestamp:
- 2004-01-08T16:01:31+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/action/DocumentAction.java
r6300 r6365 42 42 // this is used to specify that the sibling nodes of a selected one should be obtained 43 43 public static final String SIBLING_ARG = "sib"; 44 public static final String DOC_TYPE_ARG = "dt";45 44 public static final String GOTO_PAGE_ARG = "gp"; 46 public static final String ENRICH_DOC_ARG = "e d";45 public static final String ENRICH_DOC_ARG = "end"; 47 46 48 47 /** if this is set to true, when a document is displayed, any annotation … … 72 71 return result; 73 72 } 74 String document_type = (String) params.get( DOC_TYPE_ARG);73 String document_type = (String) params.get(GSParams.DOCUMENT_TYPE); 75 74 if (document_type == null) { 76 75 document_type = "simple"; … … 336 335 } 337 336 338 /*337 339 338 if (provide_annotations) { 340 339 String service_selected = (String)params.get(ENRICH_DOC_ARG); … … 365 364 } 366 365 367 */366 368 367 // use the returned id rather than the sent one cos there may have 369 368 // been modifiers such as .pr that are removed. … … 409 408 * object - particularly important for args that should not be saved */ 410 409 public boolean getActionParameters(GSParams params) { 411 params.addParameter(DOC_TYPE_ARG, true);412 410 params.addParameter(GOTO_PAGE_ARG, false); 413 411 params.addParameter(ENRICH_DOC_ARG, false);
Note:
See TracChangeset
for help on using the changeset viewer.