Changeset 5115
- Timestamp:
- 2003-08-07T16:58:51+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/action/AppletAction.java
r4695 r5115 76 76 // add in the applet info 77 77 String path = GSPath.appendLink(GSXML.RESPONSE_ELEM, GSXML.SERVICE_ELEM); 78 path = GSPath.appendLink(path, GSXML.APPLET_ELEM); 79 Element app_desc = (Element)doc_.importNode(GSXML.getNodeByPath(mr_response, path), true); 78 //path = GSPath.appendLink(path, GSXML.APPLET_ELEM); 79 Element service_elem = (Element)doc_.importNode(GSXML.getNodeByPath(mr_response, path), true); 80 Element applet_elem = (Element)GSXML.getChildByTagName(service_elem, GSXML.APPLET_ELEM); 80 81 // must handle any params that have values that are not 81 82 // necessarily known by the service 82 83 // should this be done here or by web receptionist?? 83 84 // cant really have an applet without web? 84 editLocalParams(app _desc, (String)config_params.get(GSConstants.LIBRARY_NAME), collection);85 page_response.appendChild( app_desc);85 editLocalParams(applet_elem, (String)config_params.get(GSConstants.LIBRARY_NAME), collection); 86 page_response.appendChild(service_elem); 86 87 87 88 return result;
Note:
See TracChangeset
for help on using the changeset viewer.