|  |  | 
 |  |  |    int m_pageNumber; | 
 |  |  |    listEx* m_listEx; | 
 |  |  |  | 
 |  |  |    listwin(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd){} | 
 |  |  |    listwin(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd){ | 
 |  |  |       this->SetArg(); | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    xstring GetEntityWorkNode(/*param*/LPARAM pr, xstring what) | 
 |  |  |    { | 
 |  |  | 
 |  |  |       return L""; | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    string GetEntityIDName(/*param*/int pr) | 
 |  |  |    xstring GetEntityIDName(/*param*/LPARAM  pr) | 
 |  |  |    { | 
 |  |  |       if (m_configDoc) | 
 |  |  |       { | 
 |  |  | 
 |  |  |  | 
 |  |  |    int getURLParam() | 
 |  |  |    { | 
 |  |  |       if (GetParam()) | 
 |  |  |       if (GetWinParam()) | 
 |  |  |       { | 
 |  |  |          xaserverarg* arg = (xaserverarg * )GetParam(); | 
 |  |  |          xstring config = arg->GetArgString(L"config"); | 
 |  |  |          xaserverarg arg = GetArg(); | 
 |  |  |          xstring config = arg.GetArgString(L"config"); | 
 |  |  |          KXMLDOMDocument x; | 
 |  |  |          if (config == L"") | 
 |  |  |          { | 
 |  |  |             string configXml = arg->GetArgString(L"configxml"); | 
 |  |  |             string configXml = arg.GetArgString(L"configxml"); | 
 |  |  |             if (configXml == L"") return 1; | 
 |  |  |             x.loadXML(configXml); | 
 |  |  |          } | 
 |  |  | 
 |  |  |                else | 
 |  |  |                { | 
 |  |  |                   KXMLDOMElement ele = dw_list.GetRowElement(row); | 
 |  |  |                   string id = GetEntityIDName(1); | 
 |  |  |                   string entity = ele.selectSingleNode(id).text(); | 
 |  |  |                   xstring id = GetEntityIDName(1); | 
 |  |  |                   xstring entity = ele.selectSingleNode(id).text(); | 
 |  |  |                   //alert(ele.xml); | 
 |  |  |                   SetAgent(L"list", entity); | 
 |  |  |                } | 
 |  |  | 
 |  |  |       return 1; | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    virtual int PreOnCmdDispatch(string comdid) | 
 |  |  |    virtual int PreOnCmdDispatch(xstring comdid) | 
 |  |  |    { | 
 |  |  |       //返回0——不在执行以下代码;返回其他——执行以下代码。 | 
 |  |  |       return 1; | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    virtual int PostOnCmdDispatch(string comdid) | 
 |  |  |    virtual int PostOnCmdDispatch(xstring comdid) | 
 |  |  |    { | 
 |  |  |       //   trace("test"); | 
 |  |  |       return 1; | 
 |  |  | 
 |  |  |          KXMLDOMElement e = n; | 
 |  |  |          //trace("m_configDoc//list/dwview[@type='dwgrid'][1]="+e.xml); | 
 |  |  |          xstring vface = m_configDoc.selectSingleNode(L"//vface[1]").text(); | 
 |  |  |          xstring dwname = L"";//e.selectsingleNode("@name").text; | 
 |  |  |          string dwname = L"";//e.selectsingleNode("@name").text; | 
 |  |  |          xstring tpl = GetTemplateUrl();//e.selectsingleNode("@url").text; | 
 |  |  |          xstring selectmode = L"4"; | 
 |  |  |          if (e.selectSingleNode(L"@name")) dwname = e.selectSingleNode(L"@name").text(); |