Changeset 25481

Show
Ignore:
Timestamp:
26.04.2012 11:21:56 (7 years ago)
Author:
kjdon
Message:

adding some extra info to the page to keep it in line with other action responses.

Files:
1 modified

Legend:

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

    r24993 r25481  
    105105        Node response_message = this.mr.process(mr_request_message); 
    106106 
    107         result.appendChild(GSXML.duplicateWithNewName(this.doc, (Element) GSXML.getChildByTagName(response_message, GSXML.RESPONSE_ELEM), GSXML.RESPONSE_ELEM, true)); 
     107        Element response = GSXML.duplicateWithNewName(this.doc, (Element) GSXML.getChildByTagName(response_message, GSXML.RESPONSE_ELEM), GSXML.RESPONSE_ELEM, true); 
     108        addSiteMetadata(response, userContext); 
     109        addInterfaceOptions(response); 
     110 
     111        result.appendChild(response); 
    108112        return result; 
    109113