Changeset 25490

Show
Ignore:
Timestamp:
26.04.2012 14:31:16 (7 years ago)
Author:
kjdon
Message:

add the extra info into the page to keep in line with other actions

Files:
1 modified

Legend:

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

    r24993 r25490  
    3838        result.appendChild(page_response); 
    3939 
     40        UserContext userContext = new UserContext(request); 
     41        addSiteMetadata(page_response, userContext); 
     42        addInterfaceOptions(page_response); 
     43 
    4044        // extract the params from the cgi-request, and check that we have a coll specified 
    4145        Element cgi_param_list = (Element) GSXML.getChildByTagName(request, GSXML.PARAM_ELEM + GSXML.LIST_MODIFIER); 
     
    5256            return result; 
    5357        } 
    54         UserContext userContext = new UserContext(request); 
    5558 
    5659        // subaction used to decide if we are returning content or structure