123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141 |
- <%--
- - FileName : SYSRightPgmSearchFormWorker.jsp
- - Author : gyeongmo an
- - Date : 2014.06.18
- - Copyright : Copyright (c) www.udapsoft.co.kr, Inc.
- - All rights reserved.
- --%>
- <%@ page contentType="text/html; charset=utf-8" %>
- <%@ page import="com.udapsoft.waf.common.ui.*" %>
- <%@ page import="kr.co.hsnc.common.sql.*" %>
- <%@ page import="kr.co.hsnc.common.sql.util.*" %>
- <%@ page import="kr.co.hsnc.common.util.*"%>
- <%@ page import="com.udapsoft.waf.system.HandlerStorage" %>
- <%@ include file="/jsp/work/taglib.jsp" %>
- <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
- <%
- ctx.init(request, response);
- ValueObject user = null;
- String message = null;
- HandlerStorage storage = ctx.getHandlerStorage();
- String fevent = storage.getEvent();
-
- ValueObject params = storage.getParams();
- %>
- <SCRIPT language="JavaScript">
- /*예약함수*/
- var sheet1;
- var sheet1Row;
- var sheet1PageNo = 1;
- var pageLastRowIndex = 1;
- var validationResult = false;
- var filterShow = false;
-
- function _onReady(){
- gridInit(sheet1);
- getSheetContent();
- }
-
- function getSheetContent() {
- jQuery("#fevent").val("GET_SYS_RIGHT_PGM_SEARCH_FORM_WORKER");
- var url = Modular.model.PageContext.CONTEXT_ROOT + "/sycs/security/SYSRightPgmSearchFormWorker_sheet.screen";
- Modular.view.IBSheet7.doSearch(sheet1, url, jQuery("#form1"), 10, "");
- }
-
- function gridInit(sheetName){
- var init_sheet = {};
- init_sheet.Cfg = {SearchMode:2, Page:10};
- init_sheet.Cols = [
- {Header:'선택', Type:"CheckBox", SaveName:"check", Width:20, Align:"Center"},
- {Header:'pgm_id', Type:"Text", SaveName:"pgm_id", Width:20, Align:"Center", Hidden:"True"},
- {Header:'번호', Type:"Seq", SaveName:"", Width:15, Align:"Center", Edit:"false"},
- {Header:'시스템', Type:"Text", SaveName:"name", Width:50, Align:"Center", Edit:"false"},
- {Header:'프로그램', Type:"Text", SaveName:"pgm_name", Width:80, Align:"Center", Edit:"false"},
- {Header:'Screen', Type:"Text", SaveName:"screen_name", Width:80, Align:"Center", Edit:"false"},
- {Header:'비고', Type:"Text", SaveName:"dscr", Width:50, Align:"Center", Edit:"false"}
- ];
- init_sheet.HeaderMode = {Sort:1};
- IBS_InitSheet(sheetName, init_sheet);
- sheetName.SetDataAutoTrim(0);
-
- setGridSize();
- }
-
- function setGridSize() {
- sheet1.FitColWidth();
- }
- </script>
-
- <modular:search id="form1">
- <modular:key id="fevent" />
- </modular:search>
- <form id="form1" name="form1" method="post" modular:type="search" style="width:100%;height:100%;">
- <INPUT type="hidden" name="fevent" id="fevent" value="">
- <INPUT type="hidden" name="search_gb" id="search_gb" value=<%=params.get("search_gb") %>>
- <INPUT type="hidden" name="right_id" id="right_id" value=<%=params.get("right_id") %>>
-
- <%-- <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="search_table_data">
- <TR>
- <TD align="center" valign="top">
- <TABLE width="100%" cellspacing="0" cellpadding="0" bordercolordark="#FFFFFF" bordercolorlight="#000000" border="0" ID="memberTable">
- <TR align="center" height="25">
- <TD class="insert_table_title" width="25"><IMG src="/img/buyer/common/check.gif" border="0"></TD>
- <TD class="insert_table_title" width="30">번호</TD>
- <TD class="insert_table_title" width="60">시스템</TD>
- <TD class="insert_table_title" width="150">프로그램</TD>
- <TD class="insert_table_title">Screen</TD>
- <TD class="insert_table_title" width="160">비고</TD>
- </TR>
- <% if( rowSet != null )
- {
- int rowSize = rowSet.size();
- for( int i = 0 ; i < rowSize ; i++ )
- { %>
- <TR height="25" onMouseOver="this.style.backgroundColor='#EFEFEF'" onMouseOut="this.style.backgroundColor='#FFFFFF'">
- <TD align="center" class="search_table_data"><INPUT type="checkbox" name="pgm_id" value="<%= rowSet.getRow(i).get("PGM_ID") %>" <%= params.get("gubun").equals("L") ? "disabled" : "" %>></TD>
- <TD align="center" class="search_table_data"><%= i+1 %></TD>
- <TD align="center" class="search_table_data"><%= rowSet.getRow(i).get("NAME") %></TD>
- <TD class="search_table_data"><%= rowSet.getRow(i).get("PGM_NAME") %></TD>
- <TD class="search_table_data"><%= rowSet.getRow(i).get("SCREEN_NAME") %></TD>
- <TD class="search_table_data"><%= rowSet.getRow(i).get("DSCR") %></TD>
- </TR>
- <% }
- }
- else
- { %>
- <!-- defult 일?? 시작 -->
- <TR bgcolor="#FFFFFF">
- <TD height="66" align="center" colspan="2">
- 검색 결과가 없습니다.
- </TD>
- </TR>
- <!-- defult 일?? 끝 -->
- <% } %>
- </TABLE>
- </TD>
- </TR>
- </TABLE>
- --%>
-
-
- <div id="sheet1_div" style="padding-top:5px; height: auto; min-height: 370px; overflow: auto;">
- <script>createIBSheet('sheet1','100%', '370px');</script>
- </div>
-
- <!-- </div> -->
- </FORM>
|