|
楼主 |
发表于 2012-11-12 17:20:27
|
显示全部楼层
我又测试了一下,觉得应该是treeListSinglePersonChoose.w文件返回值的问题,treeListSinglePersonChoose.w文件如下:
<window
xmlns:xu="http://www.xmldb.org/xupdate"
xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xui="http://www.justep.com/xui"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xforms="http://www.justep.com/xforms"
xmlns="http://www.justep.com/xui"
component="/UI/system/components/window.xbl.xml#window"
extends="/UI/system/service/commonChoose/treeListSinglePersonChoose.w" >
<xforms:model id="treeListSingleChooseModel" style="top:61px;height:auto;left:23px;width:231px;" xui:update-mode="merge"/>
<data id="main" relations="sName,sCode,sFName,sFID,sOrgKindID,sValidState,sParent,sPersonID" xui:update-mode="merge"/>
<data id="treeMain" relations="sName,sCode,sFName,sFID,sOrgKindID,sValidState,sParent" xui:update-mode="merge"/>
<xui:column xmlns:xui="http://www.justep.com/xui" id="gridColumn1_2" label="系统ID" ref="sPersonID" type="ed" width="221px" xui:parent="listGrid" xui:update-mode="insert" />
<xhtml:div id="splitter1" fix-size="400" xui:update-mode="merge"/>
</window>
我按照 <data id="main" relations="sName,sCode,sFName,sFID,sOrgKindID,sValidState,sParent,sPersonID" xui:update-mode="merge"/>的顺序分别测试
发现前四个【sName,sCode,sFName,sFID】都可以取到值并保存到数据库中,后面的【sOrgKindID,sValidState,sParent,sPersonID】就取不到了,是不是和这个有关呢? |
|