You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

142 lines
5.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms">
<head>
<w2:type>DEFAULT</w2:type>
<w2:buildDate/>
<xf:model>
<xf:instance>
<data xmlns="" />
</xf:instance>
<w2:dataCollection baseNode="map">
<w2:dataMap baseNode="map" id="req">
<w2:keyInfo>
<w2:key id="altMailSeq" name="메시지키" dataType="text"></w2:key>
</w2:keyInfo>
</w2:dataMap>
<w2:dataMap baseNode="map" id="res">
<w2:keyInfo>
<w2:key id="altMailSeq" name="메시지키" dataType="text"></w2:key>
<w2:key id="sender" name="보낸이" dataType="text"></w2:key>
<w2:key id="receiver" name="받는이" dataType="text"></w2:key>
<w2:key id="sendDate" name="보낸날짜" dataType="text"></w2:key>
<w2:key id="title" name="제목" dataType="text"></w2:key>
<w2:key id="text" name="내용" dataType="text"></w2:key>
<w2:key id="attachFileName" name="첨부파일명" dataType="text"></w2:key>
</w2:keyInfo>
</w2:dataMap>
</w2:dataCollection>
<w2:workflowCollection></w2:workflowCollection>
<xf:submission id="sub_search"
ref='data:json,{"id":"req","key":"param"}'
target='data:json,{"id":"res","key":"result"}'
action="/cfs/trsmrcv/findAltMail.do"
method="post" mediatype="application/json" encoding="UTF-8"
instance="" replace="" errorHandler="" customHandler="" mode="asynchronous"
processMsg="" ev:submit=""
ev:submitdone="scwin.sub_search_submitdone" ev:submiterror="" abortTrigger="">
</xf:submission>
</xf:model>
<script type="text/javascript" lazy="false"><![CDATA[
scwin.onpageload = function() {
scwin.param = com.getParameter();
req.setJSON(scwin.param.data);
com.executeSubmission(sub_search);
};
scwin.sub_search_submitdone = function(){
var fileExist = res.get("attachFileName");
var altMailSeq = res.get("altMailSeq");
var downLink = document.getElementById(attach_file_link_td.id).children[0];
if(fileExist != null && fileExist != ""){
//첨부파일링크 제공
downLink.setAttribute("download","");
downLink.innerText = fileExist;
downLink.href = "/cfs/trsmrcv/downloadAltMailAttachFile.do?altMailSeq="+altMailSeq;
} else {
downLink.setAttribute("hidden","");
}
};
scwin.btn_close_onclick = function() {
com.closePopup();
};
]]></script>
</head>
<body ev:onpageload="scwin.onpageload" ev:onpageunload="scwin.onpageunload">
<xf:group class="pop" id="" style=""></xf:group>
<xf:group class="pop_con" id="" style="">
<xf:group class="cm_tbl" id="" style=""></xf:group>
<xf:group class="" id="grp_group2" style="margin-top: 10px;">
<xf:group class="w2tb tbl_sc" id="grp_group1" style="wid" tagname="table">
<w2:attributes>
<w2:summary></w2:summary>
</w2:attributes>
<xf:group tagname="caption"></xf:group>
<xf:group tagname="colgroup">
<xf:group style="width:100px;" tagname="col"></xf:group>
<xf:group style="width:1000px;" tagname="col"></xf:group>
</xf:group>
<xf:group style="" tagname="tr">
<xf:group class="w2tb_th" style="" tagname="th">제목</xf:group>
<xf:group class="w2tb_th" style="" tagname="td">
<xf:input id="ibx_title" ref="data:res.title"
style="width:100%;background-color:#c1dbc1" readOnly="true"></xf:input>
</xf:group>
</xf:group>
<xf:group style="" tagname="tr">
<xf:group class="w2tb_th" style="" tagname="th">보낸이</xf:group>
<xf:group class="w2tb_th" style="" tagname="td">
<xf:input id="ibx_sender" ref="data:res.sender"
style="width:100%;background-color:#c1dbc1" readOnly="true"></xf:input>
</xf:group>
</xf:group>
<xf:group style="" tagname="tr">
<xf:group class="w2tb_th" style="" tagname="th">받는이</xf:group>
<xf:group class="w2tb_th" style="" tagname="td">
<xf:input id="ibx_receiver" ref="data:res.receiver"
style="width:100%;background-color:#c1dbc1" readOnly="true"></xf:input>
</xf:group>
</xf:group>
<xf:group style="" tagname="tr">
<xf:group class="w2tb_th" style="" tagname="th">보낸날짜</xf:group>
<xf:group class="w2tb_th" style="" tagname="td">
<xf:input id="ibx_sendDate" ref="data:res.sendDate"
style="width:100%;background-color:#c1dbc1" readOnly="true"></xf:input>
</xf:group>
</xf:group>
<xf:group style="" tagname="tr">
<xf:group class="w2tb_th" style="" tagname="td">
<w2:attributes>
<w2:colspan>2</w2:colspan>
<w2:rowspan>1</w2:rowspan>
</w2:attributes>
<xf:textarea id="txa_text" ref="data:res.text"
style="width:100%;height:300px;background-color:#c1dbc1"
readOnly="true"></xf:textarea>
</xf:group>
</xf:group>
<xf:group style="" tagname="tr">
<xf:group class="w2tb_th" style="" tagname="th">첨부파일</xf:group>
<xf:group class="w2tb_th" style="text-align:left" tagname="td"
id="attach_file_link_td">
<a href=""></a>
</xf:group>
</xf:group>
</xf:group>
</xf:group>
</xf:group>
<xf:group class="tac" id="" style="">
<xf:trigger class="btn_act close" ev:onclick="scwin.btn_close_onclick" id="btn_close" style="" type="button">
<xf:label><![CDATA[닫기]]></xf:label>
</xf:trigger>
</xf:group>
</body>
</html>