123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <send>
- <keyword/>
- <awttype>C</awttype>
- <qestcd/>
- <qestclscd/>
- <qeststatcd/>
- <answstatcd/>
- <userenvestblist/>
- <userid/>
- </send>
- <main>
- <words/>
- </main>
- </root>
- </instance>
- <submission id="TXZWT00200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/save" replace="instance"/>
- <submission id="TXMMB01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript">
- <![CDATA[
- var AWTCONFIG_TGT_GRP = "041";
-
- function doSearch() {
- model.removenode("/root/main/words");
- model.makeNode("/root/main/words");
- model.refresh();
- parent.javascript.AwtSearchLike(model.getValue("/root/send/keyword"), model.getValue("/root/send/awttype"));
- }
- function doSel(row) {
- parent.javascript.AwtSetResult(model.getValue("/root/main/words/item[" + row + "]/data"), parent.javascript.AwtMode);
- }
- function doRefresh() {
- awt_grd.resizeCells();
- model.refresh();
- }
- function doFocus() {
- model.setFocus("awt_ipt");
- awt_grd.row = 0;
-
- if (awt_grd.rows > 1) {
- model.setFocus("awt_grd");
- awt_grd.row = 1;
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/send/awttype", getViewer("sysMessage").window.javascript.fGetUserAwtGrpCd());
- model.refresh();
- doSearch();
- ]]>
- </script>
- <json/>
- </xhtml:head>
- <xhtml:body pagewidth="380" pageheight="220" style="background-color:#3366ff; ">
- <shape id="awt_rect" class="roundrect_search" appearance="roundrect" style="left:2px; top:2px; width:378px; height:46px; "/>
- <datagrid id="awt_grd" nodeset="/root/main/words/item" autoresize="true" autosizemouse="true" caption="단어/구문^약어" colsep="^" colwidth="267, 64" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:2px; top:50px; width:378px; height:170px; ">
- <col ref="data"/>
- <col ref="keyword"/>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if (event.keyCode == 13 || event.keyCode == 32) {
- doSel(awt_grd.row);
- }
- if (event.keyCode == 38) {
- if (awt_grd.rows == 1) {
- model.setFocus("awt_ipt");
- }
- if (awt_grd.row == 1) {
- awt_grd.row = 0;
- model.setFocus("awt_ipt");
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (awt_grd.row < 1 || awt_grd.row > awt_grd.rows)
- return;
- doSel(awt_grd.row);
- ]]>
- </script>
- </datagrid>
- <caption id="awt_cap1" class="search_name" style="left:5px; top:4px; width:82px; height:17px; ">대상그룹:</caption>
- <caption id="awt_cap2" class="search_name" style="left:5px; top:26px; width:82px; height:17px; ">검 색 어:</caption>
- <select1 id="awt_rdo" ref="/root/send/awttype" class="radio_search" appearance="full" cols="3" overflow="visible" style="left:85px; top:4px; width:140px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>개인</label>
- <value>P</value>
- </item>
- <item>
- <label>공용</label>
- <value>C</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if (event.keyCode == 40) {
- model.setFocus("awt_ipt");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- getViewer("sysMessage").window.javascript.fSetUserAwtGrpCd(model.getValue("/root/send/awttype"));
- model.refresh();
- doSearch();
- ]]>
- </script>
- </select1>
- <input id="awt_ipt" ref="/root/send/keyword" style="left:84px; top:26px; width:86px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if (event.keyCode == 13) {
- model.setFocus("awt_grd");
- model.setFocus("awt_ipt");
- doSearch();
- }
- if (event.keyCode == 40) {
- if (awt_grd.rows > 0) {
- model.setFocus("awt_grd");
- awt_grd.row = 1;
- }
- }
- if (event.keyCode == 38) {
- model.setFocus("awt_rdo");
- }
- ]]>
- </script>
- </input>
- <button id="awt_btn_search" class="btn1_letter2" style="left:172px; top:25px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- doSearch();
- ]]>
- </script>
- </button>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (event.keyCode == 27) {
- parent.window.javascript.AwtHide();
- }
- ]]>
- </script>
- <button id="awt_btn_manage" class="btn4_letter2" style="left:312px; top:25px; width:56px; height:22px; ">
- <caption>관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMZWT00110", "1", "", "", "SMZWT00110");
- ]]>
- </script>
- </button>
- <button id="awt_btn_close" class="btn6_letter2" style="left:255px; top:25px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- parent.window.javascript.AwtHide();
- ]]>
- </script>
- </button>
- <button id="awt_btn_sav" class="btn2_letter6" visibility="hidden" heeight="19px" style="left:232px; top:4px; width:86px; ">
- <caption>기본그룹저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- getViewer("sysMessage").window.javascript.fSetUserAwtGrpCd(model.getValue("/root/send/awttype"));
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|