Changeset 25989

Show
Ignore:
Timestamp:
19.07.2012 16:36:42 (8 years ago)
Author:
sjm84
Message:

The collection global format can now be retrieved from the collection

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/collection/Collection.java

    r25974 r25989  
    769769            } 
    770770        } 
     771        else if (type.equals(GSXML.REQUEST_TYPE_FORMAT)) 
     772        { 
     773            if(_globalFormat != null) 
     774            { 
     775                response.appendChild(response.getOwnerDocument().importNode(_globalFormat, true)); 
     776            } 
     777        } 
    771778        else 
    772779        { // unknown type