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 : EgovAuthorUpdate.jsp
Description : EgovAuthorUpdate 화면
Modification Information
수정일 수정자 수정내용
------- -------- ---------------------------
2009.02.01 lee.m.j 최초 생성
2011.08.31 JJY 경량환경 버전 생성
author : 공통서비스 개발팀 lee.m.j
since : 2009.02.01
--%>
<%@ page 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" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Language" content="ko" >
<title>권한수정</title>
<script type="text/javascript" src="<c:url value="/validator.do"/>"></script>
<validator:javascript formName="authorManage" staticJavascript="false" xhtml="true" cdata="false"/>
<script type="text/javaScript" language="javascript">
function fncSelectAuthorList() {
searchForm.submit();
}
function fncAuthorUpdate() {
var varFrom = document.getElementById("authorManage");
//var authorPCode = varFrom.authorPCode.value;
/* if (authorPCode != ""){
var arrayAp = authorPCode.split("|");
if (arrayAp[3] == "ROLE_ADMIN") {
alert("최고관리자 하단에 권한을 추가할수 없습니다.");
return;
}
} */
varFrom.action = "<c:url value='/sec/ram/EgovAuthorUpdate.do'/>";
if(confirm("저장 하시겠습니까?")){
if(!validateAuthorManage(varFrom)){
return;
}else{
varFrom.submit();
}
}
}
function fncAuthorDelete(){
var varFrom = document.getElementById("authorManage");
/* var authorPCode = varFrom.authorPCode.value;
if (authorPCode != ""){
var arrayAp = authorPCode.split("|");
if ((arrayAp[3] == "ROLE_ANONYMOUS") || (arrayAp[3] == "ROLE_GNRL_USER") || (arrayAp[3] == "ROLE_USER_MEMBER") || (arrayAp[3] == "ROLE_ADMIN")) {
alert("기본권한은 삭제할 수 없습니다.");
return;
}
} */
varFrom.action = "<c:url value='/sec/ram/EgovAuthorDelete.do'/>";
if(confirm("삭제 하시겠습니까?")){
varFrom.submit();
}
}
</script>
</head>
<body>
<form:form commandName="authorManage" method="post" >
<input type="hidden" name="searchCondition" value="<c:out value='${authorManageVO.searchCondition}'/>"/>
<input type="hidden" name="searchKeyword" value="<c:out value='${authorManageVO.searchKeyword}'/>"/>
<input type="hidden" name="pageIndex" value="<c:out value='${authorManageVO.pageIndex}'/>"/>
<!-- cont -->
<div class="contWrap">
<div class="pageTitle">
<div class="pageIcon"><img src="/pb/img/pageTitIcon4.png" alt=""></div>
<h2 class="titType1 c_222222 fwBold">권한수정</h2>
<p class="tType6 c_999999"> </p>
</div>
<div class="pageCont">
<div class="listTop resisterList">
<p class="right block fwMd"><span class="tType4 c_e40000 fwBold">*</span>는 필수입력 항목입니다.</p>
</div>
<table class="tbType2">
<colgroup>
<col style="width: 20%">
<col style="width: 80%">
</colgroup>
<tbody>
<tr>
<th><span class="reqArea">권한코드</span></th>
<td colspan="3">
<input type="text" name="authorCode" id="authorCode" value="<c:out value='${authorManage.authorCode}'/>" style="ime-mode:disabled;" size="50" title="권한코드"
<c:if test="${!empty authorManage.authorCode}"> readonly
</c:if>
/>
<form:errors path="authorCode" />
</td>
</tr>
<tr>
<th><span class="reqArea">권한명</span></th>
<td colspan="3">
<input name="authorNm" id="authorNm" type="text" value="<c:out value='${authorManage.authorNm}'/>" maxLength="50" size="50" title="권한명" />
<form:errors path="authorNm" />
</td>
</tr>
<tr>
<th>설명</th>
<td colspan="3">
<input name="authorDc" id="authorDc" type="text" value="<c:out value='${authorManage.authorDc}'/>" maxLength="50" size="50" title="설명" />
</td>
</tr>
</tbody>
</table>
<div class="btnWrap">
<input type="button" class="btnType1 bg_888888" value="목 록" onclick="fncSelectAuthorList(); return false;">
<input type="button" class="btnType1 bg_ed4545" value="삭 제 " onclick="fncAuthorDelete(); return false;">
<input type="button" class="btnType1" value="저 장" onclick="fncAuthorUpdate(); return false;">
</div>
</div>
</div>
</form:form>
<form name="searchForm" id="searchForm" method="get" action="<c:url value='/sec/ram/EgovAuthorList.do'/>" >
<input type="hidden" name="searchCondition" value="<c:out value='${authorManageVO.searchCondition}'/>"/>
<input type="hidden" name="searchKeyword" value="<c:out value='${authorManageVO.searchKeyword}'/>"/>
<input type="hidden" name="pageIndex" value="<c:out value='${authorManageVO.pageIndex}'/>"/>
</form>
<!-- //cont -->
</body>
</html>