Ignore:
Timestamp:
2003-04-15T10:50:26+12:00 (21 years ago)
Author:
kjdon
Message:

all stuff for the page generated by teh Receptionist (config and display) is now put into a pageExtra element, so actions only need to append one extra piece to the page

File:
1 edited

Legend:

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

    r4093 r4144  
    2929    Element page = doc_.createElement(GSXML.PAGE_ELEM);
    3030    page.setAttribute(GSXML.LANG_ATT, request.getAttribute(GSXML.LANG_ATT));
    31     // add the lang stuff from message
    32     page.appendChild(doc_.importNode(GSXML.getChildByTagName(message, GSXML.DISPLAY_ELEM), true));
    33     // add the system stuff from message
    34        page.appendChild(doc_.importNode(GSXML.getChildByTagName(message, GSXML.CONFIGURATION_ELEM), true));
     31    // add the page extra stuff from message
     32    page.appendChild(doc_.importNode(GSXML.getChildByTagName(message, GSXML.PAGE_EXTRA_ELEM), true));
    3533
    3634    // part of the data for the page is the cgi-params
     
    7775    String to = GSPath.appendLink(collection, service_name);
    7876
    79     //create teh pageREsponse
     77    //create the pageResponse
    8078    Element page_response = doc_.createElement(GSXML.PAGE_RESPONSE_ELEM);
    8179    page.appendChild(page_response);
Note: See TracChangeset for help on using the changeset viewer.