123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPAHR00100.xrw
- * 설 명 : 결과지출력페이지지정
- * 설 계 자 : 손주연
- * 작 성 자 : 손주연
- * 작 성 일 : 2007.08.13
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <pageyn>
- <totprntyn/>
- <pageprntyn1/>
- <pageprntyn2/>
- <pageprntyn3/>
- <pageprntyn4/>
- <pageprntyn5/>
- <pageprntyn6/>
- <pageprntyn7/>
- </pageyn>
- </main>
- <send>
- <saveprnt/>
- </send>
- <init/>
- <hidden/>
- <temp/>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- ]]>
- </script>
- </model>
- <script type="javascript">
- <![CDATA[
- /*=====================================================================================
- * 전체 페이지 선택 및 해제
- *=====================================================================================*/
- function fSetPageAllCheck(vChkYN){
- chk_page1.value = vChkYN;
- chk_page2.value = vChkYN;
- chk_page3.value = vChkYN;
- chk_page4.value = vChkYN;
- chk_page5.value = vChkYN;
- chk_page6.value = vChkYN;
- chk_page7.value = vChkYN;
- }
- /*=====================================================================================
- * 페이지 선택여부 check
- *=====================================================================================*/
- function fCheckSelPage(){
- if( ( model.getValue( chk_page1.attribute("ref") ) == "") &&
- ( model.getValue( chk_page2.attribute("ref") ) == "") &&
- ( model.getValue( chk_page3.attribute("ref") ) == "") &&
- ( model.getValue( chk_page4.attribute("ref") ) == "") &&
- ( model.getValue( chk_page5.attribute("ref") ) == "") &&
- ( model.getValue( chk_page6.attribute("ref") ) == "") &&
- ( model.getValue( chk_page7.attribute("ref") ) == "") &&
- ( model.getValue( chk_pagechk_all.attribute("ref") ) == "") ){
- alert( "false");
- return false;
- }
-
- if( checkOpener() ){
- var vDestNd = opener.javascript.getParameter("SPAHR00900_PARAM1");//목적노드 SET
- copyNodeType( vDestNd, "/root/main/pageyn", "replace", opener.model, model );
- opener.model.makeNode("/root/temp/SPAHR00101/okflag");
- opener.model.setValue("/root/temp/SPAHR00101/okflag", "ok");
- }
- return true;
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="270" pageheight="120" guideline="1,250;2,107;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:250px; height:80px; ">
- <line id="line6" class="line_3" style="x1:0px; y1:73px; x2:240px; y2:73px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:21px; x2:240px; y2:21px; "/>
- <select id="chk_all" ref="/root/main/pageyn/totprntyn" overflow="visible" appearance="full" rows="3" cols="4" vcellspacing="5" style="left:1px; top:27px; width:54px; height:18px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSetPageAllCheck("Y");
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- fSetPageAllCheck("");
- ]]>
- </script>
- </select>
- <caption id="caption22" class="tit_2" style="left:4px; top:6px; width:82px; height:13px; ">페이지지정</caption>
- <select id="chk_page1" ref="/root/main/pageyn/pageprntyn1" overflow="visible" appearance="full" rows="3" cols="4" vcellspacing="5" style="left:64px; top:27px; width:54px; height:18px; border-style:none; ">
- <choices>
- <item>
- <label>1page</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_page3" ref="/root/main/pageyn/pageprntyn3" overflow="visible" appearance="full" rows="3" cols="4" vcellspacing="5" style="left:190px; top:27px; width:54px; height:18px; border-style:none; ">
- <choices>
- <item>
- <label>3page</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_page2" ref="/root/main/pageyn/pageprntyn2" overflow="visible" appearance="full" rows="3" cols="4" vcellspacing="5" style="left:127px; top:27px; width:54px; height:18px; border-style:none; ">
- <choices>
- <item>
- <label>2page</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_page5" ref="/root/main/pageyn/pageprntyn5" overflow="visible" appearance="full" rows="3" cols="4" vcellspacing="5" style="left:63px; top:50px; width:54px; height:18px; border-style:none; ">
- <choices>
- <item>
- <label>5page</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_page7" ref="/root/main/pageyn/pageprntyn7" overflow="visible" appearance="full" rows="3" cols="4" vcellspacing="5" style="left:189px; top:50px; width:54px; height:18px; border-style:none; ">
- <choices>
- <item>
- <label>7page</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_page6" ref="/root/main/pageyn/pageprntyn6" overflow="visible" appearance="full" rows="3" cols="4" vcellspacing="5" style="left:126px; top:50px; width:54px; height:18px; border-style:none; ">
- <choices>
- <item>
- <label>6page</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_page4" ref="/root/main/pageyn/pageprntyn4" overflow="visible" appearance="full" rows="3" cols="4" vcellspacing="5" style="left:0px; top:50px; width:54px; height:18px; border-style:none; ">
- <choices>
- <item>
- <label>4page</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:80px; width:250px; height:27px; ">
- <button id="btn_prnt" class="btn6_letter2" style="left:0px; top:5px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( fCheckSelPage() == true ){
- window.close();
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|