| | |
| | | int nRow = dw_list.GetRow(); |
| | | if (nRow < 0) return L""; |
| | | KXMLDOMElement ele = dw_list.GetRowElement(nRow); |
| | | xstring x = ele.getAttribute(L"category"); |
| | | return x; |
| | | if (!ele) return L""; |
| | | return ele.getAttribute(L"category"); |
| | | } |
| | | |
| | | xstring GetEntityID(LPARAM pr) |
| | |
| | | { |
| | | //return frame::GetReason(pr); |
| | | arg.AddArg(L"EntityID", GetEntityID(2)); |
| | | arg.AddArg(L"_ModuelPage", L"dev:xpage[workflow.chkdlg.vx]"); |
| | | OpenWindow(L"dev:xpage[vindexforold.vx]", arg); |
| | | OpenWindow(L"dev:xpage[workflow.chkdlg.vx]", arg); |
| | | //openUrl(L"/sale/view/workflow.view/xpage/chkdlg", arg); |
| | | xstring comdid2 = arg.GetArgString(L"comdid"); |
| | | if (comdid2 == L"xmOK") |
| | |
| | | { |
| | | //alert(L"xxxxxxxxxxx"); |
| | | //SetAgent(); |
| | | AttachEvent(L"WM_SETFOCUS", (FEvent)&startvframevbusiness::OnSetFocus); |
| | | //AttachEvent(L"WM_SETFOCUS", (FEvent)&startvframevbusiness::OnSetFocus); |
| | | //绑定工具条点击事件 |
| | | AttachEvent(L"WM_XCOMMAND", (FEvent)&startvframevbusiness::OnXCommand); |
| | | //AttachEvent(L"WM_TIMER",OnTimer); |