Changeset 4943 for trunk/gsdl3/src/java/org/greenstone/gsdl3/action
- Timestamp:
- 2003-07-16T13:51:31+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/action/PageAction.java
r4257 r4943 38 38 39 39 result.appendChild(doc_.importNode(response, true)); 40 ///ystem.out.println("page action result: "+converter_.getPrettyString(result)); 40 41 return result; 41 42 } … … 81 82 Element c2 = (Element)coll_responses.item(i); 82 83 if (c1.getAttribute(GSXML.NAME_ATT).equals(c2.getAttribute(GSXML.FROM_ATT))) { 83 // add the metadata to the original response84 GSXML.merge MetadataLists(c1, GSXML.getChildByTagName(c2, GSXML.COLLECTION_ELEM));84 //add the collection data into the original response 85 GSXML.mergeElements(c1, (Element)GSXML.getChildByTagName(c2, GSXML.COLLECTION_ELEM)); 85 86 } else { 86 87 System.err.println("PageAction Error: response does not correspond to request!"); … … 89 90 } 90 91 } 91 92 92 93 //now the full response message is in coll_list_response 93 94 // return the response element
Note:
See TracChangeset
for help on using the changeset viewer.