Map<String,String[]> newParams = new HashMap<String,String[]>(servRequest.getParameterMap());
newParams.remove("itsnat_action"); // Removes: itsnat_action=attach_doc
newParams.put("itsnat_doc_name",new String[]{"feashow.ext.core.misc.remCtrlReqRejected"});
newParams.put("reason", msg); // submitted as array
servRequest = servlet.createServletRequest(servRequest, newParams);
servlet.processRequest(servRequest,response.getServletResponse());
}
}
else if (phase == ItsNatAttachedClientEvent.REFRESH)
{
ClientDocument observer = event.getClientDocument();