123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>메신저전송샘플</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- </main>
- <send>
- <recvrid/>
- <msg/>
- <waityn>Y</waityn>
- </send>
- <init>
- </init>
- <hidden>
- </hidden>
- </root>
- </instance>
- <submission id="TXTSS00701" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/hidden"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[/**
- * @group :
- * @ver : 2006.12.20
- * @by : 이상준
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 초기화
- * @return :
- * @---------------------------------------------------
- */
- function fInitialize() {
-
- // 폼의 입력값들을 초기화한다.
- model.resetInstanceNode("/root/send");
-
-
- model.refresh();
- rdo_waityn.select(0);
- }
-
- /**
- * @group :
- * @ver : 2006.12.20
- * @by : 이상준
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 폼값을 체크함
- * @return :
- * @---------------------------------------------------
- */
- function fMsgSubmit()
- {
-
- // 각 필드값을 체크한다.
- if(model.getValue("/root/send/recvrid").getTrim()=="")
- {
- messageBox("수신자아이디는 ", "I003");
- model.setFocus("ipt_recvrid");
- return;
- }
-
- if(model.getValue("/root/send/msg").getTrim()=="")
- {
- messageBox("메시지내용은 ", "I003");
- model.setFocus("tar_msg");
- return;
- }
-
- // 서브밋하여 결과를 표시한다.
- if (submit("TXTSS00701"))
- {
- messageBox(model.getValue("/root/hidden/msg/contents"), "I999");
- }
-
- }]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="517" pageheight="220" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:501px; height:180px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:95px; height:14px; ">메신저전송</caption>
- <button id="btn_initailize" class="btn2_letter3" style="left:447px; top:5px; width:53px; height:19px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:500px; y2:25px; "/>
- <caption id="caption50" class="cell_1" style="left:0px; top:54px; width:90px; height:93px; vertical-align:middle; ">메시지내용</caption>
- <textarea id="tar_msg" ref="/root/send/msg" navindex="4" class="text_essential" style="left:93px; top:55px; width:407px; height:89px; "/>
- <line id="line2" class="line_2" style="x1:0px; y1:52px; x2:500px; y2:52px; "/>
- <caption id="caption2" class="cell_1" style="left:0px; top:30px; width:90px; height:23px; vertical-align:middle; ">수신자아이디</caption>
- <input id="ipt_recvrid" ref="/root/send/recvrid" navindex="2" class="input_essential" style="left:93px; top:31px; width:407px; height:19px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:146px; x2:500px; y2:146px; "/>
- <caption id="caption3" class="cell_1" style="left:0px; top:148px; width:90px; height:23px; vertical-align:middle; ">전송대기여부</caption>
- <line id="line3" class="line_2" style="x1:0px; y1:170px; x2:500px; y2:170px; "/>
- <select1 id="rdo_waityn" ref="/root/send/waityn" overflow="visible" appearance="full" cols="2" style="left:95px; top:150px; width:90px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>true</label>
- <value>Y</value>
- </item>
- <item>
- <label>false</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:176px; width:501px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:385px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fMsgSubmit();
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:444px; top:5px; width:56px; height:22px; ">
- <caption>취소</caption>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:501px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|