|
这是部分原代码
web_custom_request("org.gocom.abframe.rights.menu.MenuManager.queryParentMenus.biz.ajax",
"URL=http://192.168.0.5:7301/eos-default/common/skins/outlook/org.gocom.abframe.rights.menu.MenuManager.queryParentMenus.biz.ajax?time=Tue%20Mar%202%2016:59:40%20UTC+0800%202010",
"Method=POST",
"Resource=0",
"RecContentType=text/xml",
"Referer=http://192.168.0.5:7301/eos-default/common/skins/outlook/work_body_leftTree.jsp?hrefStr=null&hrefPlanid=null&hrefDepkpiid=null&hrefGatherplanid=null&hrefAlertsoluinst=null",
"Snapshot=t8.inf",
"Mode=HTML",
"EncType=application/x-www-form-urlencoded;charset=utf-8",
"Body=<?xml version=\"1.0\" encoding=\"utf-8\"?><root><params></params>\n<data><menuid>5</menuid></data></root>",
EXTRARES,
"Url=css/panbg.gif", "Referer=http://192.168.0.5:7301/eos-default/common/skins/outlook/work_body_leftTree.jsp?hrefStr=null&hrefPlanid=null&hrefDepkpiid=null&hrefGatherplanid=null&hrefAlertsoluinst=null", ENDITEM,
LAST);
lr_think_time(9);
web_submit_data("com.fhd.questionanswer.queAnswerSelectMain.flow_2",
"Action=http://192.168.0.5:7301/eos-default/common/skins/outlook/com.fhd.questionanswer.queAnswerSelectMain.flow",
"Method=POST",
"RecContentType=text/html",
"Referer=http://192.168.0.5:7301/eos-default/common/skins/outlook/com.fhd.questionanswer.queAnswerSelectMain.flow",
"Snapshot=t9.inf",
"Mode=HTML",
ITEMDATA,
"Name=_eosFlowAction", "Value=evaluateQue", ENDITEM,
"Name=viewType", "Value=1", ENDITEM,
"Name=criteria/_expr[4]/operatorid", "Value=1040", ENDITEM,
"Name=criteria/_expr[6]/ispublished", "Value=1", ENDITEM,
"Name=criteria/_expr[3]/companyid", "Value=1", ENDITEM,
"Name=criteria/_expr[3]/_op", "Value==", ENDITEM,
"Name=criteria/_expr[5]/_op", "Value==", ENDITEM,
"Name=criteria/_expr[4]/_op", "Value==", ENDITEM,
"Name=criteria/_expr[5]/isenabled", "Value=1", ENDITEM,
"Name=criteria/_entity", "Value=com.fhd.service.sdo.QuestionaireManagement.QV_Que_DepParticipant", ENDITEM,
"Name=criteria/_expr[6]/_op", "Value==", ENDITEM,
"Name=page/begin", "Value=0", ENDITEM,
"Name=page/length", "Value=13", ENDITEM,
"Name=page/count", "Value=4", ENDITEM,
"Name=page/isCount", "Value=true", ENDITEM,
"Name=QueSubStatus[2]", "Value=0", ENDITEM,
"Name=select_objs[2]/targetstype", "Value=0", ENDITEM,
"Name=select_objs[2]/depparticipantid", "Value=5B3018A4-D9BE-58E7-0A91-88D134CE9BBB", ENDITEM,
"Name=select_objs[2]/questsetid", "Value=E7C0D450-D1C3-3C2F-55AF-274C2152D23E", ENDITEM,
"Name=_eosFlowKey", "Value=0bfb1c42-328d-43df-9e1d-3e9e9d79d84e.view0", ENDITEM,
EXTRARES,
"Url=images/tabs/tabs_nomal_right.gif", ENDITEM,
"Url=images/tabs/tabs_nomal_left.gif", ENDITEM,
LAST);
我想将web_submit_data中的operatorid,depparticipantid,questsetid这几个值进行关联
我在request之前添加了以下函数:
web_reg_save_param("operaorid",
"LB=operatorid\", \"Value=",
"RB=\"",
LAST);
web_reg_save_param("depparticipantid",
"LB=depparticipantid\", \"Value=",
"RB=\"",
LAST);
web_reg_save_param("questsetid",
"LB=questsetid\", \"Value=",
"RB=\"",
LAST);
并将web_submit_data中需要关联的部分进行了参数化
但是运行的时候报出了
No match found for the requested parameter "operaorid". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 256 bytes, use web_set_max_html_param_len to increase the parameter size [MsgId: MERR-26377]
这个错误~
我不知道哪里出现了错误,是不是我这里还是不能用关联? |
|