Ignore:
Timestamp:
2011-08-12T09:57:26+12:00 (13 years ago)
Author:
sjm84
Message:

Adding in the server-side code for the Document Maker as well as several other enhancements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/action/Action.java

    r24254 r24393  
    7777    }
    7878
    79     protected void extractMetadataNames(Element format, HashSet meta_names) {
     79    protected void extractMetadataNames(Element format, HashSet meta_names) {
    8080    //NodeList nodes = format.getElementsByTagNameNS("metadata", "http://www.greenstone.org/configformat");
    8181    NodeList metadata_nodes = format.getElementsByTagName("gsf:metadata");
     
    9090                metadata.append("all");
    9191                metadata.append(GSConstants.META_RELATION_SEP);
    92             } else if (all.equals("offset")) { // multiple is no longer boolean.
    93         // Can be "true", "false" or it can be "offset" (when requested to use mdoffset)
    94                 metadata.append("offset");
    95                 metadata.append(GSConstants.META_RELATION_SEP);
    96             } // if multiple=false, then get first value for the metadata
     92            }
    9793            if (!select.equals("")) {
    9894                metadata.append(select);
Note: See TracChangeset for help on using the changeset viewer.