|
楼主 |
发表于 2015-3-11 13:59:53
|
显示全部楼层
编译没有错误,W全部删掉再用向导做的,新做的也是这样
W文件
<?xml version="1.0" encoding="utf-8"?>
<xui:window xmlns:xui="http://www.justep.com/xui" xmlns="http://www.justep.com/xui" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xforms="http://www.justep.com/xforms" xmlns:xhtml="http://www.w3.org/1999/xhtml" component="/UI/system/components/window.xbl.xml#window" id="window">
<xforms:model id="model" style="width:143px;height:auto;top:603px;left:384px;">
<data auto-load="true" component="/UI/system/components/data.xbl.xml#bizData" concept="DE_ZJLS" data-type="json" direct-delete="true" id="dataMain" limit="20" offset="0" update-mode="whereVersion">
<creator action="/dengde/web/logic/action/createDE_ZJLSAction" id="default2"/>
<reader action="/dengde/web/logic/action/queryDE_ZJLSAction" id="default3"/>
<writer action="/dengde/web/logic/action/saveDE_ZJLSAction" id="default4"/>
</data>
</xforms:model>
<xui:view auto-load="true" id="rootView">
<xforms:trigger appearance="image-text" class="button-blue" component="/UI/system/components/trigger.xbl.xml#trigger" id="newTrigger" operation="new" operation-owner="dataMain">
<xforms:label id="newTriggerLabel"/>
</xforms:trigger>
<xforms:trigger appearance="image-minimal" component="/UI/system/components/trigger.xbl.xml#trigger" id="saveTrigger" operation="save" operation-owner="dataMain">
<xforms:label id="saveTriggerLabel"/>
</xforms:trigger>
<xforms:trigger appearance="image-minimal" component="/UI/system/components/trigger.xbl.xml#trigger" id="deleteTrigger" operation="delete" operation-owner="dataMain">
<xforms:label id="deleteTriggerLabel"/>
</xforms:trigger>
<xforms:trigger appearance="image-minimal" component="/UI/system/components/trigger.xbl.xml#trigger" id="refreshTrigger" operation="refresh" operation-owner="dataMain">
<xforms:label id="refreshTriggerLabel"/>
</xforms:trigger>
<xhtml:div component="/UI/system/components/bizDataFilterMenu.xbl.xml#bizDataFilterMenu" data="dataMain" id="bizDataFilterMenu1"/>
<xhtml:div class="grid-compact" component="/UI/system/components/grid.xbl.xml#grid" data="dataMain" header-row-height="30" id="grdMain" row-height="30" show-header-menu="hide-column,save-layout,group-column,adjust-column">
<column id="default5" label="添加时间" ref="fTJSJ" type="dateTime" width="100px"/>
<column id="default6" label="内容" ref="fNR" type="ed" width="100px"/>
<column id="default7" label="金额" ref="fJE" type="ed" width="100px"/>
<column id="default8" label="位置" ref="fWZ" type="ed" width="100px"/>
<column id="default9" label="备注" ref="fBZ" type="ed" width="100px"/>
<column id="default10" label="类型" ref="fLX" type="ed" width="100px"/>
<column id="default11" label="提交人" ref="fTJR332" type="ed" width="100px"/>
</xhtml:div>
<xhtml:div align="right" component="/UI/system/components/pagination.xbl.xml#pagination" data="dataMain" first-label="首页" id="pagination1" items="first last pre next" last-label="尾页" next-label="下页" page-count="15" pre-label="上页"/>
<xui:layout style="overflow:auto;height:100%;width:100%">
<xhtml:div component="/UI/system/components/borderLayout.xbl.xml#borderLayout" id="borderLayout1" style="width:100%; height: 100%;;">
<top id="borderLayout-top1" size="40px">
<xhtml:div component="/UI/system/components/buttonBar.xbl.xml#buttonBar" expandable="false" expanded="false" id="ngtbMain" separator="false" separator-size="1">
<xui:place control="newTrigger" id="newTriggerPlace"/>
<xui:place control="saveTrigger" id="saveTriggerPlace"/>
<xui:place control="deleteTrigger" id="controlPlace2"/>
<xui:place control="refreshTrigger" id="refreshTriggerPlace"/>
<xui:place control="queryTrigger" id="controlPlace4"/>
<xui:place control="excelExport1" id="controlPlace6"></xui:place>
<xui:place control="printHtml1" id="controlPlace7"></xui:place>
</xhtml:div>
<xui:place control="trigger1" id="controlPlace8"></xui:place></top>
<center id="borderLayout-center1">
<xui:place control="bizDataFilterMenu1" id="controlPlace3" style="top:5px;left:530px;"/>
<place control="grdMain" id="controlPlace1" style="width:100%;height:100%"/>
</center>
<bottom id="borderLayout-bottom1" size="45px">
<place control="pagination1" id="controlPlace5"/>
</bottom>
</xhtml:div>
<xui:place control="windowDialog1" id="controlPlace9" style="position:absolute;top:140px;left:312px;"></xui:place></xui:layout>
<xforms:trigger appearance="image-minimal" component="/UI/system/components/trigger.xbl.xml#trigger" id="queryTrigger" operation="show" operation-owner="bizDataFilterMenu1">
<xforms:label id="default1"/>
</xforms:trigger>
<xhtml:div appearance="image-minimal" component="/UI/system/components/excel.xbl.xml#export" data="dataMain" icon-class="icon-system-export" id="excelExport1"></xhtml:div>
<xhtml:div appearance="image-minimal" component="/UI/system/components/printHtml.xbl.xml#printHtml" icon-class="icon-system-print" id="printHtml1" is-preview="true" label="打印" target-id="grdMain" xhtml:style="width:65px;"></xhtml:div>
<xforms:trigger component="/UI/system/components/trigger.xbl.xml#trigger" id="trigger1">
<xforms:label id="default12">trigger</xforms:label>
<xforms:action id="action1" ev:event="DOMActivate"><xforms:script id="xformsScript1"><![CDATA[mainActivity.trigger1Click(event)]]></xforms:script></xforms:action></xforms:trigger>
<xhtml:div component="/UI/system/components/windowDialog.xbl.xml#windowDialog" title="" width="400px" height="300px" modal="true" id="windowDialog1" url="/UI/dengde/web/process/ka/xuan-ka.w"><result concept="dataMain" operation="modify" origin="main" id="default13">
<mapping from="fKM" to="fWZ" id="default14"></mapping></result></xhtml:div></xui:view>
<xui:resource id="resource"><xhtml:script id="htmlScript1" src="mainActivity.js"></xhtml:script></xui:resource>
</xui:window>
|
|