|
版本: |
X5.2.1.2000 |
小版本号: |
|
|
|
数据库: |
Oracle |
服务器操作系统: |
Windows |
应用服务器: |
Tomcat |
客户端操作系统: |
Windows 7 |
浏览器: |
IE8 |
|
|
问题详细描述:目前希望在页面集成读卡器调用程序,读卡器供应商提供的基于html页面的调用方法如下所示:
<HTML>
<HEAD><TITLE>D8读卡器测试</TITLE></HEAD>
<BODY>
<OBJECT id=rd codeBase="comRD800.cab" WIDTH="0" HEIGHT="0" classid="clsid:638B238E-EB84-4933-B3C8-854B86140668"></OBJECT>
<script language=javascript>
但是经过测试我们发现在如下所示的.w页面中不能很好的集成<OBJECT id=rd codeBase="comRD800.cab" WIDTH="0" HEIGHT="0" classid="clsid:638B238E-EB84-4933-B3C8-854B86140668"></OBJECT>控件。请提供集成方法:
<?xml version="1.0" encoding="utf-8"?>
<window xmlns="http://www.justep.com/xui" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:justep="http://www.justep.com/x5#" xmlns:xu="http://www.xmldb.org/xupdate"
xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:data="http://www.justep.com/x5/xui/data#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:f="http://orbeon.org/oxf/xml/formatting" xmlns:xui="http://www.justep.com/xui"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xforms="http://www.justep.com/xforms" component="/UI/system/components/window.xbl.xml#window">
<xforms:model id="mdDefault" style="width:157px;top:12px;height:63px;left:650px;"
xui:update-mode="insert" xui:parent="">
<data auto-load="true" auto-new="false" component="/UI/system/components/data.xbl.xml#bizData"
concept="Security_BurnOutput" id="dataMaster" limit="20" offset="0" store-type="simple"
update-mode="whereVersion">
<reader action="/security/infoOutput/logic/action/querySecurity_BurnOutputAction"
id="default8"/>
<writer action="/security/infoOutput/logic/action/saveSecurity_BurnOutputAction"
id="default9"/>
<creator action="/security/infoOutput/logic/action/createSecurity_BurnOutputAction"
id="default10"/>
<rule id="dataBizRule1" relation="fReason" required="true()" alert="'申请理由必填'"/>
<rule id="dataBizRule7" relation="fWorkNo" alert="'必须填写取件人信息!'"></rule>
<rule id="dataBizRule8" relation="fDiscNo" alert="'必须填写光盘编号信息!'"></rule>
<rule id="dataBizRule9" relation="fDestoryDiscNum" required="true()" alert="'必须填写废盘数!'"></rule>
<rule id="dataBizRule2" relation="fApplicationPerson"></rule>
<rule id="dataBizRule10" relation="fFectchName"></rule></data>
<data auto-load="true" component="/UI/system/components/data.xbl.xml#bizData"
concept="Security_BurnOutput_s" id="dataDetail" limit="20" offset="0" update-mode="whereVersion">
<master data="dataMaster" id="master1" relation="fPId"/>
<creator action="/security/infoOutput/logic/action/createSecurity_BurnOutput_sAction"
id="default1"/>
<reader action="/security/infoOutput/logic/action/querySecurity_BurnOutput_sAction"
id="default2"/>
<writer action="/security/infoOutput/logic/action/saveSecurity_BurnOutput_sAction"
id="default3"/>
<rule id="dataBizRule3" relation="fFileTitle" required="true()" alert="'文件标题必填'"/>
<rule id="dataBizRule4" relation="fFileSecurityLevel" required="true()"
alert="'必填填写文件密级'"/>
<rule id="dataBizRule5" relation="fPurpose" required="true()" alert="'用途必填'"/>
<rule id="dataBizRule6" relation="fQx" required="true()" alert="'去向必填'"/>
<calculate-relation relation="calculate5" id="calculate-relation1"/>
</data>
<data component="/UI/system/components/data.xbl.xml#bizData" update-mode="whereVersion"
auto-load="true" id="gpmjBizData" concept="SYS_Code">
<creator id="default34" action="/security/common/logic/action/createSYS_CodeAction"/>
<reader id="default35" action="/security/common/logic/action/querySYS_CodeAction"/>
<writer id="default36" action="/security/common/logic/action/saveSYS_CodeAction"/>
<filter name="filter2" id="filter1"><![CDATA[SYS_Code.fName='Security_MJ']]></filter>
</data>
<xforms:action id="action4" ev:event="onload"><xforms:script id="xformsScript4">sendDisc.mdDefaultLoad(event)</xforms:script></xforms:action></xforms:model>
<xui:view auto-load="true" id="rootView" xui:update-mode="insert" xui:parent="">
<xhtml:div component="/UI/system/components/toolbars.xbl.xml#toolbars" id="tbsFlow">
<xui:bar component="/UI/appCommon/components/standardProcessBar.xbl.xml#standardProcessBar"
id="standardProcessBar1" data="dataMaster" process-engine="flw" flowTrack-visibled="true"/>
<xui:bar component="/UI/system/components/customBar.xbl.xml#customBar" id="customBar1" style="text-align:justify"><item id="customBarItem1"><xforms:trigger id="trigger3">
<xforms:label id="xuiLabel6">通知取件</xforms:label>
<xforms:action id="action3" ev:event="DOMActivate"><xforms:script id="xformsScript3">sendDisc.trigger3Click(event)</xforms:script></xforms:action></xforms:trigger></item></xui:bar></xhtml:div>
<xhtml:div component="/UI/system/components/process.xbl.xml#process" data="dataMaster"
id="flw"/>
<xhtml:div component="/UI/system/components/grid.xbl.xml#grid" data="dataDetail"
id="grdDetail" show-header-menu="hide-column,save-layout,group-column,adjust-column">
<xui:column id="gridColumn1" ref="calculate5" label="序号" type="ed" width="30px"
show-index="true"/>
<column id="default4" label="申请单编号" ref="fApplicationNo" type="ed" width="100px"
visible="false"/>
<column id="default5" label="文件编号" ref="fFileNo" type="ed" width="100px"
visible="false"/>
<column id="default6" label="文件标题" ref="fFileTitle" type="ed" width="158px"
readonly="true"/>
<column id="default7" label="文件密级" ref="fFileSecurityLevel" type="select"
width="100px" editor="gridSelect1" readonly="true">
<xhtml:div component="/UI/system/components/select.xbl.xml#gridSelect" label-separator=","
value-separator="," ext-separator="," id="gridSelect1" ref="data('dataDetail')/fSecurityLevelCode"
label-ref="data('dataDetail')/fFileSecurityLevel">
<xforms:label ref="fKey" id="xuiLabel2"/>
<xforms:value ref="fValue" id="default32"/>
<xforms:itemset id="default33" data="dmbData" independence="true">
<xforms:column ref="fKey" id="default38"/>
<xforms:column ref="fValue" visible="false" id="default39"/>
</xforms:itemset>
</xhtml:div>
</column>
<column id="default11" label="电子文件" ref="fFile" type="attachment" width="169px"
editor="attachmentDialog1" readonly="false">
<xhtml:div component="/UI/system/components/attachmentDialog.xbl.xml#attachmentDialog"
display-buttons="download:true;upload:false;template:false;edit:false;delete:false;history:false;"
id="attachmentDialog1" ref="data('dataDetail')/fFile" style="width:100%;top:0px;height:20px;left:0px;"
root-path="/root"/>
</column>
<column id="default12" label="传输类型" ref="fTransType" type="select" width="100px"
editor="gridSelect2" readonly="true" visible="false">
<xhtml:div component="/UI/system/components/select.xbl.xml#gridSelect" label-separator=","
value-separator="," ext-separator="," id="gridSelect2" ref="data('dataDetail')/fTransTypeCode"
label-ref="data('dataDetail')/fTransType">
<xforms:label ref="fKey" id="xuiLabel3"/>
<xforms:value ref="fValue" id="default40"/>
<xforms:itemset id="default41" data="dmbData">
<xforms:column ref="fValue" visible="false" id="default42"/>
<xforms:column ref="fKey" id="default43"/>
</xforms:itemset>
</xhtml:div>
</column>
<column id="default13" label="共享目录地址" ref="fShareDirPath" type="txt" width="100px"
readonly="true" visible="false"/>
<column id="default18" label="光盘编号" ref="fDiscNo" type="inputbtn" width="150px"
visible="false"/>
<xui:column id="gridColumn2" ref="fDiscSecurityLevel" label="光盘密级" type="select"
width="100px" editor="fDiscSecurityLevel" visible="false">
<xhtml:div component="/UI/system/components/select.xbl.xml#gridSelect" label-separator=","
value-separator="," ext-separator="," id="fDiscSecurityLevel" ref="data('dataDetail')/fDiscSecurityLevel">
<xforms:label ref="fKey" id="xuiLabel1"/>
<xforms:value ref="fKey" id="default37"/>
<xforms:itemset id="default44" data="gpmjBizData">
<xforms:column ref="fKey" id="default45"/>
<xforms:column ref="fValue" visible="false" id="default46"/>
</xforms:itemset>
</xhtml:div>
</xui:column>
<column id="default14" label="用途" ref="fPurpose" type="txt" width="100px"
readonly="true"/>
<column id="default15" label="去向类型" ref="fQxType" type="ed" width="100px"
visible="false"/>
<column id="default16" label="去向说明" ref="fQx" type="txt" width="100px" readonly="true"/>
<column id="default17" label="备注" ref="fRemark" type="txt" width="100px"
readonly="true" visible="false"/>
</xhtml:div>
<xhtml:div component="/UI/system/components/toolbars.xbl.xml#toolbars" id="tbsDetail">
<xui:bar component="/UI/system/components/bar.xbl.xml#navigatorBar" data="dataDetail"
id="ngtbDetail" style="width:245px;">
<item id="barItem5" name="refresh-item"/>
<item id="barItem6" name="filter-item"/>
<item id="barItem7" name="filter-pattern-item"/>
<item id="separatorItem1" name="separator"/>
<item id="barItem8" name="first-item"/>
<item id="barItem9" name="pre-item"/>
<item id="barItem10" name="next-item"/>
<item id="barItem11" name="last-item"/>
<item id="separatorItem2" name="separator"/>
<item id="barItem17" name="custom-page-item"/>
</xui:bar>
</xhtml:div>
<xhtml:div component="/UI/system/components/windowDialog.xbl.xml#windowDialog"
title="光盘列表" width="600px" height="400px" modal="true" id="windowDialog1" url="/UI/security/infoInput/process/blankDisc/winDiscChecks.w">
</xhtml:div>
<xui:view auto-load="true" id="vDetail">
<layout id="layout3" src="sendDiscExamine.xls" style="position:relative;padding-left:1px;width:746px;height:163px;"
type="excel"/>
<xformsutput id="iptFApplicationNo" ref="data('dataMaster')/fApplicationNo"/>
<xformsutput id="iptFApplicationPerson" ref="data('dataMaster')/fApplicationPerson"/>
<xformsutput id="iptFApplicationDept" ref="data('dataMaster')/fApplicationDept"/>
<xformsutput id="iptFApplicationTime" ref="data('dataMaster')/fApplicationTime"
format="yyyy-MM-dd"/>
<xformsutput id="iptFReason" ref="data('dataMaster')/fReason"/>
<xformsutput id="fSecurityLevle" ref="data('dataMaster')/fSecurityLevle"/>
<xforms:input id="fWorkNo" class="xui-autofill" ref="data('dataMaster')/fWorkNo" readonly="true"></xforms:input>
<xforms:trigger id="trigger1" class="xui-autofill" appearance="image" src="/UI/system/images/search.gif">
<xforms:label id="xuiLabel4">trigger</xforms:label>
<xforms:action id="action1" ev:event="DOMActivate"><xforms:script id="xformsScript1">sendDisc.trigger1Click(event)</xforms:script></xforms:action></xforms:trigger>
<xforms:input id="fDestoryDiscNum" class="xui-autofill" ref="data('dataMaster')/fDestoryDiscNum"></xforms:input>
<xforms:trigger id="trigger2" class="xui-autofill" appearance="image" src="/UI/system/images/search.gif">
<xforms:label id="xuiLabel5">trigger</xforms:label>
<xforms:action id="action2" ev:event="DOMActivate"><xforms:script id="xformsScript2">sendDisc.trigger2Click(event)</xforms:script></xforms:action></xforms:trigger>
<xforms:input id="fConfirmCode" class="xui-autofill" ref="data('dataMaster')/fConfirmCode" input-regex="^[0-9]*[1-9][0-9]*$"></xforms:input>
<xformsutput id="fDiscNo" ref="data('dataMaster')/fDiscNo"></xformsutput></xui:view>
<layout id="layout1" style="height:100%;">
<xhtml:div component="/UI/system/components/borderLayout.xbl.xml#borderLayout"
id="borderLayout2" style="width:100%;height:447px;">
<top id="borderLayout-top2" size="266px">
<place control="tbsFlow" id="controlPlace4"/>
<xui:place control="windowDialog1" id="controlPlace5" style="top:30px;left:37px;"/>
<place control="vDetail" id="controlPlace1" style="width:746px;height:163px;"/>
<xui:place control="windowDialog2" id="controlPlace6" style="top:31px;left:93px;"></xui:place></top>
<center id="borderLayout-center2">
<place control="tbsDetail" id="controlPlace3" style="position:relative;width:923px;"/>
<place control="grdDetail" id="controlPlace2" style="position:relative;width:741px;height:140px;"/>
</center>
</xhtml:div>
<place control="flw" id="controlPlace7" style="width:24px;top:11px;left:394px;"/>
<xui:place control="view1" id="controlPlace15" style="width:753px;height:43px;"/>
</layout>
<layout id="layout2"/>
<xui:view auto-load="true" id="view1" class="xui-container">
<layout type="absolute" style="position:relative;width:753px;height:43px;"
id="layout4">
<xui:place control="standardProcessExecuteList1" id="controlPlace16" style="position:relative;width:739px;height:5px;"/>
</layout>
<xhtml:div component="/UI/appCommon/components/standardProcessExecuteList.xbl.xml#standardProcessExecuteList"
panel-title="处理列表" status="collapsed" min-height="165" id="standardProcessExecuteList1"
data="dataMaster"/>
</xui:view>
<xhtml:div component="/UI/system/components/windowDialog.xbl.xml#windowDialog" title="" width="350px" height="550px" modal="true" id="windowDialog2" url="/UI/appCommon/dialogs/orgSelectDialog/orgSingleSelect/mainActivity.w"></xhtml:div></xui:view>
<resource id="rsMain" xui:update-mode="insert" xui:parent="">
<xhtml:script id="htmlScript1" src="sendDisc.js?v=20150722"/>
<xhtml:link rel="stylesheet" type="text/css" id="htmlLink1" href="/UI/security/common/process/common/csic_common.css"/>
<xhtml:script id="htmlScript2" src="/UI/security/common/process/common/common.js"></xhtml:script>
<xhtml:script id="htmlScript3" src="sendDisc.js"></xhtml:script>
<xhtml:script id="htmlScript4" src="/UI/security/infoInput/process/blankDisc/winDiscChecks.js"></xhtml:script></resource>
</window>
|
|