<?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="ebank.EBANK100.hls_ebank_xml_vlaues_lv" queryUrl="${/request/@context_path}/autocrud/ebank.EBANK100.hls_ebank_xml_vlaues_lv/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:hBox>
                <a:fieldSet title="请求报文" width="400">
                    <div id="requestDiv">
                        <a:textArea name="request_xml" bindTarget="hls_ws_requests_detail_result_ds" height="400" prompt="HLS_WS_REQUESTS.REQUEST_XML" width="400"/>
                    </div>
                </a:fieldSet>
                <a:label width="5"/>
                <a:fieldSet title="应答报文" width="400">
                    <div id="responseDiv">
                        <a:textArea name="response_xml" bindTarget="hls_ws_requests_detail_result_ds" height="400" prompt="HLS_WS_REQUESTS.RESPONSE_XML" width="400"/>
                    </div>
                </a:fieldSet>
            </a:hBox>
        </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>