Ignore:
Timestamp:
2003-07-03T16:13:27+12:00 (21 years ago)
Author:
kjdon
Message:

the goto form uses gp arg - this is the gotopage arg. if present we modify the document_name using the ss extension: docnum.pagenum.ss

File:
1 edited

Legend:

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

    r4858 r4875  
    4343    public static final String SIBLING_ARG = "sib";
    4444    public static final String DOC_TYPE_ARG = "dt";
     45    public static final String GOTO_PAGE_ARG = "gp";
    4546   
    4647    /** if this is set to true, when a document is displayed, any annotation
     
    8081    }
    8182   
     83    String sibling_num = (String) params.get(GOTO_PAGE_ARG);
     84    if (sibling_num != null && !sibling_num.equals("")) {
     85        // we have to modify the doc name
     86        document_name = document_name+"."+sibling_num+".ss";
     87    }
    8288    // get the additional data needed for the page
    8389    getBackgroundData(page_response, collection, lang);
Note: See TracChangeset for help on using the changeset viewer.