123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- <?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>ID 중복체크</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <subtestee>
- <item>
- <testeeid/>
- </item>
- </subtestee>
- </main>
- <send>
- <searchwh>
- <srchid/>
- </searchwh>
- </send>
- <init>
- </init>
- <hidden>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var id = opener.javascript.getParameter("sendid");
- model.setValue("/root/send/searchwh/srchid",id);
- model.setFocus("input26");
- model.refresh();
- ]]>
- </script>
- <submission id="TRIBI00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/subtestee"/>
- <submission id="TRIBI00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchwh"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="517" pageheight="450" 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:415px; ">
- <caption id="caption120" class="tit_1" style="left:0px; top:0px; width:158px; height:14px; ">ID 중복체크</caption>
- <button id="button8" class="btn1_letter2" style="left:380px; top:7px; width:56px; height:22px; ">
- <caption>선택</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
-
- var id = model.getValue("/root/send/searchwh/srchid");
- opener.window.javascript.testeeidCheck(id);
- window.close();
-
-
- ]]>
- </script>
- </button>
- <button id="button1" class="btn1_letter2" style="left:438px; top:7px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <group id="group3" style="left:0px; top:35px; width:494px; height:45px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:494px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="input26" ref="/root/send/searchwh/srchid" class="input_search" style="left:84px; top:9px; width:141px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (event.keyCode==13) {
- setInputNodeCurText();
- btn_srch.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <caption id="caption145" class="search_name" style="left:15px; top:10px; width:60px; height:17px; ">ID :</caption>
- <button id="btn_srch" class="btn1_letter2" style="left:388px; top:7px; width:56px; height:22px; ">
- <caption>검색</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.makeValue("/root/send/searchwh/srchid", model.getValue("/root/send/searchwh/srchid"));
- submit("TRIBI00102");
- var id = model.getValue("/root/main/subtestee/item[1]/testeeid");
- if(id!=""){
- messageBox("이미 사용중인 아이디","E008");
- model.setValue("/root/send/searchwh/srchid",model.getValue(""));
- model.refresh();
- }
- else{
- messageBox("사용 가능한 아이디","E008");
-
- id = model.getValue("/root/send/searchwh/srchid");
- opener.window.javascript.testeeidCheck(id);
- window.close();
- //var id = model.getValue("/root/send/searchwh/srchid");
- //opener.window.javascript.aa(id);
-
- }
-
-
- ]]>
- </script>
- </button>
- </group>
- </group>
- </xhtml:body>
- </xhtml:html>
|