| | |
| | | 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) |
| | | { |
| | |
| | | |
| | | 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); |
| | | } |
| | |
| | | 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(); |