- Timestamp:
- 2003-07-18T15:59:26+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/action/ProcessAction.java
r4694 r4981 58 58 Element mr_query_message = doc_.createElement(GSXML.MESSAGE_ELEM); 59 59 String request_type_att; 60 Element param_list ;60 Element param_list = null; 61 61 if (request_type.equals("s")) { // status 62 62 request_type_att = GSXML.REQUEST_TYPE_STATUS; … … 68 68 } else { 69 69 request_type_att = GSXML.REQUEST_TYPE_PROCESS; 70 // add in the params - except the ones only used by the action 71 param_list = getServiceParamList(cgi_param_list); 70 // add in the service params - except the ones only used by the action 71 HashMap service_params = (HashMap)params.get("s1"); 72 if (service_params != null) { 73 param_list = GSXML.createParameterList(doc_, service_params); 74 } 72 75 73 76 } 74 77 Element mr_query_request = GSXML.createBasicRequest(doc_, request_type_att, to, lang); 75 mr_query_request.appendChild(param_list); 78 if (param_list != null) { 79 mr_query_request.appendChild(param_list); 80 } 76 81 mr_query_message.appendChild(mr_query_request); 77 82
Note:
See TracChangeset
for help on using the changeset viewer.