| | |
| | | #include <wobject/xstring.hpp> |
| | | #include <wobject/xstring.hpp> |
| | | #include <xcontrol/xtreeview.hpp> |
| | | #include <xcontrol/xdwgrid.hpp> |
| | | #include <xcontrol/xcell.hpp> |
| | |
| | | xdwtable dw_p; |
| | | |
| | | xcell dw_cell; |
| | | vcontrol vc; |
| | | |
| | | xstring sCryno; |
| | | |
| | | public: |
| | |
| | | xstring sTxt = OnCreateTxt(); |
| | | dw_1.SetItemString(1, L"PaymentTermEx", sTxt); |
| | | |
| | | xml x; |
| | | dw_1.DwUpdateAllTo(x); |
| | | GetArg().SetArg(L"content", x.xml()); |
| | | GetArg().SetArg(L"process", L"ok"); |
| | | |
| | | CloseWindow(); |
| | | |
| | | return 1; |
| | |
| | | |
| | | int OnInit() |
| | | { |
| | | xaserver Args = GetArg(); |
| | | |
| | | xaserverarg Args = GetArg(); |
| | | /* |
| | | XXmlContentSvr xdoc = new XXmlContentSvr; |
| | | xdoc.setNativePointer(Args); |
| | | vc = new vcontrol; |
| | |
| | | |
| | | vbind bind = new vbind; |
| | | bind.bind(dw_1, vc); |
| | | |
| | | xml x; |
| | | |
| | | xml x; |
| | | x.loadXML(vc.GetContent()); |
| | | |
| | | */ |
| | | //alert(x.GetXml()); |
| | | |
| | | xml x; |
| | | xstring xs = GetArg().GetArgString(L"content"); |
| | | x.loadXML(xs.c_str()); |
| | | dw_1.Retrieve(x); |
| | | |
| | | //if (x.GetXmlDoc().documentElement.selectSingleNode(L"CurrencyCode")) |