Changeset 5115


Ignore:
Timestamp:
2003-08-07T16:58:51+12:00 (21 years ago)
Author:
kjdon
Message:

the service elem is now part of the service response - used to be just teh applet elem

File:
1 edited

Legend:

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

    r4695 r5115  
    7676    // add in the applet info
    7777    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);
    8081    // must handle any params that have values that are not
    8182    // necessarily known by the service
    8283    // should this be done here or by web receptionist??
    8384    // 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);
    8687   
    8788    return result;
Note: See TracChangeset for help on using the changeset viewer.