File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
<%
/**
* @Class Name : EgovMberConfigInsert.jsp
* @Description : 일반회원등록 config
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.03.02 조재영 최초 생성
* 2016.06.13 장동한 표준프레임워크 v3.6 개선
*
* @author 공통서비스 개발팀 조재영
* @since 2009.03.02
* @version 1.0
* @see
*
*/
%>
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
<c:set var="pageTitle"><spring:message code="comUssUmt.userManage.title"/></c:set>
<!DOCTYPE html>
<html>
<head>
<title>${pageTitle} <spring:message code="title.create" /></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link href="<c:url value='/'/>css/common.css" rel="stylesheet" type="text/css" >
<script src="<c:url value='/js/jquery-1.12.4.min.js' />"></script>
<script type="text/javaScript" language="javascript" defer="defer">
function fnInsert(form){
if(confirm("<spring:message code="common.regist.msg" />")){
$('.config_tr').each(function(index){
var configId = $(this).find('input[name=configId]').attr("value") ;
var useYn = "N" ;
if($(this).find('input[name=useYn]').is(":checked")) useYn = 'Y' ;
var neceYn ="N" ;
if($(this).find('input[name=neceYn]').is(":checked")) neceYn = 'Y' ;
var remark = $(this).find('input[name=remark]').val() ;
var configOrder = $(this).find('input[name=configOrder]').val() ;
$.ajax({
url :"/uss/umt/EgovMberConfigUpdateAjax.do"
,type:"post"
,data:{"configId":configId, "useYn":useYn , "neceYn":neceYn , "remark": remark , "configOrder" : configOrder}
,dataType:"jsonp"
,success:function(data){
//alert("정상적으로 저장되었습니다.");
}
,error: function(){
//alert("에러발생");
}
});
});
alert("정상적으로 저장되었습니다.");
//form.submit();
//return true;
}
}
</script>
<style>
.modal-content {width: 400px;}
</style>
</head>
<body>
<noscript class="noScriptTitle">자바스크립트를 지원하지 않는 브라우저에서는 일부 기능을 사용하실 수 없습니다.</noscript>
<div id="content">
<div id="cur_loc">
<div id="cur_loc_align">
<ul>
<span id="cnt_cate_list"></span>
</ul>
</div>
</div>
<!-- 검색 필드 박스 시작 -->
<div id="search_field">
<div id="search_field_loc"><h2><strong>일반 회원가입생성 Config</strong></h2></div>
</div>
<form:form commandName="mberManageConfigVO" action="${pageContext.request.contextPath}/uss/umt/EgovMberConfigUpdate.do" name="mberManageConfigVO" method="post" onSubmit="fnInsert(document.forms[0]); return false;" >
<div class="default_tablestyle">
<table summary="번호,게시판명,게시판유형,게시판속성,생성일,사용여부 목록입니다" cellpadding="0" cellspacing="0">
<caption>사용자목록관리</caption>
<colgroup>
<col width="8%">
<col width="7%">
<col width="8%">
<col width="33%">
</colgroup>
<thead>
<tr>
<th scope="col" class="f_field" nowrap="nowrap">대상</th>
<th scope="col" nowrap="nowrap">사용</th>
<th scope="col" nowrap="nowrap">필수</th>
<th scope="col" nowrap="nowrap">설명</th>
</tr>
</thead>
<tbody>
<!-- loop 시작 -->
<tr>
<td nowrap="nowrap"><strong>아이디</strong></td>
<td nowrap="nowrap">
<input type="checkbox" name="useYn" value="Y" checked="checked" disabled="true" />
</td>
<td nowrap="nowrap">
<input type="checkbox" name="neceYn" value="Y" checked="checked" disabled="true" />
</td>
<td nowrap="nowrap">
<input type="text" name="remark" size="20" maxlength="20" value="아이디" readonly="true">
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>비밀번호</strong>
<input type="hidden" name="configId" value="password">
</td>
<td nowrap="nowrap">
<input type="checkbox" name="useYn" value="Y" checked="checked" checked="checked" disabled="true" />
</td>
<td nowrap="nowrap">
<input type="checkbox" name="neceYn" value="Y" checked="checked" checked="checked" disabled="true" />
</td>
<td nowrap="nowrap">
<input type="text" name="remark" size="20" maxlength="20" value="패스워드" readonly="true" />
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>비밀번호확인</strong>
<input type="hidden" name="configId" value="password2">
</td>
<td nowrap="nowrap">
<input type="checkbox" name="useYn" value="Y" checked="checked" checked="checked" disabled="true" />
</td>
<td nowrap="nowrap">
<input type="checkbox" name="neceYn" value="Y" checked="checked" checked="checked" disabled="true" />
</td>
<td nowrap="nowrap">
<input type="text" name="remark" size="20" maxlength="20" value="비밀번호 확인" readonly="true" />
</td>
</tr>
<c:forEach var="item" items="${ mberManageCnfVO }" varStatus="status">
<tr class="config_tr">
<td nowrap="nowrap"><strong>${item.configName}</strong>
<input type="hidden" name="configId" value="${item.configId}" />
</td>
<td nowrap="nowrap">
<input type="checkbox" name="useYn" value="${item.useYn}" <c:if test="${item.useYn == 'Y'}"> checked="checked"</c:if> />
</td>
<td nowrap="nowrap">
<input type="checkbox" name="neceYn" value="${item.neceYn}" <c:if test="${item.neceYn == 'Y'}"> checked="checked"</c:if>/>
</td>
<td nowrap="nowrap">
<input type="text" name="remark" size="20" maxlength="20" value="${item.remark}" />
</td>
</tr>
</c:forEach>
</tbody>
</table>
<!-- 하단 버튼 -->
<div class="buttons">
<a href="#LINK" onClick="fnInsert(document.forms[0]); return false;" style="margin-top: 18px;" >수정</a>
</div><div style="clear:both;"></div>
</div><!-- div end(wTableFrm) -->
</form:form>
</div>
<!-- //content 끝 -->
</body>
</html>