fix: 메세지 정리

main
Jonguk. Lim 2 years ago
parent 06d5a2411d
commit 31a929bf01

@ -0,0 +1,141 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
<form-validation>
<formset>
<form name="xitUserRegMngVO">
<field property="emplyrId" depends="required, maxlength">
<arg0 key="사용자아이디" resource="false"/>
<arg1 key="20" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>20</var-value>
</var>
</field>
<field property="emplyrNm" depends="required, maxlength">
<arg0 key="사용자이름" resource="false"/>
<arg1 key="50" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>50</var-value>
</var>
</field>
<!-- <field property="password" depends="required, password1, password2, password3, password4">
<arg0 key="비밀번호" resource="false"/>
</field> -->
<field property="passwordHint" depends="required">
<arg0 key="비밀번호힌트" resource="false"/>
</field>
<field property="passwordCnsr" depends="required, maxlength">
<arg0 key="비밀번호정답" resource="false"/>
<arg1 key="100" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>100</var-value>
</var>
</field>
<field
property="areaNo" depends="maxlength, mask">
<arg0 key="집지역번호" resource="false"/>
<arg1 key="4" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>4</var-value>
</var>
<var>
<var-name>mask</var-name>
<var-value>[0-9]([0-9])*</var-value>
</var>
</field>
<field
property="homemiddleTelno" depends="maxlength, mask">
<arg0 key="집중간전화번호" resource="false"/>
<arg1 key="4" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>4</var-value>
</var>
<var>
<var-name>mask</var-name>
<var-value>[0-9][0-9][0-9]([0-9])*</var-value>
</var>
</field>
<field
property="homeendTelno" depends="maxlength, mask">
<arg0 key="집마지막전화번호" resource="false"/>
<arg1 key="4" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>4</var-value>
</var>
<var>
<var-name>mask</var-name>
<var-value>[0-9][0-9][0-9][0-9]</var-value>
</var>
</field>
<field property="offmTelno" depends="maxlength">
<arg0 key="사무실전화번호" resource="false"/>
<arg1 key="15" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>15</var-value>
</var>
</field>
<field property="fxnum" depends="maxlength">
<arg0 key="팩스번호" resource="false"/>
<arg1 key="15" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>15</var-value>
</var>
</field>
<field property="moblphonNo" depends="maxlength">
<arg0 key="핸드폰번호" resource="false"/>
<arg1 key="15" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>15</var-value>
</var>
</field>
<field property="emailAdres" depends="email">
<arg0 key="이메일주소" resource="false"/>
</field>
<field property="homeadres" depends="maxlength">
<arg0 key="주소" resource="false"/>
<arg1 key="100" resource="false"/>
<var>
<var-name>maxlength</var-name>
<var-value>100</var-value>
</var>
</field>
<field property="orgnztId" depends="required">
<arg0 key="조직코드" resource="false"/>
</field>
<!-- <field property="emplyrSttusCode" depends="required"> -->
<!-- <arg0 key="사용자상태코드" resource="false"/> -->
<!-- </field> -->
<field property="groupId" depends="required">
<arg0 key="그룹아이디" resource="false"/>
</field>
</form>
</formset>
</form-validation>

@ -2,7 +2,7 @@
<%@ include file="/WEB-INF/jsp/framework/taglibs.jsp"%>
<script type="text/javascript" src="<c:url value="/framework/util/validator.do"/>"></script>
<validator:javascript formName="userManageVO" staticJavascript="false" xhtml="true" cdata="false"/>
<validator:javascript formName="xitUserRegMngVO" staticJavascript="true" xhtml="true" cdata="false"/>
<%--@elvariable id="userManageVO" type=""--%>
<form:form commandName="userManageVO" name="userManageVO">
<input type="hidden" name="zip_url" value="<c:url value='/_cmmn_/popup/ZipSearchList.do'/>" />
@ -239,7 +239,7 @@
//저장 버튼 Event 설정
$('#btnSave').on({
click: function(){
if (confirm('수정하시겠습니까?')) {
if (confirm('변경 하시겠습니까?')) {
if(validateUserManageVO(document.userManageVO)){
XitUserRegMng_edit.modifyData();
}
@ -248,7 +248,7 @@
});
$('#btnDelete').on({
click : function(){
if(confirm("삭제하시겠습니까?")){
if(confirm("삭제 하시겠습니까?")){
XitUserRegMng_edit.removeData();
}
}

Loading…
Cancel
Save