|  |  | 
 |  |  |       return L""; | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    string GetEntityIDName(/*param*/int pr) | 
 |  |  |    xstring GetEntityIDName(/*param*/LPARAM  pr) | 
 |  |  |    { | 
 |  |  |       if (m_configDoc) | 
 |  |  |       { | 
 |  |  | 
 |  |  |                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; |