Changeset 9965


Ignore:
Timestamp:
2005-05-26T09:58:00+12:00 (19 years ago)
Author:
kjdon
Message:

if there is no docnode list, add a dummy one in to teh page response. the interface is expecting it. need to think about this some more.

File:
1 edited

Legend:

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

    r9874 r9965  
    129129    // documentList not present if no docs found
    130130    if (document_list == null) {
     131        // add in a dummy doc node list - used by the display. need to think about this
     132        page_response.appendChild(this.doc.createElement(GSXML.DOC_NODE_ELEM + GSXML.LIST_MODIFIER));
    131133        return page_response;
    132134    }
Note: See TracChangeset for help on using the changeset viewer.