Changeset 6365


Ignore:
Timestamp:
2004-01-08T16:01:31+13:00 (20 years ago)
Author:
kjdon
Message:

changed the enrich doc arcg to end, not ed - thats for expand document

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/java/org/greenstone/gsdl3/action/DocumentAction.java

    r6300 r6365  
    4242    // this is used to specify that the sibling nodes of a selected one should be obtained
    4343    public static final String SIBLING_ARG = "sib";
    44     public static final String DOC_TYPE_ARG = "dt";
    4544    public static final String GOTO_PAGE_ARG = "gp";
    46     public static final String ENRICH_DOC_ARG = "ed";
     45    public static final String ENRICH_DOC_ARG = "end";
    4746   
    4847    /** if this is set to true, when a document is displayed, any annotation
     
    7271        return result;
    7372    }
    74     String document_type = (String) params.get(DOC_TYPE_ARG);
     73    String document_type = (String) params.get(GSParams.DOCUMENT_TYPE);
    7574    if (document_type == null) {
    7675        document_type = "simple";
     
    336335        }
    337336       
    338     /*
     337   
    339338    if (provide_annotations) {
    340339        String service_selected = (String)params.get(ENRICH_DOC_ARG);
     
    365364    }
    366365
    367     */
     366   
    368367    // use the returned id rather than the sent one cos there may have
    369368    // been modifiers such as .pr that are removed.
     
    409408     * object - particularly important for args that should not be saved */
    410409    public boolean getActionParameters(GSParams params) {
    411     params.addParameter(DOC_TYPE_ARG, true);
    412410    params.addParameter(GOTO_PAGE_ARG, false);
    413411    params.addParameter(ENRICH_DOC_ARG, false);
Note: See TracChangeset for help on using the changeset viewer.