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/DocumentAction.java

    r4036 r4144  
    8787    page.setAttribute(GSXML.LANG_ATT, lang);
    8888
    89     // Add the display element, config stuff, and original request from the message
    90     page.appendChild(doc_.importNode(GSXML.getChildByTagName(message, GSXML.DISPLAY_ELEM), true));
    91     page.appendChild(doc_.importNode(GSXML.getChildByTagName(message, GSXML.CONFIGURATION_ELEM), true));
     89    // Add the page extra element,  and original request from the message
     90    page.appendChild(doc_.importNode(GSXML.getChildByTagName(message, GSXML.PAGE_EXTRA_ELEM), true));
    9291    Element page_request = GSXML.duplicateWithNewName(doc_, request, GSXML.PAGE_REQUEST_ELEM, true);
    9392    page.appendChild(page_request);
Note: See TracChangeset for help on using the changeset viewer.