Changeset 14226 for greenstone3/trunk/src/java
- Timestamp:
- 2007-07-09T10:28:07+12:00 (17 years ago)
- Location:
- greenstone3/trunk/src/java/org/greenstone/gsdl3/action
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
greenstone3/trunk/src/java/org/greenstone/gsdl3/action/AppletAction.java
r13270 r14226 63 63 // get the applet data out and pass it back as is. 64 64 String path = GSPath.appendLink(GSXML.RESPONSE_ELEM, GSXML.APPLET_DATA_ELEM); 65 Element applet_info = (Element)GSXML.getNodeByPath(mr_response, path).getFirstChild(); 65 Element applet_info = GSXML.getFirstElementChild(GSXML.getNodeByPath(mr_response, path)); 66 //Element applet_info = (Element)GSXML.getNodeByPath(mr_response, path).getFirstChild(); 66 67 return applet_info; 67 68 -
greenstone3/trunk/src/java/org/greenstone/gsdl3/action/NoCollQueryAction.java
r13270 r14226 153 153 Document owner = result_list.getOwnerDocument(); 154 154 Node child = from_list.getFirstChild(); 155 while (child != null ) {155 while (child != null && child.getNodeType() == Node.ELEMENT_NODE) { 156 156 ((Element)child).setAttribute("collection", collection); 157 157 result_list.appendChild(owner.importNode(child, true));
Note:
See TracChangeset
for help on using the changeset viewer.