|
|
|
@ -1,9 +1,7 @@
|
|
|
|
|
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
|
|
|
|
<%@ include file="/WEB-INF/jsp/framework/taglibs.jsp" %>
|
|
|
|
|
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
|
|
|
|
|
|
|
|
|
|
<%--@elvariable id="groupManage" type=""--%>
|
|
|
|
|
<form:form commandName="groupManage" name="groupManage">
|
|
|
|
|
<form>
|
|
|
|
|
<c:set var="isUpdate" value="${!empty groupManage.groupId}"/>
|
|
|
|
|
<c:set var="bizName" value="권한그룹"/>
|
|
|
|
|
<c:out value='${isUpdate}'/>
|
|
|
|
@ -24,7 +22,14 @@
|
|
|
|
|
<label>권한그룹 ID</label>
|
|
|
|
|
</th>
|
|
|
|
|
<td nowrap="nowrap">
|
|
|
|
|
<form:input path="groupId" id="groupId" cssClass="txaIpt" readonly="${isUpdate}" size="40" title="그룹 ID" />
|
|
|
|
|
<c:choose>
|
|
|
|
|
<c:when test="${isUpdate}">
|
|
|
|
|
<input name="groupId" id="groupId" type="text" readonly value="<c:out value='${groupManage.groupId}'/>" size="40" title="권한그룹ID" />
|
|
|
|
|
</c:when>
|
|
|
|
|
<c:otherwise>
|
|
|
|
|
<input name="groupId" id="groupId" type="text" size="40" title="권한그룹ID" />
|
|
|
|
|
</c:otherwise>
|
|
|
|
|
</c:choose>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
@ -32,8 +37,7 @@
|
|
|
|
|
<label>권한그룹 명</label>
|
|
|
|
|
</th>
|
|
|
|
|
<td nowrap="nowrap">
|
|
|
|
|
<input name="groupNm" id="groupNm" type="text" value="<c:out value='${groupManage.groupNm}'/>" maxLength="50" size="40" title="그룹명" />
|
|
|
|
|
<form:errors path="groupNm" />
|
|
|
|
|
<input name="groupNm" id="groupNm" type="text" value="<c:out value='${groupManage.groupNm}'/>" maxLength="50" size="40" title="권한그룹명" />
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
@ -65,7 +69,7 @@
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</form:form>
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script type="text/javaScript">
|
|
|
|
@ -82,7 +86,7 @@
|
|
|
|
|
|
|
|
|
|
cmmBizAjax('add', {
|
|
|
|
|
url: '<c:url value="/framework/biz/mng/auth/addAuthGrp.do"/>'
|
|
|
|
|
,data: $("#groupManage").serialize()
|
|
|
|
|
,data: $("form").serialize()
|
|
|
|
|
//,contentType: 'x-www-form-url-encoded'
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
@ -92,7 +96,7 @@
|
|
|
|
|
|
|
|
|
|
cmmBizAjax('modify', {
|
|
|
|
|
url: '<c:url value="/framework/biz/mng/auth/modifyAuthGrp.do"/>'
|
|
|
|
|
,data: $("#groupManage").serialize()
|
|
|
|
|
,data: $("form").serialize()
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|