| | |
| | | xml x; |
| | | |
| | | xaserverarg arg; |
| | | arg.setNativePointer(arg.CreateInstance()); |
| | | |
| | | arg.AddArg(L"pid", id); |
| | | arg.AddArg(L"tree", xid); |
| | | //if(xaserver::ExecXQuery(GetServerUrl(),L"[selectRoleInt.xq]",arg.GetString(),x)!=1) |
| | |
| | | xml x; |
| | | |
| | | xaserverarg arg; |
| | | arg.setNativePointer(arg.CreateInstance()); |
| | | |
| | | arg.AddArg(L"id", id); |
| | | trace(id); |
| | | arg.AddArg(L"flag", L"-1"); |
| | |
| | | return -1; |
| | | } |
| | | |
| | | if (x.xml() == L"") |
| | | if ((xstring)x.xml() == L"") |
| | | x.loadXML(L"<root><items/><roles/></root>"); |
| | | |
| | | xml x1; |
| | |
| | | { |
| | | xstring str = L"<vbox><xtree name='dw_tree" + xstring(nIndex) + L"' imagelist='0'/></vbox>"; |
| | | bnode = new xnode; |
| | | bnode.setNativePointer(SetAgentNodeContent(anode, str)); |
| | | bnode.setNativePointer(SetAgentNode(anode, str)); |
| | | |
| | | p = combobox::GetItemData(dw_ddlb.GetId(), nIndex); |
| | | KXMLDOMElement ele = p; |
| | |
| | | { |
| | | p = combobox::GetItemData(dw_ddlbdata.GetId(), h); |
| | | bnode = p; |
| | | SetAgentNodeContent(anode, bnode); |
| | | SetAgentNode(anode, bnode); |
| | | |
| | | dw_tree = new treeview; |
| | | dw_tree.setNativePointer(GetControl(L"dw_tree" + xstring(nIndex))); |
| | |
| | | return -1; |
| | | } |
| | | |
| | | if (x.xml() == L"") |
| | | if ((xstring)x.xml() == L"") |
| | | x.loadXML(L"<root><items/><roles/></root>"); |
| | | |
| | | KXMLDOMElement e = x.documentElement(); |