feat: popup title 적용

main
Jonguk. Lim 2 years ago
parent 148af956b2
commit 53c83ccb05

@ -66,8 +66,13 @@ public class ProgramMgtController {
ModelAndView mav = new ModelAndView();
mav.setViewName(FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/menu/mngProgramMgtPopup.popup");
if(Checks.isEmpty(progrmFileNm)) mav.addObject("progrmMngVO", new ProgramMngVO());
else mav.addObject("progrmMngVO", programMngService.findProgram(progrmFileNm));
if(Checks.isEmpty(progrmFileNm)){
mav.addObject("progrmMngVO", new ProgramMngVO());
mav.addObject("pageTitle", "프로그램 정보 등록");
} else {
mav.addObject("progrmMngVO", programMngService.findProgram(progrmFileNm));
mav.addObject("pageTitle", "프로그램 정보 변경");
}
return mav;
}

@ -79,8 +79,13 @@ public class UserMgtController {
ModelAndView mav = new ModelAndView();
mav.setViewName(FrameworkConstants.FRAMEWORK_JSP_BASE_PATH + "mng/usr/mngUserMgtPopup.popup");
if (Checks.isEmpty(uniqId)) mav.addObject("userInfoVO", new XitUserInfoVO());
else mav.addObject("userInfoVO", service.findUser(uniqId));
if (Checks.isEmpty(uniqId)) {
mav.addObject("userInfoVO", new XitUserInfoVO());
mav.addObject("pageTitle", "사용자 정보 등록");
} else {
mav.addObject("userInfoVO", service.findUser(uniqId));
mav.addObject("pageTitle", "사용자 정보 변정");
}
return mav;
}

@ -10,7 +10,7 @@ table.select=\uC120\uD0DD
title.html=egovframe common component
title.detail=\uC0C1\uC138\uC870\uD68C
title.inquire=\uC870\uD68C
title.update=\uC218\uC815
title.update=\uBCC0\uACBD
title.create=\uB4F1\uB85D
title.delete=\uC0AD\uC81C
title.save=\uC800\uC7A5

@ -10,7 +10,7 @@ table.select=\uC120\uD0DD
title.html=egovframe common component
title.detail=\uC0C1\uC138\uC870\uD68C
title.inquire=\uC870\uD68C
title.update=\uC218\uC815
title.update=\uBCC0\uACBD
title.create=\uB4F1\uB85D
title.delete=\uC0AD\uC81C
title.save=\uC800\uC7A5

@ -8,9 +8,19 @@
<div class="popup" style="min-width: 700px;">
<div class="popup_inner" style="max-width:700px;">
<p class="pop_title"> 프로그램 상세조회 /수정</p>
<p class="pop_title">
<c:choose>
<c:when test="${empty progrmMngVO.progrmFileNm}">
프로그램 정보 <spring:message code="title.create"/>
</c:when>
<c:otherwise>
프로그램 정보 <spring:message code="title.update"/>
</c:otherwise>
</c:choose>
</p>
<table class="tbl03">
<caption>프로그램 상세조회 /수정</caption>
<caption>프로그램 정보 등록 / 변경</caption>
<colgroup>
<col style="width: 20%; height: 23px;">
<col style="width: 80%; height: 23px;">

@ -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="userInfoVO" staticJavascript="true" xhtml="true" cdata="false"/>
<validator:javascript formName="userInfoVO" staticJavascript="false" xhtml="true" cdata="false"/>
<%--@elvariable id="userInfoVO" type=""--%>
<form:form commandName="userInfoVO" name="userInfoVO">
<input type="hidden" name="zip_url" value="<c:url value='/framework/biz/cmm/popup/ZipSearchList.do'/>" />
@ -13,11 +13,19 @@
<div class="popup" style="min-width: 1100px;">
<div class="popup_inner" style="max-width: 1100px;">
<c:set var="pageTitle"><spring:message code="comUssUmt.deptUserManage.title"/></c:set>
<p class="pop_title">${pageTitle } <spring:message code="title.update" /></p>
<p class="pop_title">
<c:choose>
<c:when test="${empty userInfoVO.uniqId}">
<spring:message code="comUssUmt.deptUserManage.title"/> <spring:message code="title.create"/>
</c:when>
<c:otherwise>
<spring:message code="comUssUmt.deptUserManage.title"/> <spring:message code="title.update"/>
</c:otherwise>
</c:choose>
</p>
<table class="tbl03">
<caption>${pageTitle } <spring:message code="title.update" /></caption>
<caption><spring:message code="comUssUmt.deptUserManage.title"/> <spring:message code="title.update"/> / <spring:message code="title.create"/></caption>
<colgroup>
<col style="width: 20%;"/>
<col style="width: 30%;"/>

@ -4,7 +4,10 @@
<!DOCTYPE html>
<html>
<head>
<head>경
<c:if test="${!empty pageTitle}">
<title>${pageTitle}</title>
</c:if>
<%@include file="/WEB-INF/jsp/framework/layouts/tiles/biz/cmmn/BizIncludeBase.jsp" %>
<style>
#wrap {

@ -10,6 +10,9 @@
<!DOCTYPE html>
<html>
<head>
<c:if test="${!empty pageTitle}">
<title>${pageTitle}</title>
</c:if>
<!-- XitFramework CSS -->
<link rel="stylesheet" type="text/css" href="${ctx}/resources/framework/css/cmmn/common-style.css"/>
<!-- eGovFramework 템플릿 CSS -->

@ -2,7 +2,7 @@
<%-- TODO: comment 처리한 JSTL은 필요한 JSP 페이지에서 경우 각각 import --%>
<!-- comment 처리한 JSTL은 필요한 경우 각각 import-->
<%--@ taglib prefix="spring" uri="http://www.springframework.org/tags"--%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%--@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"--%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

Loading…
Cancel
Save