123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- <?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>세션타임아웃 관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <sessncfg>
- <pcname/>
- <pcaddr/>
- <sessntm/>
- <fstrgstrid/>
- <fstrgstdt/>
- <lastupdtrid/>
- <lastupdtdt/>
- </sessncfg>
- </list>
- </main>
- <send>
- <pcname/>
- <data/>
- </send>
- <init>
- </init>
- <hidden>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- model.refresh();
- ]]>
- </script>
- <submission id="TRZST00101" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/list"/>
- <submission id="TXZST00101" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize() {
- model.removeNodeset("/root/main/list/sessncfg");
- model.resetInstanceNode("/root/send");
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1243;" 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="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <line id="line32" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="btn_init" class="btn4_letter3" style="left:1126px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_sessncfg);
- if (updtdata != "" ) {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 초기화 작업을","Q003");
- if (ret != 6) { // not OK
- return;
- }
- }
- fInitialize();
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:1067px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_sessncfg);
- if (updtdata == "") {
- messageBox("변경된 데이터가","I004");
- return;
- }
-
- model.setValue("/root/send/data",updtdata);
- if ( submit("TXZST00101") ) {
- grd_sessncfg.clearStatus(); // submit() 성공하면 그리드의 i,u,d 상태 제거
- model.setValue("/root/send/data","");
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="group5" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <group id="group6" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <caption id="caption21" class="search_name" style="left:16px; top:8px; width:125px; height:17px; ">PC 명 :</caption>
- <line id="line18" class="line_4" style="x1:1106px; y1:7px; x2:1106px; y2:29px; border-left-style:solid; "/>
- <button id="btn_select" class="btn1_letter2" style="left:1122px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var updtdata = getGridUpdateData(grd_sessncfg);
- if ( updtdata != "" ) {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
- if (ret != 6) { // not OK
- return;
- }
- }
-
- submit("TRZST00101");
- ]]>
- </script>
- </button>
- <input id="ipt_selectcond" ref="/root/send/pcname" class="input_search" style="left:110px; top:8px; width:310px; height:19px; "/>
- </group>
- <caption id="caption48" class="tit_2" style="left:5px; top:55px; width:162px; height:14px; ">세션 타임아웃 설정 목록</caption>
- <line id="line20" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
- <line id="line23" class="line_2" style="x1:856px; y1:221px; x2:1194px; y2:221px; "/>
- <button id="btn_delrow" class="btn2_letter5" style="left:1117px; top:50px; width:75px; height:19px; ">
- <caption>선택행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- deleteSelectedRows(grd_sessncfg,false);
- grd_sessncfg.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_addrow" class="btn2_letter3" style="left:1062px; top:50px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_sessncfg.addrow(false);
-
- grd_sessncfg.refresh();
- ]]>
- </script>
- </button>
- <datagrid id="grd_sessncfg" nodeset="/root/main/list/sessncfg" datatype="xml" caption="PC 명^주소값(IP or MAC)^설정 값(분)^최초등록자^최초등록일시^최종수정자^최종수정일시" colwidth="320, 240, 170, 100, 120, 100, 100" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" colsep="^" style="left:0px; top:75px; width:1194px; height:660px; ">
- <col ref="pcname" type="input"/>
- <col ref="pcaddr" type="input" _key="true"/>
- <col ref="sessntm" type="input" format="#,###" maxlength="6"/>
- <col ref="fstrgstrid"/>
- <col ref="fstrgstdt" format="yyyy-mm-dd hh:nn:ss" showmask="true"/>
- <col ref="lastupdtrid"/>
- <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss" showmask="true"/>
- </datagrid>
- <button id="btn_saveexcel" class="btn2_letter4" style="left:995px; top:50px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", "", false);
- grd_sessncfg.saveExcel(fileName);
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter4" style="left:928px; top:50px; width:64px; height:19px; ">
- <caption>엑셀입력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("open", "", false);
- grd_sessncfg.loadExcel(fileName, 1);
- // 입력 상태로 변경
- var rows = grd_sessncfg.rows;
- for(var i=1;i<rows;i++) {
- grd_sessncfg.addStatus(i,"insert");
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|