1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: wubin
$Date: 2011-8-9 05:59:58
$Revision: 1.0
$Purpose:
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application">
<a:view>
<a:dataSets>
<a:dataSet id="hls_ws_requests_detail_result_ds" autoCount="true" autoQuery="true" fetchAll="false"
model="hls_ws.HLS_WS3020.hls_ws_requests_for_maintain"
queryUrl="${/request/@context_path}/autocrud/hls_ws.HLS_WS3020.hls_ws_requests_for_maintain/query?request_id=${/parameter/@request_id}">
<a:fields>
<a:field name="request_xml" readOnly="true"/>
<a:field name="response_xml" readOnly="true"/>
</a:fields>
</a:dataSet>
</a:dataSets>
<a:screenBody>
<a:fieldSet title="数据概览" width="520">
<div id="requestDiv">
<a:textArea name="request_xml" bindTarget="hls_ws_requests_detail_result_ds" height="500"
prompt="HLS_WS_REQUESTS.REQUEST_XML" width="500"/>
</div>
<div id="responseDiv">
<a:textArea name="response_xml" bindTarget="hls_ws_requests_detail_result_ds" height="500"
prompt="HLS_WS_REQUESTS.RESPONSE_XML" width="500"/>
</div>
</a:fieldSet>
</a:screenBody>
<script type="text/javascript"><![CDATA[
if (${/parameter/@type} == '0'
)
{
document.getElementById('responseDiv').style.display = "none";
}
else
{
document.getElementById('requestDiv').style.display = "none";
}
]]></script>
</a:view>
</a:screen>