123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643 |
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <scrnlist/>
- <msgfrmtlist/>
- </list>
- <item>
- <scrncd/>
- <scrnflag/>
- <scrnnm/>
- <scrnurl/>
- <scrnpos/>
- <scrnsize/>
- <useyn/>
- <releaseState/>
- </item>
- </main>
- <send>
- <scrnkind/>
- <scrncd/>
- <scrnurl/>
- <scrnlist/>
- <awtyn/>
- </send>
- <init>
- <comcd>
- </comcd>
- </init>
- <hidden>
- <comcd>
- </comcd>
- </hidden>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 검색조건에서 기본으로 첫번째 항목이 나타나도록 한다.
- fInitComcd();
- fInitialize();
- ]]>
- </script>
- <submission id="TRZSA20501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list">
- <script type="javascript" ev:event="xforms-submit-error">
- <![CDATA[
-
- ]]>
- </script>
- </submission>
- <submission id="TRZBC00101" method="post" replace="instance"/>
- <submission id="TXZSA20501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
- var ICON_PATH = "com/hismainweb/images/"
-
- /**
- * @group :
- * @ver : 2006.12.20
- * @by : 이상준
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 공통코드 초기화
- * @return :
- * @---------------------------------------------------
- */
- function fInitComcd() {
- zbcfGetCodeList( new Array("Z0005"), new Array("/root/init/comcd"));
- zbcfGetCodeList( new Array("Z0006"), new Array("/root/init/comcd"));
- zbcfGetCodeList( new Array("Z0013"), new Array("/root/init/comcd"));
- fInsertInstance("Z0005", "전체", "-");
- }
-
-
-
- /**
- * @group :
- * @ver : 2006.12.20
- * @by : 이상준
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 초기화
- * @return :
- * @---------------------------------------------------
- */
- function fInitialize() {
- model.removeNodeset("/root/main/list/scrnlist");
- model.resetInstanceNode("/root/send");
- model.resetInstanceNode("/root/main/item");
-
-
-
- model.refresh();
- cmc_scrncd.select(0);
- }
-
- /* @group :
- * @ver : 2006.12.20
- * @by : 이상준
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 그리드의 특정행을 아이콘 종류로 노드셋 바꿈
- * @return :
- * @---------------------------------------------------
- */
- function changeNodeSet() {
- // 각각의 행을 체크하여 아이콘이면 아이콘 종류로 노드셋 바꿈
- var scrnflag;
-
-
- for (var i=grd_scrnlist.fixedRows; i<grd_scrnlist.rows; i++)
- {
- scrnflag = model.getValue("/root/main/list/scrnlist["+i+"]/scrnflag"); // 현재 행의 화면 이름을 가져온다.
- //alert(scrnflag);
- if (scrnflag == "gif") //
- {
- grd_scrnlist.cellComboNodeset(i, 4) = "/root/init/comcd/Z0013";
- }
- }
- }
-
- /* @group :
- * @ver : 2006.12.26
- * @by : 이상준
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조회 및 검색
- */
- function fbtnSearch() {
-
- //model.send("TRZSA20501");
- submit("TRZSA20501");
- //grd_scrnlist.select(1, 3)=true;
- changeNodeSet();
-
- grd_scrnlist.row=1;
- }
-
- /**
- * @group :
- * @ver : 2006.12.20
- * @by : 이상준
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 화면명에 따라서 화면코드를 만들어줌
- * @return :
- * @---------------------------------------------------
- */
- function fbtnmakecode()
- {
- var cur_row = grd_scrnlist.row; // 추가된 행 번호 가져오기
-
- var iStatus = grd_scrnlist.rowstatus(cur_row);
- var scrnflag = model.getValue("/root/main/list/scrnlist["+cur_row+"]/scrnflag"); // 현재 행의 화면 화면구분 가져온다.
- var scrncd = model.getValue("/root/main/list/scrnlist["+cur_row+"]/scrncd"); // 현재 행의 화면 이름을 가져온다.
-
-
- //model.setValue("/root/main/list/scrnlist["+cur_row+"]/scrnurl",scrncd+"."+scrnflag);
- //if (grd_scrnlist.col == 1 && scrnflag == "gif")
- //{
- // grd_scrnlist.cellComboNodeset(cur_row, 4) = "/root/init/comcd/Z0013";
- //}
-
- // 화면 URL 수정시 XP에 사용하는 scrnurlxp 컬럼에 대한 데이타도 자동으로 생성한다.
- if(grd_scrnlist.col == 3)
- {
- var scrnurl = model.getValue("/root/main/list/scrnlist["+cur_row+"]/scrnurl");
- if(scrnurl == null || scrnurl == "") return;
-
- if(scrnflag == "gif") {
- model.setValue("/root/main/list/scrnlist["+cur_row+"]/scrnurlxp", "com_hismainxp::.xfdl");
- grd_scrnlist.refresh();
- } else if(scrnurl.lastIndexOf(".xrw") > -1) {
- var arScrnurl = scrnurl.split("/xrw/");
- var servicename = arScrnurl[0];
- var filename = arScrnurl[1];
- var service = servicename.split("/");
- var biz = service[0] + "_";
- var project = service[1];
-
- if(filename == null || filename == "") {
- filename = servicename;
- }
- if(project == null || project == "") {
- biz = "";
- project = "";
- } else {
- project = project.substring(0, project.length - 3) + "xp" + "::";
- }
-
- var xfdlname = filename.substring(0, filename.length - 3) + "xfdl";
- var scrnurlxp = biz + project + xfdlname;
-
- model.setValue("/root/main/list/scrnlist["+cur_row+"]/scrnurlxp", scrnurlxp);
- grd_scrnlist.refresh();
- } else if(scrnurl.lastIndexOf(".rex") > -1) {
- var arScrnurl = scrnurl.split("/rex/");
- var servicename = arScrnurl[0];
- var filename = arScrnurl[1];
- var service = servicename.split("/");
- var biz = service[0] + "/";
- var project = service[1];
-
- if(filename == null || filename == "") {
- filename = servicename;
- }
- if(project == null || project == "") {
- biz = "";
- project = "";
- } else {
- project = project.substring(0, project.length - 3) + "xp" + "/rex/";
- }
-
- var rebname = filename.substring(0, filename.length - 3) + "reb";
- var scrnurlxp = biz + project + rebname;
-
- model.setValue("/root/main/list/scrnlist["+cur_row+"]/scrnurlxp", scrnurlxp);
- grd_scrnlist.refresh();
- }
- }
- else if (grd_scrnlist.col != 1 && grd_scrnlist.col != 2)
- {
- return;
- }
- if (scrnflag == "xrw")
- {
- //model.setValue("/root/main/list/scrnlist["+cur_row+"]/scrnurl", "web/xrw/"+scrncd+"_.xrw");
- grd_scrnlist.cellComboNodeset(cur_row, 4) = "/root/init/comcd/Z0006";
- }
-
- else if (scrnflag == "rex")
- {
- //model.setValue("/root/main/list/scrnlist["+cur_row+"]/scrnurl", "web/rex/"+scrncd+"_.rex");
- grd_scrnlist.cellComboNodeset(cur_row, 4) = "/root/init/comcd/Z0006";
- }
- else if (scrnflag == "gif")
- {
- //model.setValue("/root/main/list/scrnlist["+cur_row+"]/scrnurl", ICON_PATH+scrncd+".gif");
- grd_scrnlist.cellComboNodeset(cur_row, 4) = "/root/init/comcd/Z0013";
-
- }
- }
-
- /**
- * @group :
- * @ver : 2006.12.20
- * @by : 이상준
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 그리드 클릭시
- * @return :
- * @---------------------------------------------------
- */
- function fgrdClick()
- {
-
- var cur_row = grd_scrnlist.row;
- var iStatus = grd_scrnlist.rowstatus(cur_row);
- if(iStatus=="1" || iStatus=="3") // 삽입이거나 삽입후 변경되었다면...
- {
- grd_scrnlist.colDisabled(2)=false;
- // grd_scrnlist.colDisabled(3)=false;
- }
- else
- {
- grd_scrnlist.colDisabled(2)=true;
- // grd_scrnlist.colDisabled(3)=true;
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">화면 및 보고서 관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:36px; width:1195px; height:744px; ">
- <line id="line4" class="line_2" style="x1:0px; y1:176px; x2:1194px; y2:176px; "/>
- <line id="line3" class="line_2" style="x1:0px; y1:152px; x2:1194px; y2:152px; "/>
- <line id="line2" class="line_2" style="x1:0px; y1:128px; x2:1194px; y2:128px; "/>
- <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:16px; top:8px; width:86px; height:17px; ">화면구분</caption>
- <line id="line13" style="x1:1106px; y1:7px; x2:1106px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption22" class="search_name" style="left:471px; top:8px; width:94px; height:17px; ">화면URL</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1127px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fbtnSearch();
- ]]>
- </script>
- </button>
- <select1 id="cmc_scrncd" ref="/root/send/scrnkind" class="combo_default" appearance="minimal" style="left:100px; top:8px; width:125px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/comcd/Z0005">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_scrnurl" ref="/root/send/scrnurl" class="input_search" style="left:557px; top:8px; width:200px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keycode == 13)
- {
- ipt_scrnurl.value = ipt_scrnurl.currentText;
- fbtnSearch();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_scrncd" ref="/root/send/scrncd" class="input_search" style="left:335px; top:8px; width:114px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keycode == 13)
- {
- ipt_scrncd.value = ipt_scrncd.currentText;
- fbtnSearch();
- }
- ]]>
- </script>
- </input>
- <caption id="caption1" class="search_name" style="left:249px; top:8px; width:94px; height:17px; ">화면코드</caption>
- <caption id="caption3" class="search_name" style="left:775px; top:10px; width:104px; height:17px; ">AWT여부</caption>
- <select1 id="radio1" ref="/root/send/awtyn" appearance="full" cols="3" overflow="visible" style="left:860px; top:10px; width:205px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>All</label>
- <value/>
- </item>
- <item>
- <label>On</label>
- <value>Y</value>
- </item>
- <item>
- <label>Off</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- </group>
- <caption id="caption20" class="tit_2" style="left:6px; top:62px; width:136px; height:14px; ">화면 및 보고서 목록</caption>
- <line id="line8" class="line_1" style="x1:0px; y1:77px; x2:1194px; y2:77px; "/>
- <line id="line7" class="line_3" style="x1:0px; y1:741px; x2:1194px; y2:741px; "/>
- <datagrid id="grd_scrnlist" nodeset="/root/main/list/scrnlist" caption="화면구분^화면코드^화면URL^화면위치/아이콘종류^사용여부^AWT^공개상태^업무^TF여부^scrnurlxp" colwidth="74, 94, 540, 132, 54, 49, 67, 84, 60, 540" dataheight="25" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" style="left:0px; top:81px; width:1194px; height:658px; text-align:center; border-color:#808080; ">
- <col ref="scrnflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/comcd/Z0005">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="scrncd" type="input" maxlength="10"/>
- <col ref="scrnurl" type="input" style="text-align:left; "/>
- <col ref="scrnpos" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/comcd/Z0006">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col checkvalue="Y,N" ref="useyn" type="checkbox"/>
- <col checkvalue="Y,N" ref="awtyn" type="checkbox"/>
- <col ref="releasestate" type="combo">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="workcd" type="combo">
- <choices>
- <item>
- <label>기반기술</label>
- <value>1</value>
- </item>
- <item>
- <label>원무심사</label>
- <value>2</value>
- </item>
- <item>
- <label>진료/기록</label>
- <value>3</value>
- </item>
- <item>
- <label>진료지원</label>
- <value>4</value>
- </item>
- <item>
- <label>간호</label>
- <value>5</value>
- </item>
- <item>
- <label>MIS</label>
- <value>6</value>
- </item>
- </choices>
- </col>
- <col checkvalue="Y,N" ref="tfyn" type="checkbox"/>
- <col ref="scrnurlxp" type="input" visibility="hidden" style="text-align:left; "/>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- var cur_row = grd_scrnlist.row;
- if ( cur_row > 0 ) {
- model.copyNode("/root/main/item","/root/main/list/scrnlist["+cur_row+"]");
- model.refresh();
-
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fbtnmakecode();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fgrdClick();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
-
- // grd_scrnlist.row
- //alert(event.keyCode);
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if( grd_scrnlist.col == 5 ){ // 아이콘 종류를 선택했을 경우
- var cur_row = grd_scrnlist.row;
- var scrnflag = model.getValue("/root/main/list/scrnlist["+cur_row+"]/scrnflag"); // 현재 행의 화면구분을 가져온다.
- var icontype = model.getValue("/root/main/list/scrnlist["+cur_row+"]/scrnpos"); // 현재 행의 화면구분을 가져온다.
-
- if (scrnflag == "gif" && icontype=="A")
- {
- //alert("팝업화면");
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
-
- var cur_row = grd_scrnlist.row;
- var scrnflag = model.getValue("/root/main/list/scrnlist["+cur_row+"]/scrnflag"); // 현재 행의 화면구분을 가져온다.
-
- if( grd_scrnlist.col == 4 && scrnflag=="gif"){ // 아이콘 종류를 선택했을 경우
- alert("하이");
- }
-
- ]]>
- </script>
- </datagrid>
- <group id="group4" style="left:874px; top:45px; width:321px; height:32px; ">
- <button id="button8" class="btn2_letter3" style="left:210px; top:11px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_scrnlist.addRow(); // 입력할 행 추가.
- var cur_row = grd_scrnlist.row; // 추가된 행 번호 가져오기
- var cnt_row = grd_scrnlist.rows; // 현재 행의 갯수 가져오기
-
- var scrnflag;
- var scrncd;
- var scrnurl;
- var scrnurlxp;
- var scrnpos;
- var useryn;
- var releasestate;
- var workcd;
- var awtyn;
- var tfyn;
-
- if (cnt_row > 2) // 이미 데이터가 있으면
- {
- scrnflag = model.getValue("/root/main/list/scrnlist["+(cnt_row-2)+"]/scrnflag");
- //scrnurl = model.getValue("/root/main/list/scrnlist["+(cnt_row-2)+"]/scrnurl");
- scrnpos = model.getValue("/root/main/list/scrnlist["+(cnt_row-2)+"]/scrnpos");
- useyn = model.getValue("/root/main/list/scrnlist["+(cnt_row-2)+"]/useyn");
- releasestate = model.getValue("/root/main/list/scrnlist["+(cnt_row-2)+"]/releasestate");
- workcd = model.getValue("/root/main/list/scrnlist["+(cnt_row-2)+"]/workcd");
- awtyn = model.getValue("/root/main/list/scrnlist["+(cnt_row-2)+"]/awtyn");
- tfyn = model.getValue("/root/main/list/scrnlist["+(cnt_row-2)+"]/tfyn");
-
- grd_scrnlist.cellComboNodeset(cur_row, 4) = grd_scrnlist.cellComboNodeset(cur_row-2, 4);//"/root/init/comcd/Z0013";
- }
- else // 데이터가 하나도 없으면
- {
- scrnflag = 'xrw';
- scrnurl ="web/xrw/SM_.xrw";
- scrnurlxp = "xp::SM_.xfdl";
- scrnpos = 'M';
- useyn = 'Y';
- releasestate = 'N';
- awtyn = 'N';
- tfyn = 'Y';
- }
-
- model.setValue("/root/main/list/scrnlist["+cur_row+"]/scrnflag",scrnflag);
- model.setValue("/root/main/list/scrnlist["+cur_row+"]/scrncd",scrncd);
- model.setValue("/root/main/list/scrnlist["+cur_row+"]/scrnurl",scrnurl);
- model.setValue("/root/main/list/scrnlist["+cur_row+"]/scrnurlxp",scrnurlxp);
- model.setValue("/root/main/list/scrnlist["+cur_row+"]/scrnpos",scrnpos);
- model.setValue("/root/main/list/scrnlist["+cur_row+"]/useyn",useyn);
- model.setValue("/root/main/list/scrnlist["+cur_row+"]/releasestate",releasestate);
- model.setValue("/root/main/list/scrnlist["+cur_row+"]/awtyn",awtyn);
- model.setValue("/root/main/list/scrnlist["+cur_row+"]/tfyn",tfyn);
- // 그리드에 추가
- //model.copyNode("/root/main/list/scrnlist["+cur_row+"]","/root/main/item");
- model.refresh();
- grd_scrnlist.row = cur_row;
- //grd_scrnlist.select(cur_row, 2)=true;
- //grd_scrnlist.editcell();
-
- ]]>
- </script>
- </button>
- <button id="button9" class="btn2_letter3" style="left:266px; top:11px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var cur_row = grd_scrnlist.row; // 행 번호 가져오기
- var iStatus = grd_scrnlist.rowstatus(cur_row);
- if(cur_row<0) {
- alert("삭제할 행을 선택해주세요.");
- return;
- }
- if (iStatus == 1) // 새로 삽입된 행이면
- {
- grd_scrnlist.deleteitem(cur_row);
- }
- else if (iStatus == 4) // 삭제로 표시된 행이면
- {
- grd_scrnlist.removestatus(cur_row, "delete");
- }
- else
- {
- grd_scrnlist.addStatus(cur_row, "delete");
- }
- ]]>
- </script>
- </button>
- <button id="button10" class="btn2_letter4" style="left:143px; top:11px; width:64px; height:19px; ">
- <caption>엑셀입력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("open", "", false);
- grd_scrnlist.loadExcel(fileName);
-
- for (i=grd_scrnlist.fixedRows; i<grd_scrnlist.rows; i++)
- {
- grd_scrnlist.rowStatus(i) = 1;
- }
- ]]>
- </script>
- </button>
- <button id="button11" class="btn2_letter4" style="left:76px; top:11px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "")
- {
- grd_scrnlist.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- </group>
- </group>
- <line id="line32" class="line_6" style="x1:0px; y1:90px; x2:1194px; y2:90px; "/>
- <group id="group6" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="button1" class="btn4_letter3" style="left:1126px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter2" style="left:1067px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(!checkGridUpdate(grd_scrnlist))
- {
- alert("저장할 자료가 존재하지 않습니다.");
- return;
- }
-
- if(checkGridField(grd_scrnlist,"scrncd")==false)
- {
- alert("데이터중에 비어있는 필수필드가 있습니다.");
- return;
- }
- model.setValue("/root/send/scrnlist",grd_scrnlist.getUpdateData());
- if ( submit("TXZSA20501") ) {
- grd_scrnlist.clearStatus(); // submit() 성공하면 그리드의 i,u,d 상태 제거
- changeNodeSet();
- }
- ]]>
- </script>
- </button>
- <line id="line1" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|