타일즈 설정 제거

main
이범준 1 year ago
parent 7d3a93b21e
commit a4233ea1da

@ -237,7 +237,6 @@ escapeXml를 true로 설정함으로써 가장 간단하게 XSS(링크)를 방
# 윈도우 팝업 호출시 blockUI 적용
```js
// 팝업호출하는 화면단 : ~Form.jsp
// tiles biz jsp단에서 var popup 선언되어 있음
$.blockUI({message: '' ,css: {width: '100%', height: '100%'}
//모달창 외부 클릭시 닫기
,onOverlayClick: () => {
@ -249,7 +248,6 @@ popup = CmmPopup.open(url, params, popOption, popTitle);
// 팝업창
// event에 아래 코드 추가
// tiles biz jsp단에서 var unblockUI = () => $.unblockUI() 선언되어 있음
$(window).on("unload", function (e) {
window.opener?.unblockUI();
window.opener?.callbackSearch();

@ -15,7 +15,7 @@
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<org.apache.tiles.version>3.0.5</org.apache.tiles.version>
</properties>
<repositories>
<repository>
@ -96,53 +96,7 @@
<version>1.2</version>
</dependency>
<dependency>
<groupId>org.apache.taglibs</groupId>
<artifactId>taglibs-standard-impl</artifactId>
<version>1.2.5</version>
</dependency>
<dependency>
<groupId>org.apache.tiles</groupId>
<artifactId>tiles-jsp</artifactId>
<version>${org.apache.tiles.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tiles</groupId>
<artifactId>tiles-extras</artifactId>
<version>${org.apache.tiles.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
<version>5.3.20</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>5.3.20</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>5.3.20</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>5.3.20</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-expression</artifactId>
<version>5.3.20</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>5.3.20</version>
</dependency>
<!-- id제네레이터 -->
<dependency>
<groupId>org.egovframe.rte</groupId>
<artifactId>org.egovframe.rte.fdl.cmmn</artifactId>

@ -67,7 +67,7 @@ public class SendRqstMngController extends AbstractController {
return EnsConst.JSP_BASE_PATH
+"adm/SendRqstMng"
+"_"+new Object() {}.getClass().getEnclosingMethod().getName() //메소드명
+".ens"; //tiles 타입
;
}
@ -160,7 +160,7 @@ public class SendRqstMngController extends AbstractController {
return EnsConst.JSP_BASE_PATH
+"adm/SendRqstMng"
+"_"+new Object() {}.getClass().getEnclosingMethod().getName() //메소드명
+".ens-pop"; //tiles 타입
;
}

@ -64,7 +64,7 @@ public class StatsBySignTalkByYearController extends AbstractController {
return EnsConst.JSP_BASE_PATH
+"adm/StatsBySignTalkByYear"
+"_"+new Object() {}.getClass().getEnclosingMethod().getName() //메소드명
+".ens"; //tiles 타입
;
}
/**

@ -4,7 +4,7 @@ package cokr.xit.fims.framework.biz.cmm.web;
import cokr.xit.foundation.web.AbstractController;
import cokr.xit.fims.framework.biz.cmm.service.XitFramePopupService;
import cokr.xit.fims.framework.core.constants.FrameworkConstants;
import cokr.xit.fims.framework.core.constants.FrameworkConstants.TILES_TYPE;
import cokr.xit.fims.framework.core.XitBaseSearchVO;
import org.egovframe.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
import org.springframework.context.support.ReloadableResourceBundleMessageSource;
@ -48,7 +48,7 @@ public class FrameworkCmmController extends AbstractController {
*/
@GetMapping(name = "", value="/popup/ZipSearch")
public String ZipSearch() {
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"cmm/popup/XitZipSearch"+TILES_TYPE.POPUP.getVal();
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"cmm/popup/XitZipSearch";
}
/**
* <pre> : </pre>
@ -79,7 +79,7 @@ public class FrameworkCmmController extends AbstractController {
paginationInfo.setTotalRecordCount(totCnt);
modelMap.addAttribute("paginationInfo", paginationInfo);
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"cmm/popup/XitZipSearchList"+TILES_TYPE.POPUP.getVal();
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"cmm/popup/XitZipSearchList";
}

@ -7,7 +7,7 @@ import cokr.xit.fims.framework.biz.mng.user.XitUserRegMngSearchVO;
import cokr.xit.fims.framework.biz.mng.user.XitUserRegMngVO;
import cokr.xit.fims.framework.biz.mng.user.service.UserMgtService;
import cokr.xit.fims.framework.core.constants.FrameworkConstants;
import cokr.xit.fims.framework.core.constants.FrameworkConstants.TILES_TYPE;
import cokr.xit.fims.framework.core.constants.FrameworkConstants.USER_SE;
import org.springframework.context.support.ReloadableResourceBundleMessageSource;
import cokr.xit.fims.framework.core.utils.XitCmmnUtil;
@ -79,7 +79,7 @@ public class XitFrameAnonymousController extends AbstractController {
modelMap.addAttribute("checkId", checkId);
}
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"cmm/anonymous/XitIdDuplCnfirm"+TILES_TYPE.POPUP.getVal();
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"cmm/anonymous/XitIdDuplCnfirm";
}
@ -153,7 +153,7 @@ public class XitFrameAnonymousController extends AbstractController {
}
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"cmm/anonymous/XitUserReg_"+cmd+TILES_TYPE.POPUP.getVal();
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"cmm/anonymous/XitUserReg_"+cmd;
}
@RequestMapping(name = "", value = "login/UserReg_Forms_{cmd}", method={RequestMethod.GET, RequestMethod.POST})
public String UserReg_Forms_page(@PathVariable String cmd
@ -177,7 +177,7 @@ public class XitFrameAnonymousController extends AbstractController {
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"cmm/anonymous/forms/"+page+TILES_TYPE.POPUP.getVal();
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"cmm/anonymous/forms/"+page;
}
@ -365,8 +365,8 @@ public class XitFrameAnonymousController extends AbstractController {
* -.: popup api -> api
====================== */
//2021.06.22. 주석처리
// return XitConst.JSP_BASE_PATH+"cmm/anonymous/api/XitAdresSearch"+XitConst.TILES_TYPE.POPUP.getVal();
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"cmm/anonymous/api/XitAdresSearchApi"+ TILES_TYPE.NONE.getVal();
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"cmm/anonymous/api/XitAdresSearchApi";
}
@ -377,12 +377,12 @@ public class XitFrameAnonymousController extends AbstractController {
========================== */
@GetMapping(name = "", value = "step1")
public String step1(HttpServletRequest req) {
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"cmm/anonymous/step1"+ TILES_TYPE.NONE.getVal();
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"cmm/anonymous/step1";
}
@GetMapping(name = "", value = "step2")
public String step2() {
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"cmm/anonymous/step2"+ TILES_TYPE.NONE.getVal();
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"cmm/anonymous/step2";
}
@GetMapping(name = "", value = "login")
public String login(HttpServletRequest req) {

@ -2,7 +2,7 @@ package cokr.xit.fims.framework.biz.cmm.web;
import cokr.xit.foundation.web.AbstractController;
import cokr.xit.fims.framework.biz.cmm.service.XitFrameFileService;
import cokr.xit.fims.framework.core.constants.FrameworkConstants.TILES_TYPE;
import cokr.xit.fims.framework.core.BaseVO;
import cokr.xit.fims.framework.core.XitBaseSearchVO;
import org.springframework.context.support.ReloadableResourceBundleMessageSource;
@ -67,7 +67,7 @@ public class XitFrameFileController extends AbstractController {
modelMap.addAttribute("updateFlag", "N");
modelMap.addAttribute("fileListCnt", result.size());
modelMap.addAttribute("atchFileId", atchFileId);
return "framework/biz/common/file/XitAttachFile_list"+TILES_TYPE.NONE.getVal();
return "framework/biz/common/file/XitAttachFile_list";
}
/**
@ -89,7 +89,7 @@ public class XitFrameFileController extends AbstractController {
modelMap.addAttribute("updateFlag", "N");
modelMap.addAttribute("fileListCnt", result.size());
modelMap.addAttribute("atchFileId", atchFileId);
return "framework/biz/common/file/XitAttachFile_imgage_list"+TILES_TYPE.NONE.getVal();
return "framework/biz/common/file/XitAttachFile_imgage_list";
}
@ -97,7 +97,6 @@ public class XitFrameFileController extends AbstractController {
/**
* <pre> : .</pre>
* @param page
* @param tilesDef Type(none: tiles )
* @param model
* @return String
* @author:
@ -105,20 +104,18 @@ public class XitFrameFileController extends AbstractController {
*/
@RequestMapping(name = "", value = "AttachFile_{cmd}", method={RequestMethod.GET, RequestMethod.POST})
public String AttachFile_page(@PathVariable String cmd
, @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef
, @ModelAttribute("vo") BaseVO vo
, @ModelAttribute("searchVO") XitBaseSearchVO searchVO
, ModelMap model
,@RequestParam(value="atchFileId", required=false, defaultValue="") String atchFileId
) {
if(!"".equals(tilesDef))
tilesDef = "."+tilesDef;
String returnUrl = "kr/xit/framework/biz/cmm/file/XitAttachFile_" +cmd+tilesDef;
String returnUrl = "kr/xit/framework/biz/cmm/file/XitAttachFile_" +cmd;
List<Map<String, String>> result = null;
switch (cmd) {
// case "input": //등록 페이지
// break;
case "edit": //수정 페이지
result = xitFrameFileService.findList(atchFileId);
@ -128,11 +125,10 @@ public class XitFrameFileController extends AbstractController {
model.addAttribute("fileListCnt", result.size());
model.addAttribute("atchFileId", atchFileId);
returnUrl = "kr/xit/framework/biz/cmm/file/XitAttachFile_list" +TILES_TYPE.NONE.getVal();
returnUrl = "kr/xit/framework/biz/cmm/file/XitAttachFile_list" ;
break;
// case "view": //상세 페이지
// break;
default:
throw new RuntimeException("유효하지 않은 요청 입니다.");
@ -164,7 +160,7 @@ public class XitFrameFileController extends AbstractController {
}
return "framework/biz/common/file/XitAttachFile_"+cmd+"_popup"+TILES_TYPE.POPUP.getVal();
return "framework/biz/common/file/XitAttachFile_"+cmd+"_popup";
}

@ -3,7 +3,7 @@ package cokr.xit.fims.framework.biz.cmm.web;
import cokr.xit.foundation.web.AbstractController;
import cokr.xit.fims.framework.biz.cmm.service.XitFramePopupService;
import cokr.xit.fims.framework.core.constants.FrameworkConstants;
import cokr.xit.fims.framework.core.constants.FrameworkConstants.TILES_TYPE;
import cokr.xit.fims.framework.core.XitBaseSearchVO;
import org.springframework.context.support.ReloadableResourceBundleMessageSource;
import org.egovframe.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
@ -49,7 +49,7 @@ public class XitFramePopupController extends AbstractController {
*/
@RequestMapping(name = "", value="ZipSearch", method={RequestMethod.GET, RequestMethod.POST})
public String ZipSearch(ModelMap modelMap) {
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"cmm/popup/XitZipSearch"+TILES_TYPE.POPUP.getVal();
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"cmm/popup/XitZipSearch";
}
/**
* <pre> : </pre>
@ -80,7 +80,7 @@ public class XitFramePopupController extends AbstractController {
paginationInfo.setTotalRecordCount(totCnt);
modelMap.addAttribute("paginationInfo", paginationInfo);
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"cmm/popup/XitZipSearchList"+TILES_TYPE.POPUP.getVal();
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"cmm/popup/XitZipSearchList";
}

@ -6,7 +6,7 @@ import cokr.xit.fims.framework.biz.cmm.service.XitFrameCrudService;
import cokr.xit.fims.framework.biz.cmm.service.XitLoginService;
import cokr.xit.fims.framework.biz.mng.user.XitUserInfoVO;
import cokr.xit.fims.framework.core.constants.FrameworkConstants;
import cokr.xit.fims.framework.core.constants.FrameworkConstants.TILES_TYPE;
import cokr.xit.fims.framework.core.constants.FrameworkConstants.USER_SE;
import org.springframework.context.support.ReloadableResourceBundleMessageSource;
import cokr.xit.fims.framework.core.utils.XitCmmnUtil;
@ -75,7 +75,7 @@ public class XitLoginController extends AbstractController {
// 1. Spring Security 사용자권한 처리
Boolean isAuthenticated = EgovUserDetailsHelper.isAuthenticated();
if (!isAuthenticated) {
//return LOGIN_PAGE+TILES_TYPE.NONE.getVal();
return LOGIN_PAGE;
}
@ -215,13 +215,7 @@ public class XitLoginController extends AbstractController {
*/
@RequestMapping(name = "", value="accessDenied")
public void accessDenied(HttpServletRequest request, HttpServletResponse response) throws Exception {
/* ======================================================
* 2020.11.24.
*
* -:
====================================================== */
//2020.11.24. 주석처리
// return XitConst.JSP_BASE_PATH+XitProperties.getProperty("Globals.Xit.AccessDeniedPage")+TILES_TYPE.NONE.getVal();
/**
*
*/
@ -241,7 +235,7 @@ public class XitLoginController extends AbstractController {
//인증사용자
if(isAuthenticated) {
//응답
response.sendRedirect(FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +ACCESS_DENIED_PAGE+TILES_TYPE.NONE.getVal());
response.sendRedirect(FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +ACCESS_DENIED_PAGE);
//미인증사용자
}else {

@ -4,7 +4,7 @@ import cokr.xit.foundation.web.AbstractController;
import cokr.xit.fims.framework.biz.mng.admin.XitAdminServerCmdMngSearchVO;
import cokr.xit.fims.framework.biz.mng.admin.XitAdminServerCmdMngVO;
import cokr.xit.fims.framework.core.constants.FrameworkConstants;
import cokr.xit.fims.framework.core.constants.FrameworkConstants.TILES_TYPE;
import org.springframework.context.support.ReloadableResourceBundleMessageSource;
import cokr.xit.fims.framework.core.utils.XitCommandExecutor;
import org.springframework.stereotype.Controller;
@ -80,8 +80,7 @@ public class XitAdminServerCmdMngController extends AbstractController {
/**
* <pre> : .</pre>
* @param page
* @param tilesDef Type(none: tiles )
* @param cmd
* @param model
* @return String
* @author:
@ -91,7 +90,6 @@ public class XitAdminServerCmdMngController extends AbstractController {
*/
@RequestMapping(name = "", value = "AdminServerCmdMng_{cmd}", method={RequestMethod.GET, RequestMethod.POST})
public String AdminServerCmdMng_page(@PathVariable String cmd
, @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef
, @ModelAttribute("vo") XitAdminServerCmdMngVO vo
, @ModelAttribute("searchVO") XitAdminServerCmdMngSearchVO searchVO
, ModelMap model
@ -112,16 +110,14 @@ public class XitAdminServerCmdMngController extends AbstractController {
throw new RuntimeException("유효하지 않은 요청 입니다.");
}
if(!"".equals(tilesDef))
tilesDef = "."+tilesDef;
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/admin/XitAdminServerCmdMng_"+cmd+tilesDef;
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/admin/XitAdminServerCmdMng_"+cmd;
}
/**
* <pre> : .</pre>
* @param page
* @param cmd
* @param model
* @return String
* @author:
@ -139,7 +135,7 @@ public class XitAdminServerCmdMngController extends AbstractController {
}
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/admin/XitAdminServerCmdMng_"+cmd+"_popup"+TILES_TYPE.POPUP.getVal();
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/admin/XitAdminServerCmdMng_"+cmd+"_popup";
}

@ -4,7 +4,7 @@ import cokr.xit.foundation.web.AbstractController;
import cokr.xit.fims.framework.biz.mng.admin.XitAdminServerFileMngSearchVO;
import cokr.xit.fims.framework.biz.mng.admin.XitAdminServerFileMngVO;
import cokr.xit.fims.framework.core.constants.FrameworkConstants;
import cokr.xit.fims.framework.core.constants.FrameworkConstants.TILES_TYPE;
import org.springframework.context.support.ReloadableResourceBundleMessageSource;
import cokr.xit.fims.framework.core.utils.XitCmmnUtil;
import cokr.xit.fims.framework.core.utils.XitHttpRequestHelper;
@ -61,7 +61,6 @@ public class XitAdminServerFileMngController extends AbstractController {
*/
@RequestMapping(name = "", value = "AdminServerFileMng_list", method={RequestMethod.GET, RequestMethod.POST})
public String AdminServerFileMng_list(@ModelAttribute("searchVO") XitAdminServerFileMngSearchVO searchVO, ModelMap model
, @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef
) {
/**
@ -93,9 +92,8 @@ public class XitAdminServerFileMngController extends AbstractController {
}
if(!"".equals(tilesDef))
tilesDef = "."+tilesDef;
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/admin/XitAdminServerFileMng_list"+tilesDef;
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/admin/XitAdminServerFileMng_list";
}
@ -171,8 +169,7 @@ public class XitAdminServerFileMngController extends AbstractController {
/**
* <pre> : .</pre>
* @param page
* @param tilesDef Type(none: tiles )
* @param cmd
* @param model
* @return String
* @author:
@ -182,7 +179,7 @@ public class XitAdminServerFileMngController extends AbstractController {
*/
@RequestMapping(name = "", value = "AdminServerFileMng_{cmd}", method={RequestMethod.GET, RequestMethod.POST})
public void AdminServerFileMng_page(@PathVariable String cmd
, @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef
, @ModelAttribute("vo") XitAdminServerFileMngVO vo
, @ModelAttribute("searchVO") XitAdminServerFileMngSearchVO searchVO
, ModelMap model
@ -280,7 +277,7 @@ public class XitAdminServerFileMngController extends AbstractController {
}
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/admin/XitAdminServerFileMng_"+cmd+"_popup"+TILES_TYPE.POPUP.getVal();
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/admin/XitAdminServerFileMng_"+cmd+"_popup";
}

@ -4,7 +4,7 @@ import cokr.xit.foundation.web.AbstractController;
import cokr.xit.fims.framework.biz.mng.admin.XitAdminServerLogMngSearchVO;
import cokr.xit.fims.framework.biz.mng.admin.XitAdminServerLogMngVO;
import cokr.xit.fims.framework.core.constants.FrameworkConstants;
import cokr.xit.fims.framework.core.constants.FrameworkConstants.TILES_TYPE;
import org.springframework.context.support.ReloadableResourceBundleMessageSource;
import cokr.xit.fims.framework.core.utils.XitCmmnUtil;
import cokr.xit.fims.framework.core.utils.XitHttpRequestHelper;
@ -62,7 +62,6 @@ public class XitAdminServerLogMngController extends AbstractController {
*/
@RequestMapping(name = "", value = "AdminServerLogMng_list", method={RequestMethod.GET, RequestMethod.POST})
public String AdminServerLogMng_list(@ModelAttribute("searchVO") XitAdminServerLogMngSearchVO searchVO, ModelMap model
, @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef
) {
@ -101,10 +100,8 @@ public class XitAdminServerLogMngController extends AbstractController {
}
if(!"".equals(tilesDef))
tilesDef = "."+tilesDef;
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/admin/XitAdminServerLogMng_list"+tilesDef;
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/admin/XitAdminServerLogMng_list";
}
@ -235,7 +232,6 @@ public class XitAdminServerLogMngController extends AbstractController {
/**
* <pre> : .</pre>
* @param page
* @param tilesDef Type(none: tiles )
* @param model
* @return String
* @author:
@ -245,7 +241,7 @@ public class XitAdminServerLogMngController extends AbstractController {
*/
@RequestMapping(name = "", value = "AdminServerLogMng_{cmd}", method={RequestMethod.GET, RequestMethod.POST})
public void AdminServerLogMng_page(@PathVariable String cmd
, @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef
, @ModelAttribute("vo") XitAdminServerLogMngVO vo
, @ModelAttribute("searchVO") XitAdminServerLogMngSearchVO searchVO
, ModelMap model
@ -294,7 +290,7 @@ public class XitAdminServerLogMngController extends AbstractController {
}
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/admin/XitAdminServerLogMng_"+cmd+"_popup"+TILES_TYPE.POPUP.getVal();
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/admin/XitAdminServerLogMng_"+cmd+"_popup";
}

@ -120,7 +120,6 @@ public class XitConectionLogMngController extends AbstractController {
/**
* <pre> : .</pre>
* @param cmd String
* @param tilesDef Type(none: tiles )
* @param model
* @return String
* @author:
@ -128,7 +127,7 @@ public class XitConectionLogMngController extends AbstractController {
*/
@RequestMapping(name = "", value = "ConectionLogMng_{cmd}", method={RequestMethod.GET, RequestMethod.POST})
public String ConectionLogMng_page(@PathVariable String cmd
, @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef
, @ModelAttribute("cmmnCode") XitConectionLogMngVO vo
, @ModelAttribute XitConectionLogMngSearchVO searchVO
, ModelMap model) {
@ -144,9 +143,8 @@ public class XitConectionLogMngController extends AbstractController {
}
if(!"".equals(tilesDef))
tilesDef = "."+tilesDef;
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/admin/XitConectionLogMng_"+cmd+tilesDef;
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/admin/XitConectionLogMng_"+cmd;
}
@ -171,7 +169,7 @@ public class XitConectionLogMngController extends AbstractController {
}
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/admin/XitConectionLogMng_"+cmd+"_popup"+ FrameworkConstants.TILES_TYPE.POPUP.getVal();
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/admin/XitConectionLogMng_"+cmd+"_popup";
}

@ -144,7 +144,6 @@ public class XitConectionStatsMngController extends AbstractController {
/**
* <pre> : .</pre>
* @param cmd String
* @param tilesDef Type(none: tiles )
* @param model
* @return String
* @author:
@ -152,7 +151,7 @@ public class XitConectionStatsMngController extends AbstractController {
*/
@RequestMapping(name = "", value = "ConectionStatsMng_{cmd}", method={RequestMethod.GET, RequestMethod.POST})
public String ConectionStatsMng_page(@PathVariable String cmd
, @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef
, @ModelAttribute() XitConectionStatsMngVO vo
, @ModelAttribute XitConectionStatsMngSearchVO searchVO
, ModelMap model) {
@ -169,9 +168,8 @@ public class XitConectionStatsMngController extends AbstractController {
}
if(!"".equals(tilesDef))
tilesDef = "."+tilesDef;
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/admin/XitConectionStatsMng_"+cmd+tilesDef;
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/admin/XitConectionStatsMng_"+cmd;
}
@ -196,7 +194,7 @@ public class XitConectionStatsMngController extends AbstractController {
}
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/admin/XitConectionStatsMng_"+cmd+"_popup"+ FrameworkConstants.TILES_TYPE.POPUP.getVal();
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/admin/XitConectionStatsMng_"+cmd+"_popup";
}

@ -118,7 +118,6 @@ public class XitLoginPolicyMngController extends AbstractController {
/**
* <pre> : .</pre>
* @param cmd String
* @param tilesDef Type(none: tiles )
* @param model
* @return String
* @author:
@ -126,14 +125,13 @@ public class XitLoginPolicyMngController extends AbstractController {
*/
@RequestMapping(name = "", value = "loginPolicyMng_{cmd}", method={RequestMethod.GET, RequestMethod.POST})
public String loginPolicyMng_page(@PathVariable String cmd
, @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef
, @ModelAttribute("vo") XitLoginPolicyMngVO vo
, @ModelAttribute("searchVO") XitLoginPolicyMngSearchVO searchVO
, ModelMap model
) {
if(!"".equals(tilesDef))
tilesDef = "."+tilesDef;
String returnUrl = FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/auth/loginPolicyMng_"+cmd+tilesDef;
String returnUrl = FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/auth/loginPolicyMng_"+cmd;
switch (cmd) {
case "input": //등록 페이지
@ -146,7 +144,7 @@ public class XitLoginPolicyMngController extends AbstractController {
model.addAttribute("loginPolicy", result);
model.addAttribute("message", "정상적으로 조회 되었습니다.");
if("N".equals(result.getRegYn()))
returnUrl = FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/auth/loginPolicyMng_input"+tilesDef;
returnUrl = FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/auth/loginPolicyMng_input";
break;
default:
throw new RuntimeException("유효하지 않은 요청 입니다.");
@ -179,7 +177,7 @@ public class XitLoginPolicyMngController extends AbstractController {
}
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/auth/loginPolicyMng_"+cmd+"_popup"+ FrameworkConstants.TILES_TYPE.POPUP.getVal();
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/auth/loginPolicyMng_"+cmd+"_popup";
}

@ -11,7 +11,7 @@ import cokr.xit.fims.framework.biz.mng.bbs.XitBbsCreateMngVO;
import cokr.xit.fims.framework.biz.mng.bbs.service.XitBasicBbsMngService;
import cokr.xit.fims.framework.biz.mng.bbs.service.XitBbsCreateMngService;
import cokr.xit.fims.framework.core.constants.FrameworkConstants;
import cokr.xit.fims.framework.core.constants.FrameworkConstants.TILES_TYPE;
import cokr.xit.fims.framework.core.XitAttachFileRespVO;
import org.springframework.context.support.ReloadableResourceBundleMessageSource;
@ -88,7 +88,7 @@ public class XitBasicBbsMngController extends AbstractController {
@RequestMapping(name = "", value = "BasicBbsMng_{bbsId}_list", method={RequestMethod.GET, RequestMethod.POST})
public String BasicBbsMng_list(@ModelAttribute("searchVO") XitBasicBbsMngSearchVO searchVO, ModelMap model
,@PathVariable String bbsId
, @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef
) {
XitLoginVO loginVO = (XitLoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
@ -139,9 +139,8 @@ public class XitBasicBbsMngController extends AbstractController {
model.addAttribute("paginationInfo", paginationInfo);
if(!"".equals(tilesDef))
tilesDef = "."+tilesDef;
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/bbs/XitBasicBbsMng_list"+tilesDef;
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/bbs/XitBasicBbsMng_list";
}
@ -210,7 +209,6 @@ public class XitBasicBbsMngController extends AbstractController {
/**
* <pre> : .</pre>
* @param cmd String
* @param tilesDef Type(none: tiles )
* @param model
* @return String
* @author:
@ -218,7 +216,7 @@ public class XitBasicBbsMngController extends AbstractController {
*/
@RequestMapping(name = "", value = "BasicBbsMng_{bbsId}_{cmd}", method={RequestMethod.GET, RequestMethod.POST})
public String BasicBbsMng_page(@PathVariable String cmd
, @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef
, @ModelAttribute("vo") XitBasicBbsMngVO vo
, @ModelAttribute("searchVO") XitBasicBbsMngSearchVO searchVO
, ModelMap model
@ -386,9 +384,8 @@ public class XitBasicBbsMngController extends AbstractController {
}
if(!"".equals(tilesDef))
tilesDef = "."+tilesDef;
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/bbs/XitBasicBbsMng_"+cmd+tilesDef;
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/bbs/XitBasicBbsMng_"+cmd;
}
@ -413,7 +410,7 @@ public class XitBasicBbsMngController extends AbstractController {
}
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/bbs/XitBasicBbsMng_"+cmd+"_popup"+TILES_TYPE.POPUP.getVal();
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/bbs/XitBasicBbsMng_"+cmd+"_popup";
}

@ -7,7 +7,7 @@ import cokr.xit.fims.framework.biz.mng.bbs.XitBbsCreateMngSearchVO;
import cokr.xit.fims.framework.biz.mng.bbs.XitBbsCreateMngVO;
import cokr.xit.fims.framework.biz.mng.bbs.service.XitBbsCreateMngService;
import cokr.xit.fims.framework.core.constants.FrameworkConstants;
import cokr.xit.fims.framework.core.constants.FrameworkConstants.TILES_TYPE;
import org.springframework.context.support.ReloadableResourceBundleMessageSource;
import cokr.xit.fims.framework.core.utils.XitCmmnUtil;
import cokr.xit.fims.framework.core.validation.XitBeanValidator;
@ -157,7 +157,6 @@ public class XitBbsCreateMngController extends AbstractController {
/**
* <pre> : .</pre>
* @param cmd
* @param tilesDef Type(none: tiles )
* @param model
* @return String
* @author:
@ -165,7 +164,7 @@ public class XitBbsCreateMngController extends AbstractController {
*/
@RequestMapping(name = "", value = "BbsCreateMng_{cmd}", method={RequestMethod.GET, RequestMethod.POST})
public String BbsCreateMng_page(@PathVariable String cmd
, @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef
, @ModelAttribute("vo") XitBbsCreateMngVO vo
, @ModelAttribute("searchVO") XitBbsCreateMngSearchVO searchVO
, ModelMap model) {
@ -184,9 +183,8 @@ public class XitBbsCreateMngController extends AbstractController {
}
if(!"".equals(tilesDef))
tilesDef = "."+tilesDef;
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/bbs/XitBbsCreateMng_"+cmd+tilesDef;
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/bbs/XitBbsCreateMng_"+cmd;
}
@ -236,7 +234,7 @@ public class XitBbsCreateMngController extends AbstractController {
}
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/bbs/XitBbsCreateMng_"+cmd+"_popup"+TILES_TYPE.POPUP.getVal();
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/bbs/XitBbsCreateMng_"+cmd+"_popup";
}

@ -7,7 +7,7 @@ import cokr.xit.fims.framework.biz.mng.bbs.XitBbsTmplateMngSearchVO;
import cokr.xit.fims.framework.biz.mng.bbs.XitBbsTmplateMngVO;
import cokr.xit.fims.framework.biz.mng.bbs.service.XitBbsTmplateMngService;
import cokr.xit.fims.framework.core.constants.FrameworkConstants;
import cokr.xit.fims.framework.core.constants.FrameworkConstants.TILES_TYPE;
import org.springframework.context.support.ReloadableResourceBundleMessageSource;
import cokr.xit.fims.framework.core.utils.XitCmmnUtil;
import cokr.xit.fims.framework.core.validation.XitBeanValidator;
@ -124,8 +124,7 @@ public class XitBbsTmplateMngController extends AbstractController {
/**
* <pre> : .</pre>
* @param page
* @param tilesDef Type(none: tiles )
* @param cmd
* @param model
* @return String
* @author:
@ -133,7 +132,6 @@ public class XitBbsTmplateMngController extends AbstractController {
*/
@RequestMapping(name = "", value = "BbsTmplateMng_{cmd}", method={RequestMethod.GET, RequestMethod.POST})
public String BbsTmplateMng_page(@PathVariable String cmd
, @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef
, @ModelAttribute("vo") XitBbsTmplateMngVO vo
, @ModelAttribute("searchVO") XitBbsTmplateMngSearchVO searchVO
, ModelMap model) {
@ -150,17 +148,15 @@ public class XitBbsTmplateMngController extends AbstractController {
throw new RuntimeException("유효하지 않은 요청 입니다.");
}
if(!"".equals(tilesDef))
tilesDef = "."+tilesDef;
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/bbs/XitBbsTmplateMng_"+cmd+tilesDef;
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/bbs/XitBbsTmplateMng_"+cmd;
}
/**
* <pre> : .</pre>
* @param page
* @param cmd
* @param model
* @return String
* @author:
@ -181,7 +177,7 @@ public class XitBbsTmplateMngController extends AbstractController {
}
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/bbs/XitBbsTmplateMng_"+cmd+"_popup"+TILES_TYPE.POPUP.getVal();
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/bbs/XitBbsTmplateMng_"+cmd+"_popup";
}

@ -7,7 +7,7 @@ import cokr.xit.fims.framework.biz.mng.bbs.XitBbsUseMngSearchVO;
import cokr.xit.fims.framework.biz.mng.bbs.XitBbsUseMngVO;
import cokr.xit.fims.framework.biz.mng.bbs.service.XitBbsUseMngService;
import cokr.xit.fims.framework.core.constants.FrameworkConstants;
import cokr.xit.fims.framework.core.constants.FrameworkConstants.TILES_TYPE;
import org.springframework.context.support.ReloadableResourceBundleMessageSource;
import cokr.xit.fims.framework.core.utils.XitCmmnUtil;
import cokr.xit.fims.framework.core.validation.XitBeanValidator;
@ -125,7 +125,6 @@ public class XitBbsUseMngController extends AbstractController {
/**
* <pre> : .</pre>
* @param cmd
* @param tilesDef Type(none: tiles )
* @param model
* @return String
* @author:
@ -133,7 +132,7 @@ public class XitBbsUseMngController extends AbstractController {
*/
@RequestMapping(name = "", value = "BbsUseMng_{cmd}", method={RequestMethod.GET, RequestMethod.POST})
public String BbsUseMng_page(@PathVariable String cmd
, @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef
, @ModelAttribute("vo") XitBbsUseMngVO vo
, @ModelAttribute("searchVO") XitBbsUseMngSearchVO searchVO
, ModelMap model) {
@ -160,10 +159,8 @@ public class XitBbsUseMngController extends AbstractController {
throw new RuntimeException("유효하지 않은 요청 입니다.");
}
if(!"".equals(tilesDef))
tilesDef = "."+tilesDef;
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/bbs/XitBbsUseMng_"+cmd+tilesDef;
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/bbs/XitBbsUseMng_"+cmd;
}
@ -188,7 +185,7 @@ public class XitBbsUseMngController extends AbstractController {
}
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/bbs/XitBbsUseMng_"+cmd+"_popup"+TILES_TYPE.POPUP.getVal();
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/bbs/XitBbsUseMng_"+cmd+"_popup";
}

@ -6,7 +6,7 @@ import cokr.xit.fims.framework.biz.mng.user.XitUserRegMngSearchVO;
import cokr.xit.fims.framework.biz.mng.user.XitUserRegMngVO;
import cokr.xit.fims.framework.biz.mng.user.service.UserMgtService;
import cokr.xit.fims.framework.core.constants.FrameworkConstants;
import cokr.xit.fims.framework.core.constants.FrameworkConstants.TILES_TYPE;
import cokr.xit.fims.framework.core.utils.XitCmmnUtil;
import cokr.xit.fims.framework.support.mybatis.MybatisUtils;
@ -159,7 +159,7 @@ public class UserMgtController extends AbstractController {
default:
throw new RuntimeException("유효하지 않은 요청 입니다.");
}
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/usr/XitUserRegMng_"+cmd+"_popup"+TILES_TYPE.POPUP.getVal();
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/usr/XitUserRegMng_"+cmd+"_popup";
}

@ -7,7 +7,7 @@ import cokr.xit.fims.framework.biz.mng.user.XitUserAbsntMngSearchVO;
import cokr.xit.fims.framework.biz.mng.user.XitUserAbsntMngVO;
import cokr.xit.fims.framework.biz.mng.user.service.XitUserAbsntMngService;
import cokr.xit.fims.framework.core.constants.FrameworkConstants;
import cokr.xit.fims.framework.core.constants.FrameworkConstants.TILES_TYPE;
import org.springframework.context.support.ReloadableResourceBundleMessageSource;
import cokr.xit.fims.framework.core.utils.XitCmmnUtil;
import cokr.xit.fims.framework.core.validation.XitBeanValidator;
@ -131,7 +131,6 @@ public class XitUserAbsntMngController extends AbstractController {
/**
* <pre> : .</pre>
* @param cmd
* @param tilesDef Type(none: tiles )
* @param model
* @return String
* @author:
@ -139,7 +138,7 @@ public class XitUserAbsntMngController extends AbstractController {
*/
@RequestMapping(name = "", value = "userAbsntMng_{cmd}", method={RequestMethod.GET, RequestMethod.POST})
public String userAbsntMng_page(@PathVariable String cmd
, @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef
, @ModelAttribute("userAbsnceSearchVO") XitUserAbsntMngSearchVO searchVO
, @ModelAttribute("userAbsnceVO") XitUserAbsntMngVO vo
, @RequestParam("userId") String userId
@ -163,10 +162,8 @@ public class XitUserAbsntMngController extends AbstractController {
throw new RuntimeException("유효하지 않은 요청 입니다.");
}
if(!"".equals(tilesDef))
tilesDef = "."+tilesDef;
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/usr/XitUserAbsntMng_"+cmd+tilesDef;
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/usr/XitUserAbsntMng_"+cmd;
}
@ -194,7 +191,7 @@ public class XitUserAbsntMngController extends AbstractController {
}
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/usr/XitUserAbsntMng_"+cmd+"_popup"+TILES_TYPE.POPUP.getVal();
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/usr/XitUserAbsntMng_"+cmd+"_popup";
}

@ -6,7 +6,7 @@ import cokr.xit.fims.framework.biz.mng.user.XitUserEtcOptMngSearchVO;
import cokr.xit.fims.framework.biz.mng.user.XitUserEtcOptMngVO;
import cokr.xit.fims.framework.biz.mng.user.service.XitUserEtcOptMngService;
import cokr.xit.fims.framework.core.constants.FrameworkConstants;
import cokr.xit.fims.framework.core.constants.FrameworkConstants.TILES_TYPE;
import org.springframework.context.support.ReloadableResourceBundleMessageSource;
import cokr.xit.fims.framework.core.utils.XitCmmnUtil;
import cokr.xit.fims.framework.support.util.AjaxUtils;
@ -127,7 +127,6 @@ public class XitUserEtcOptMngController extends AbstractController {
/**
* <pre> : .</pre>
* @param page
* @param tilesDef Type(none: tiles )
* @param model
* @return String
* @author:
@ -135,7 +134,7 @@ public class XitUserEtcOptMngController extends AbstractController {
*/
@RequestMapping(name = "", value = "userEtcOptMng_{cmd}", method={RequestMethod.GET, RequestMethod.POST})
public String userEtcOptMng_page(@PathVariable String cmd
, @RequestParam(value="tilesDef", required=false, defaultValue="") String tilesDef
, @ModelAttribute("userSearchVO") XitUserEtcOptMngSearchVO searchVO
, @ModelAttribute("userEtcOptionManageVO") XitUserEtcOptMngVO vo
, ModelMap model
@ -147,10 +146,8 @@ public class XitUserEtcOptMngController extends AbstractController {
throw new RuntimeException("유효하지 않은 요청 입니다.");
}
if(!"".equals(tilesDef))
tilesDef = "."+tilesDef;
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/usr/XitUserEtcOptMng_"+cmd+tilesDef;
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/usr/XitUserEtcOptMng_"+cmd;
}
@ -177,7 +174,7 @@ public class XitUserEtcOptMngController extends AbstractController {
default:
throw new RuntimeException("유효하지 않은 요청 입니다.");
}
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/usr/XitUserEtcOptMng_"+cmd+"_popup"+TILES_TYPE.POPUP.getVal();
return FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"mng/usr/XitUserEtcOptMng_"+cmd+"_popup";
}

@ -21,32 +21,7 @@ public class FrameworkConstants {
public static final String JSON_VIEW = "jsonView";
/**
*
* @:
* @:
* @: 2020. 4. 29. 4:33:01
* @:
* @author ()
* @since 2002. 2. 2.
* @version 1.0 Copyright(c) XIT All rights reserved.
*/
public enum TILES_TYPE{
NONE(".none") //타일즈 미적용
,BASE(".base") //기본 tiles layout
,POPUP(".popup") //팝업페이지 tiles layout
,FIMS_POPUP(".fims-pop") //팝업페이지 tiles layout
,MAIN(".main") //메인화면 tiles layout
;
private String val;
private TILES_TYPE(String val) {
this.val = val;
}
public String getVal() {
return this.val;
}
}
/**

@ -3,7 +3,7 @@ package cokr.xit.fims.framework.core.interceptor;
import com.fasterxml.jackson.databind.JsonMappingException;
import cokr.xit.fims.framework.biz.cache.util.CacheServiceUtils;
import cokr.xit.fims.framework.biz.cmm.XitLoginVO;
import cokr.xit.fims.framework.core.constants.FrameworkConstants.TILES_TYPE;
import cokr.xit.fims.framework.support.exception.JSONExceptionMessageWriter;
import cokr.xit.fims.framework.support.util.Checks;
import cokr.xit.fims.framework.support.util.constants.Globals;
@ -50,9 +50,7 @@ public class MenuIntercepter extends HandlerInterceptorAdapter {
if(mv == null) return;
//타일즈 적용 여부
String viewName = mv.getViewName();
boolean isTiles = (viewName.endsWith(TILES_TYPE.NONE.getVal())||viewName.endsWith(TILES_TYPE.POPUP.getVal())||viewName.endsWith(TILES_TYPE.FIMS_POPUP.getVal()))? false: true;
//사용자의 인증 여부 확인
boolean isAuthenticated = EgovUserDetailsHelper.isAuthenticated();
@ -60,46 +58,46 @@ public class MenuIntercepter extends HandlerInterceptorAdapter {
/**
*
*/
if(isTiles) {
List<Map<String, String>> allMenuList = null;
//메뉴목록 조회
if(isAuthenticated) {
//사용자정보 취득
XitLoginVO loginVO = (XitLoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
//사용자별 메뉴 목록 조회
allMenuList = CacheServiceUtils.findMenuListByUser(loginVO.getUniqId());
}
else {
//익명사용자 메뉴 목록 조회
allMenuList = CacheServiceUtils.findMenuListByAuthorCode("ROLE_ANONYMOUS");
}
// main page만 메뉴목록 / 공지사항 조회
if(reqPath.contains("/framework/biz/cmm/mainPage")) {
mv.addObject("allMenuList", allMenuList);
List<Map<String, String>> allMenuList = null;
//메뉴목록 조회
if(isAuthenticated) {
//사용자정보 취득
XitLoginVO loginVO = (XitLoginVO) EgovUserDetailsHelper.getAuthenticatedUser();
}
//사용자별 메뉴 목록 조회
allMenuList = CacheServiceUtils.findMenuListByUser(loginVO.getUniqId());
}
else {
//익명사용자 메뉴 목록 조회
allMenuList = CacheServiceUtils.findMenuListByAuthorCode("ROLE_ANONYMOUS");
}
// main page만 메뉴목록 / 공지사항 조회
if(reqPath.contains("/framework/biz/cmm/mainPage")) {
mv.addObject("allMenuList", allMenuList);
//요청페이지 정보 Setting
for(int i=0; i < allMenuList.size(); i++) {
Map<String, String> mUrlInfo = allMenuList.get(i);
if (Checks.isNotEmpty(mUrlInfo.get("menuView")) && mUrlInfo.get("menuView").toString().contains(reqPath)) {
String[] arrPath = mUrlInfo.get("menuPath").toString().split("_");
if(arrPath.length > 1){
mUrlInfo.put("secondMenu", arrPath[1]);
}
mv.addObject("urlInfoMap", mUrlInfo);
break;
}
//요청페이지 정보 Setting
for(int i=0; i < allMenuList.size(); i++) {
Map<String, String> mUrlInfo = allMenuList.get(i);
if (Checks.isNotEmpty(mUrlInfo.get("menuView")) && mUrlInfo.get("menuView").toString().contains(reqPath)) {
String[] arrPath = mUrlInfo.get("menuPath").toString().split("_");
if(arrPath.length > 1){
mUrlInfo.put("secondMenu", arrPath[1]);
}
mv.addObject("urlInfoMap", mUrlInfo);
break;
}
}
}
public Map<String, Integer> getChkUrlAddLength() {
return chkUrlAddLength;
}

@ -1,132 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">
<bean class="org.springframework.web.servlet.view.BeanNameViewResolver" p:order="0" />
<bean id="jsonView" class="org.springframework.web.servlet.view.json.MappingJackson2JsonView">
<property name="contentType" value="application/json;charset=UTF-8"/>
</bean>
<!-- 화면처리용 JSP 파일명의 prefix, suffix 처리에 대한 mvc 설정 -->
<bean class="org.springframework.web.servlet.view.UrlBasedViewResolver" p:order="0"
p:viewClass="org.springframework.web.servlet.view.tiles3.TilesView"
/>
<bean class="org.springframework.web.servlet.view.UrlBasedViewResolver" p:order="3"
p:viewClass="org.springframework.web.servlet.view.JstlView"
p:prefix="/WEB-INF/jsp/" p:suffix=".jsp"/>
<bean id="tilesConfigurer" class="org.springframework.web.servlet.view.tiles3.TilesConfigurer">
<property name="definitions">
<list>
<value>classpath:/template/tiles/layout-tiles-defs.xml</value>
</list>
</property>
<property name="preparerFactoryClass" value="org.springframework.web.servlet.view.tiles3.SpringBeanPreparerFactory"/>
</bean>
<bean id="contentNegotiatingViewResolver" class="org.springframework.web.servlet.view.ContentNegotiatingViewResolver">
<property name="order" value="0" />
<property name="contentNegotiationManager">
<bean class="org.springframework.web.accept.ContentNegotiationManager">
<constructor-arg>
<bean class="org.springframework.web.accept.PathExtensionContentNegotiationStrategy">
<constructor-arg>
<map>
<entry key="html" value="text/html"/>
<entry key="pdf" value="application/pdf"/>
<entry key="xsl" value="application/vnd.ms-excel"/>
<entry key="xml" value="application/xml"/>
<entry key="json" value="application/json"/>
<entry key="atom" value="application/xml"/>
</map>
</constructor-arg>
</bean>
</constructor-arg>
</bean>
</property>
</bean>
<bean id="mappingJackson2JsonView"
class="org.springframework.web.servlet.view.json.MappingJackson2JsonView"
p:extractValueFromSingleKeyModel="true"/>
<!-- Ajax 호출(JSON Response Tyep)에 대한 예외 처리 담당. -->
<bean class="cokr.xit.fims.framework.support.exception.resolver.AjaxExceptionViewResolver">
<property name="order" value="1"/>
<property name="view">
<bean class="org.springframework.web.servlet.view.json.MappingJackson2JsonView"/>
</property>
</bean>
<!-- 일반 view 호출에 대한 예외 처리 담당. -->
<bean class="cokr.xit.fims.framework.support.exception.resolver.NormalExceptionViewResolver" p:order="2"/>
<!--
<bean id="marshallingView" class="org.springframework.web.servlet.view.xml.MarshallingView">
<constructor-arg>
<bean class="org.springframework.oxm.jaxb.Jaxb2Marshaller">
<property name="classesToBeBound">
<list>
<value>framework.xit.cmmn.resolver.vo.Result</value>
<value>framework.xit.cmmn.resolver.vo.DataVO</value>
</list>
</property>
<property name="marshallerProperties">
<map>
<entry>
<key>
<util:constant static-field="javax.xml.bind.Marshaller.JAXB_FORMATTED_OUTPUT" />
</key>
<value type="java.lang.Boolean">false</value>
</entry>
</map>
</property>
</bean>
</constructor-arg>
</bean>
-->
<!--
<bean class="org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver"
p:contentType="text/html; charset=UTF-8"
p:cache="false"
p:prefix=""
p:suffix=".ftl"
p:order="3"
p:exposeSpringMacroHelpers="true"/>
<bean class="org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer">
<property name="templateLoaderPath" value="/WEB-INF/ftl/" />
<property name="defaultEncoding" value="UTF-8"/>
<property name="freemarkerSettings">
<map>
<entry key="template_update_delay" value="60000"/>
<entry key="auto_flush" value="false"/>
<entry key="default_encoding" value="UTF-8"/>
<entry key="whitespace_stripping" value="true"/>
</map>
</property>
<property name="freemarkerVariables">
<map>
<entry key="xml_escape" value-ref="fmXmlEscape"/>
</map>
</property>
</bean>
<bean id="fmXmlEscape" class="freemarker.template.utility.XmlEscape"/>
-->
</beans>

@ -16,37 +16,35 @@
</context:component-scan>
<!--
<mvc:interceptors>
<mvc:interceptor>
<mvc:mapping path="/"/>
<mvc:mapping path="/**/*.do"/>
<mvc:exclude-mapping path="/resources/**"/>
<bean class="cokr.xit.foundation.web.AccessInitializer" />
</mvc:interceptor>
<mvc:interceptor>
<mvc:mapping path="/"/>
<mvc:mapping path="/**/*.do"/>
<mvc:exclude-mapping path="/resources/**"/>
<bean class="cokr.xit.base.menu.web.MenuInjector" />
</mvc:interceptor>
</mvc:interceptors>
<mvc:interceptors>
<mvc:interceptor>
<mvc:mapping path="/"/>
<mvc:mapping path="/**/*.do"/>
<mvc:exclude-mapping path="/resources/**"/>
<bean class="cokr.xit.foundation.web.AccessInitializer" />
</mvc:interceptor>
<mvc:interceptor>
<mvc:mapping path="/"/>
<mvc:mapping path="/**/*.do"/>
<mvc:exclude-mapping path="/resources/**"/>
<bean class="cokr.xit.base.menu.web.MenuInjector" />
</mvc:interceptor>
</mvc:interceptors>
<bean class="org.springframework.web.servlet.view.BeanNameViewResolver" p:order="0"/>
<bean class="org.springframework.web.servlet.view.BeanNameViewResolver" p:order="0"/>
<bean class="org.springframework.web.servlet.view.UrlBasedViewResolver" p:order="1"
p:viewClass="org.springframework.web.servlet.view.JstlView"
p:prefix="/WEB-INF/jsp/" p:suffix=".jsp"
p:exposeContextBeansAsAttributes="true"/>
<bean id="jsonView" class="org.springframework.web.servlet.view.json.MappingJackson2JsonView">
<property name="contentType" value="application/json;charset=UTF-8"/>
<property name="objectMapper" ref="objectMapper"/>
</bean>
<bean id="downloadView" class="cokr.xit.base.file.web.DownloadView" />
-->
p:viewClass="org.springframework.web.servlet.view.JstlView"
p:prefix="/WEB-INF/jsp/" p:suffix=".jsp"
p:exposeContextBeansAsAttributes="true"/>
<bean id="jsonView" class="org.springframework.web.servlet.view.json.MappingJackson2JsonView">
<property name="contentType" value="application/json;charset=UTF-8"/>
<property name="objectMapper" ref="objectMapper"/>
</bean>
<bean id="downloadView" class="cokr.xit.base.file.web.DownloadView" />
<bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
<property name="maxUploadSize" value="1073741824" />
<property name="maxInMemorySize" value="1073741824" />
</bean>
<bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
<property name="maxUploadSize" value="1073741824" /> <!-- 단위: byte, 1GB=1,073,741,824 byte -->
<property name="maxInMemorySize" value="1073741824" /> <!-- 단위: byte, 1GB=1,073,741,824 byte -->
</bean>
</beans>

@ -1,213 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE tiles-definitions PUBLIC
"-//Apache Software Foundation//DTD Tiles Configuration 3.0//EN"
"http://tiles.apache.org/dtds/tiles-config_3_0.dtd">
<tiles-definitions>
<definition name="main" template="/WEB-INF/jsp/template/fims/tiles/biz/layout-tiles-biz-root.jsp">
<put-attribute name="content" value="" />
</definition>
<definition name="dashboard" template="/WEB-INF/jsp/template/fims/tiles/biz/layout-tiles-dashboard.jsp">
<put-attribute name="content" value="" />
</definition>
<!-- ******************************* -->
<!-- tiles "biz" View Page 설정 -->
<!-- ******************************* -->
<definition name="biz" template="/WEB-INF/jsp/template/fims/tiles/biz/layout-tiles-biz-inner.jsp">
<put-attribute name="content" value="" />
</definition>
<definition name="popup" template="/WEB-INF/jsp/template/fims/tiles/popup/layout-tiles-popup.jsp">
<put-attribute name="content" value="" />
</definition>
<definition name="biz-pop" template="/WEB-INF/jsp/template/fims/tiles/biz/layout-tiles-biz-pop.jsp">
<put-attribute name="content" value="" />
</definition>
<definition name="none" template="/WEB-INF/jsp/template/fims/tiles/none/layout-tiles-none.jsp">
<put-attribute name="content" value="" />
</definition>
<!-- ******************************* -->
<!-- tiles "none" View Page 설정 -->
<!-- ******************************* -->
<definition name="*.none" extends="none">
<put-attribute name="content" value="/WEB-INF/jsp/{1}.jsp" />
</definition>
<definition name="*/*.none" extends="none">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}.jsp" />
</definition>
<definition name="*/*/*.none" extends="none">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}.jsp" />
</definition>
<definition name="*/*/*/*.none" extends="none">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}.jsp" />
</definition>
<definition name="*/*/*/*/*.none" extends="none">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}.jsp" />
</definition>
<definition name="*/*/*/*/*/*.none" extends="none">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}/{6}.jsp" />
</definition>
<definition name="*/*/*/*/*/*/*.none" extends="none">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}/{6}/{7}.jsp" />
</definition>
<!-- ******************************* -->
<!-- tiles "popup" View Page 설정 -->
<!-- ******************************* -->
<definition name="*.popup" extends="popup">
<put-attribute name="content" value="/WEB-INF/jsp/{1}.jsp" />
</definition>
<definition name="*/*.popup" extends="popup">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}.jsp" />
</definition>
<definition name="*/*/*.popup" extends="popup">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}.jsp" />
</definition>
<definition name="*/*/*/*.popup" extends="popup">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}.jsp" />
</definition>
<definition name="*/*/*/*/*.popup" extends="popup">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}.jsp" />
</definition>
<definition name="*/*/*/*/*/*.popup" extends="popup">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}/{6}.jsp" />
</definition>
<definition name="*/*/*/*/*/*/*.popup" extends="popup">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}/{6}/{7}.jsp" />
</definition>
<definition name="*.fims-pop" extends="biz-pop">
<put-attribute name="content" value="/WEB-INF/jsp/{1}.jsp" />
</definition>
<definition name="*/*.fims-pop" extends="biz-pop">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}.jsp" />
</definition>
<definition name="*/*/*.fims-pop" extends="biz-pop">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}.jsp" />
</definition>
<definition name="*/*/*/*.fims-pop" extends="biz-pop">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}.jsp" />
</definition>
<definition name="*/*/*/*/*.fims-pop" extends="biz-pop">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}.jsp" />
</definition>
<definition name="*/*/*/*/*/*.fims-pop" extends="biz-pop">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}/{6}.jsp" />
</definition>
<definition name="*/*/*/*/*/*/*.fims-pop" extends="biz-pop">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}/{6}/{7}.jsp" />
</definition>
<!-- ******************************* -->
<!-- tiles "main" View Page 설정 -->
<!-- ******************************* -->
<definition name="*.main" extends="main">
<put-attribute name="content" value="/WEB-INF/jsp/{1}.jsp" />
</definition>
<definition name="*/*.main" extends="main">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}.jsp" />
</definition>
<definition name="*/*/*.main" extends="main">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}.jsp" />
</definition>
<definition name="*/*/*/*.main" extends="main">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}.jsp" />
</definition>
<definition name="*/*/*/*/*.main" extends="main">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}.jsp" />
</definition>
<definition name="*/*/*/*/*/*.main" extends="main">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}/{6}.jsp" />
</definition>
<definition name="*/*/*/*/*/*/*.main" extends="main">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}/{6}/{7}.jsp" />
</definition>
<definition name="*.dashboard" extends="dashboard">
<put-attribute name="content" value="/WEB-INF/jsp/{1}.jsp" />
</definition>
<definition name="*/*.dashboard" extends="dashboard">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}.jsp" />
</definition>
<definition name="*/*/*.dashboard" extends="dashboard">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}.jsp" />
</definition>
<definition name="*/*/*/*.dashboard" extends="dashboard">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}.jsp" />
</definition>
<definition name="*/*/*/*/*.dashboard" extends="dashboard">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}.jsp" />
</definition>
<definition name="*/*/*/*/*/*.dashboard" extends="dashboard">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}/{6}.jsp" />
</definition>
<definition name="*/*/*/*/*/*/*.dashboard" extends="dashboard">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}/{6}/{7}.jsp" />
</definition>
<!-- ******************************* -->
<!-- tiles DEFAULT(기본) View Page 설정 -->
<!-- ******************************* -->
<definition name="*.biz" extends="biz">
<put-attribute name="content" value="/WEB-INF/jsp/{1}.jsp" />
</definition>
<definition name="*/*.biz" extends="biz">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}.jsp" />
</definition>
<definition name="*/*/*.biz" extends="biz">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}.jsp" />
</definition>
<definition name="*/*/*/*.biz" extends="biz">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}.jsp" />
</definition>
<definition name="*/*/*/*/*.biz" extends="biz">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}.jsp" />
</definition>
<definition name="*/*/*/*/*/*.biz" extends="biz">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}/{6}.jsp" />
</definition>
<definition name="*/*/*/*/*/*/*.biz" extends="biz">
<put-attribute name="content" value="/WEB-INF/jsp/{1}/{2}/{3}/{4}/{5}/{6}/{7}.jsp" />
</definition>
<definition name="framework/*/*" extends="biz">
<put-attribute name="content" value="/WEB-INF/jsp/fims/framework/{1}/{2}.jsp" />
</definition>
<definition name="framework/*/*/*" extends="biz">
<put-attribute name="content" value="/WEB-INF/jsp/fims/framework/{1}/{2}/{3}.jsp" />
</definition>
<definition name="framework/*/*/*/*" extends="biz">
<put-attribute name="content" value="/WEB-INF/jsp/fims/framework/{1}/{2}/{3}/{4}.jsp" />
</definition>
<definition name="framework/*/*/*/*/*" extends="biz">
<put-attribute name="content" value="/WEB-INF/jsp/fims/framework/{1}/{2}/{3}/{4}/{5}.jsp" />
</definition>
<definition name="framework/*/*/*/*/*/*" extends="biz">
<put-attribute name="content" value="/WEB-INF/jsp/fims/framework/{1}/{2}/{3}/{4}/{5}/{6}.jsp" />
</definition>
<definition name="fims/*/*" extends="biz">
<put-attribute name="content" value="/WEB-INF/jsp/fims/{1}/{2}.jsp" />
</definition>
<definition name="fims/*/*/*" extends="biz">
<put-attribute name="content" value="/WEB-INF/jsp/fims/{1}/{2}/{3}.jsp" />
</definition>
<definition name="fims/*/*/*/*" extends="biz">
<put-attribute name="content" value="/WEB-INF/jsp/fims/{1}/{2}/{3}/{4}.jsp" />
</definition>
<definition name="fims/*/*/*/*/*" extends="biz">
<put-attribute name="content" value="/WEB-INF/jsp/fims/{1}/{2}/{3}/{4}/{5}.jsp" />
</definition>
<definition name="fims/*/*/*/*/*/*" extends="biz">
<put-attribute name="content" value="/WEB-INF/jsp/fims/{1}/{2}/{3}/{4}/{5}/{6}.jsp" />
</definition>
</tiles-definitions>

@ -138,9 +138,9 @@ var XitConectionLogMng_list = {
======================== */
pagePopup: function(flag, url, params){
var popUrl = url;
popUrl += "?tilesDef=popup";
if(!(params == undefined || params == null)){
popUrl += "&";
popUrl += "?";
popUrl += params;
}
var popTitle = '';

@ -178,9 +178,9 @@ var XitConectionStatsMng_list = {
======================== */
pagePopup: function(flag, url, params){
var popUrl = url;
popUrl += "?tilesDef=popup";
if(!(params == undefined || params == null)){
popUrl += "&";
popUrl += "?";
popUrl += params;
}
var popTitle = '';
@ -202,8 +202,8 @@ var XitConectionStatsMng_list = {
fnClickStatsBtn: function(props){
var rowData = props.grid.getRow(props.rowKey);
var params = "";
params += "logId=" + rowData.logId + "&";
params += "tilesDef=popup";
params += "logId=" + rowData.logId;
XitConectionStatsMng_list.pagePopup('detail', "<c:url value='/framework/biz/mng/admin/ConectionStatsMng_view.do'/>", params);
}
}

@ -62,7 +62,7 @@
//팝업 옵션
var openParam = "width="+w+"px, height="+h+"px, resizable=no, scrollbars=yes, location=no, left="+left+"px, top="+top+"px";
window.open($$Control.urls.getInfo + "?logId="+logId+"&tilesDef=popup","p_loginLogInqire", openParam);
window.open($$Control.urls.getInfo + "?logId="+logId,"p_loginLogInqire", openParam);
}

@ -177,9 +177,9 @@ var XitAuthGrpMng_list = {
======================== */
pagePopup: function(flag, url, params){
var popUrl = url;
popUrl += "?tilesDef=popup";
if(!(params == undefined || params == null)){
popUrl += "&";
popUrl += "?";
popUrl += params;
}
var popTitle = '';

@ -146,9 +146,9 @@ var XitAuthHierarchyMng_list = {
======================== */
pagePopup: function(flag, url, params){
var popUrl = url;
popUrl += "?tilesDef=popup";
if(!(params == undefined || params == null)){
popUrl += "&";
popUrl += "?";
popUrl += params;
}
var popTitle = '';

@ -184,9 +184,9 @@ var XitAuthRegMng_list = {
======================== */
pagePopup: function(flag, url, params){
var popUrl = url;
popUrl += "?tilesDef=popup";
if(!(params == undefined || params == null)){
popUrl += "&";
popUrl += "?";
popUrl += params;
}
var popTitle = '';

@ -169,9 +169,9 @@ var XitAuthRuleMng_list = {
======================== */
pagePopup: function(flag, url, params){
var popUrl = url;
popUrl += "?tilesDef=popup";
if(!(params == undefined || params == null)){
popUrl += "&";
popUrl += "?";
popUrl += params;
}
var popTitle = '';

@ -189,9 +189,9 @@ var XitAuthUsrMng_list = {
======================== */
pagePopup: function(flag, url, params){
var popUrl = url;
popUrl += "?tilesDef=popup";
if(!(params == undefined || params == null)){
popUrl += "&";
popUrl += "?";
popUrl += params;
}
var popTitle = '';

@ -71,15 +71,11 @@
<span class="flr">
<a href="#" class="btn btn-blue" id="btnSave">저장</a>
<a href="#" class="btn btn-red" id="btnRemove">삭제</a>
<!-- 페이지 Open 방식에 따라 버튼 표출 분기(일반페이지 or 팝업페이지) -->
<c:choose>
<c:when test="${param.tilesDef == 'popup'}">
<a href="#" onclick="" class="btn btn-lightgray" id="btnClose">닫기</a>
</c:when>
<c:otherwise>
<a href="#" class="btn btn-lightgray" id="btnList">목록</a>
</c:otherwise>
</c:choose>
</span>
</div>
@ -151,13 +147,8 @@
return
}
/**
* 페이지 Open 방식에 따라 처리 분기(일반페이지 or 팝업페이지)
* -사유: 기존 구현된 일반페이지 -> 팝업페이지로 변경함에 따라 사용자 니즈에 맞춰 사용할 수 있도록 페이지 Open 방식에 따라 처리 분기
* -처리방안: 팝업 페이지 열람 시 ajax 처리
* submit 열람 시 submit 처리
*/
if('${param.tilesDef}'=='popup'){
/* ajax 처리 Pattern */
if (confirm('수정하시겠습니까?')) {
var param = $(document.loginPolicy).serialize();
@ -177,26 +168,14 @@
});
}
}else{
/* submit 처리 Pattern */
if (confirm('수정하시겠습니까?')) {
document.loginPolicy.action = "<c:url value='/framework/biz/mng/auth/loginPolicyMng_update_proc.do'/>";
document.loginPolicy.submit();
}
}
},
/* ========================
* 데이터 삭제
======================== */
removeData : function(){
/**
* 페이지 Open 방식에 따라 처리 분기(일반페이지 or 팝업페이지)
* -사유: 기존 구현된 일반페이지 -> 팝업페이지로 변경함에 따라 사용자 니즈에 맞춰 사용할 수 있도록 페이지 Open 방식에 따라 처리 분기
* -처리방안: 팝업 페이지 열람 시 ajax 처리
* submit 열람 시 submit 처리
*/
if('${param.tilesDef}'=='popup'){
/* ajax 처리 Pattern */
if (confirm('삭제하시겠습니까?')) {
var param = $(document.loginPolicy).serialize();
@ -216,13 +195,7 @@
});
}
}else{
/* submit 처리 Pattern */
if (confirm('삭제하시겠습니까?')) {
document.loginPolicy.action = "<c:url value='/framework/biz/mng/auth/loginPolicyMng_delete_proc.do'/>";
document.loginPolicy.submit();
}
}
},
/* ========================
* 유효성 검증
@ -299,10 +272,10 @@
if(!(params == undefined || params == null)){
popUrl += "?";
popUrl += params;
popUrl += '&tilesDef=popup';
}else{
popUrl += "?";
popUrl += '&tilesDef=popup';
}
var popTitle = '';
switch (flag) {

@ -63,15 +63,11 @@
<div class="container-window-btn1">
<span class="flr">
<a href="#" class="btn btn-blue" id="btnSave">저장</a>
<!-- 페이지 Open 방식에 따라 버튼 표출 분기(일반페이지 or 팝업페이지) -->
<c:choose>
<c:when test="${param.tilesDef == 'popup'}">
<a href="#" onclick="" class="btn btn-lightgray" id="btnClose">닫기</a>
</c:when>
<c:otherwise>
<a href="#" class="btn btn-lightgray" id="btnList">목록</a>
</c:otherwise>
</c:choose>
</span>
</div>
@ -134,13 +130,7 @@
return
}
/**
* 페이지 Open 방식에 따라 처리 분기(일반페이지 or 팝업페이지)
* -사유: 기존 구현된 일반페이지 -> 팝업페이지로 변경함에 따라 사용자 니즈에 맞춰 사용할 수 있도록 페이지 Open 방식에 따라 처리 분기
* -처리방안: 팝업 페이지 열람 시 ajax 처리
* submit 열람 시 submit 처리
*/
if('${param.tilesDef}'=='popup'){
/* ajax 처리 Pattern */
if (confirm('수정하시겠습니까?')) {
var param = $(document.loginPolicy).serialize();
@ -160,13 +150,7 @@
});
}
}else{
/* submit 처리 Pattern */
if (confirm('수정하시겠습니까?')) {
document.loginPolicy.action = "<c:url value='/framework/biz/mng/auth/loginPolicyMng_insert_proc.do'/>";
document.loginPolicy.submit();
}
}
},
/* ========================
@ -253,10 +237,10 @@
if(!(params == undefined || params == null)){
popUrl += "?";
popUrl += params;
popUrl += '&tilesDef=popup';
}else{
popUrl += "?";
popUrl += '&tilesDef=popup';
}
var popTitle = '';
switch (flag) {

@ -134,9 +134,9 @@ var XitLoginPolicyMng_list = {
======================== */
pagePopup: function(flag, url, params){
var popUrl = url;
popUrl += "?tilesDef=popup";
if(!(params == undefined || params == null)){
popUrl += "&";
popUrl += "?";
popUrl += params;
}
var popTitle = '';

@ -187,15 +187,11 @@
<a href="#" class="btn btn-blue" id="btnSave">저장</a>
</c:if>
</c:if>
<!-- 페이지 Open 방식에 따라 버튼 표출 분기(일반페이지 or 팝업페이지) -->
<c:choose>
<c:when test="${param.tilesDef == 'popup'}">
<a href="#" onclick="" class="btn btn-lightgray" id="btnClose">닫기</a>
</c:when>
<c:otherwise>
<a href="#" class="btn btn-lightgray" id="btnList">목록</a>
</c:otherwise>
</c:choose>
</span>
</div>
@ -289,13 +285,7 @@ var XitBasicBbsMng_edit = {
return;
}
/**
* 페이지 Open 방식에 따라 처리 분기(일반페이지 or 팝업페이지)
* -사유: 기존 구현된 일반페이지 -> 팝업페이지로 변경함에 따라 사용자 니즈에 맞춰 사용할 수 있도록 페이지 Open 방식에 따라 처리 분기
* -처리방안: 팝업 페이지 열람 시 ajax 처리
* submit 열람 시 submit 처리
*/
if('${param.tilesDef}'=='popup'){
/* ajax 처리 Pattern */
if (confirm('수정하시겠습니까?')) {
var param = new FormData($('#board')[0]);
@ -315,13 +305,7 @@ var XitBasicBbsMng_edit = {
});
}
}else{
/* submit 처리 Pattern */
if (confirm('수정하시겠습니까?')) {
document.board.action = "<c:url value='/_mng_/bbs/basic${prefix}/BasicBbsMng_update_proc.do'/>";
document.board.submit();
}
}
},
/* ========================

@ -139,15 +139,11 @@
<c:if test="${bdMstr.authFlag == 'Y'}">
<a href="#" class="btn btn-blue" id="btnSave">저장</a>
</c:if>
<!-- 페이지 Open 방식에 따라 버튼 표출 분기(일반페이지 or 팝업페이지) -->
<c:choose>
<c:when test="${param.tilesDef == 'popup'}">
<a href="#" onclick="" class="btn btn-lightgray" id="btnClose">닫기</a>
</c:when>
<c:otherwise>
<a href="#" class="btn btn-lightgray" id="btnList">목록</a>
</c:otherwise>
</c:choose>
</span>
</div>
@ -235,13 +231,7 @@
}
</c:if>
/**
* 페이지 Open 방식에 따라 처리 분기(일반페이지 or 팝업페이지)
* -사유: 기존 구현된 일반페이지 -> 팝업페이지로 변경함에 따라 사용자 니즈에 맞춰 사용할 수 있도록 페이지 Open 방식에 따라 처리 분기
* -처리방안: 팝업 페이지 열람 시 ajax 처리
* submit 열람 시 submit 처리
*/
if('${param.tilesDef}'=='popup'){
/* ajax 처리 Pattern */
if (confirm('등록하시겠습니까?')) {
var param = new FormData($('#board')[0]);
@ -260,13 +250,7 @@
}
});
}
}else{
/* submit 처리 Pattern */
if (confirm('등록하시겠습니까?')) {
document.board.action = "<c:url value='/_mng_/bbs/basic${prefix}/BasicBbsMng_insert_proc.do'/>";
document.board.submit();
}
}
},
/* ========================

@ -140,15 +140,11 @@
<c:if test="${bdMstr.authFlag == 'Y'}">
<a href="#" class="btn btn-blue" id="btnSave">저장</a>
</c:if>
<!-- 페이지 Open 방식에 따라 버튼 표출 분기(일반페이지 or 팝업페이지) -->
<c:choose>
<c:when test="${param.tilesDef == 'popup'}">
<a href="#" onclick="" class="btn btn-lightgray" id="btnClose">닫기</a>
</c:when>
<c:otherwise>
<a href="#" class="btn btn-lightgray" id="btnList">목록</a>
</c:otherwise>
</c:choose>
</span>
</div>
@ -230,13 +226,7 @@
return;
}
/**
* 페이지 Open 방식에 따라 처리 분기(일반페이지 or 팝업페이지)
* -사유: 기존 구현된 일반페이지 -> 팝업페이지로 변경함에 따라 사용자 니즈에 맞춰 사용할 수 있도록 페이지 Open 방식에 따라 처리 분기
* -처리방안: 팝업 페이지 열람 시 ajax 처리
* submit 열람 시 submit 처리
*/
if('${param.tilesDef}'=='popup'){
/* ajax 처리 Pattern */
if (confirm('등록하시겠습니까?')) {
var param = new FormData($('#board')[0]);
@ -255,13 +245,7 @@
}
});
}
}else{
/* submit 처리 Pattern */
if (confirm('등록하시겠습니까?')) {
document.board.action = "<c:url value='/_mng_/bbs/basic${prefix}/BasicBbsMng_insertReply_proc.do'/>";
document.board.submit();
}
}
},
/* ========================

@ -296,9 +296,9 @@ var XitBasicBbsMng_list = {
======================== */
pagePopup: function(flag, url, params){
var popUrl = url;
popUrl += "?tilesDef=popup";
if(!(params == undefined || params == null)){
popUrl += "&";
popUrl += "?";
popUrl += params;
}

@ -152,15 +152,11 @@
<c:if test="${result.replyPosblYn == 'Y'}">
<a href="#" onclick="" class="btn btn-blue" id="reply_btn">답글작성</a>
</c:if>
<!-- 페이지 Open 방식에 따라 버튼 표출 분기(일반페이지 or 팝업페이지) -->
<c:choose>
<c:when test="${param.tilesDef == 'popup'}">
<a href="#" onclick="" class="btn btn-lightgray" id="btnClose">닫기</a>
</c:when>
<c:otherwise>
<a href="#" class="btn btn-lightgray" id="btnList">목록</a>
</c:otherwise>
</c:choose>
</span>
</div>
@ -264,13 +260,7 @@
return;
}
/**
* 페이지 Open 방식에 따라 처리 분기(일반페이지 or 팝업페이지)
* -사유: 기존 구현된 일반페이지 -> 팝업페이지로 변경함에 따라 사용자 니즈에 맞춰 사용할 수 있도록 페이지 Open 방식에 따라 처리 분기
* -처리방안: 팝업 페이지 열람 시 ajax 처리
* submit 열람 시 submit 처리
*/
if('${param.tilesDef}'=='popup'){
/* ajax 처리 Pattern */
if (confirm('삭제하시겠습니까?')) {
var param = $(document.frm).serialize();
@ -289,13 +279,7 @@
}
});
}
}else{
/* submit 처리 Pattern */
if (confirm('삭제하시겠습니까?')) {
document.frm.action = "<c:url value='/_mng_/bbs/basic${prefix}/BasicBbsMng_delete_proc.do'/>";
document.frm.submit();
}
}
},
/* ========================

@ -146,9 +146,9 @@ var XitBbsCreateMng_list = {
======================== */
pagePopup: function(flag, url, params){
var popUrl = url;
popUrl += "?tilesDef=popup";
if(!(params == undefined || params == null)){
popUrl += "&";
popUrl += "?";
popUrl += params;
}
var popTitle = '';

@ -131,7 +131,7 @@ var XitBbsTmplateMng_edit = {
}
if (target != "") {
window.open(target + "?searchWrd="+url+"&tilesDef=popup", "preview", "width=" + width + "px, height=500px;");
window.open(target + "?searchWrd="+url, "preview", "width=" + width + "px, height=500px;");
}
}
});

@ -148,7 +148,7 @@ var XitBbsTmplateMng_input = {
}
if (target != "") {
window.open(target + "?searchWrd="+url+"&tilesDef=popup", "preview", "width=" + width + "px, height=500px;");
window.open(target + "?searchWrd="+url, "preview", "width=" + width + "px, height=500px;");
}
}
});

@ -139,9 +139,8 @@ var XitBbsTmplateMng_list = {
======================== */
pagePopup: function(flag, url, params){
var popUrl = url;
popUrl += "?tilesDef=popup";
if(!(params == undefined || params == null)){
popUrl += "&";
popUrl += "?";
popUrl += params;
}
var popTitle = '';

@ -76,7 +76,7 @@
<tr>
<th width="20%" height="23" class="" nowrap >제공 URL</th>
<td width="80%" nowrap colspan="3">
<a href="<c:url value="${bdUseVO.provdUrl}?tilesDef=base" />" target="_blank">
<a href="<c:url value="${bdUseVO.provdUrl}" />" target="_blank">
<c:url value="${bdUseVO.provdUrl}" />
</a>
</td>

@ -52,7 +52,7 @@
}
if (target != "") {
window.open(target + "?searchWrd="+url+"&tilesDef=popup", "preview", "width=" + width + "px, height=500px;");
window.open(target + "?searchWrd="+url, "preview", "width=" + width + "px, height=500px;");
}
}

@ -290,9 +290,9 @@
======================== */
pagePopup: function(flag, url, params){
var popUrl = url;
popUrl += "?tilesDef=popup";
if(!(params == undefined || params == null)){
popUrl += "&";
popUrl += "?";
popUrl += params;
}

@ -71,7 +71,7 @@
<tr>
<th width="20%" height="23" class="" nowrap >제공 URL</th>
<td width="80%" nowrap colspan="3">
<a href="<c:url value="${boardUseInf.provdUrl}?tilesDef=base" />" target="_blank">
<a href="<c:url value="${boardUseInf.provdUrl}" />" target="_blank">
<c:url value="${boardUseInf.provdUrl}" />
</a>
</td>

@ -136,9 +136,9 @@ var XitClCodeMng_list = {
======================== */
,pagePopup: function(flag, url, params){
var popUrl = url;
popUrl += "?tilesDef=popup";
if(!(params == undefined || params == null)){
popUrl += "&";
popUrl += "?";
popUrl += params;
}
var popTitle = '';

@ -132,9 +132,9 @@ var XitCmmnCodeMng_list = {
======================== */
,pagePopup: function(flag, url, params){
var popUrl = url;
popUrl += "?tilesDef=popup";
if(!(params == undefined || params == null)){
popUrl += "&";
popUrl += "?";
popUrl += params;
}
var popTitle = '';

@ -137,9 +137,9 @@ var XitDetailCodeMng_list = {
======================== */
,pagePopup: function(flag, url, params){
var popUrl = url;
popUrl += "?tilesDef=popup";
if(!(params == undefined || params == null)){
popUrl += "&";
popUrl += "?";
popUrl += params;
}
var popTitle = '';

@ -45,12 +45,10 @@ function selectMenuCreatManageList() {
******************************************************** */
function selectMenuCreat(vAuthorCode) {
document.menuCreatManageForm.authorCode.value = vAuthorCode;
document.menuCreatManageForm.tilesDef.value = 'popup'; //tiles 설정
document.menuCreatManageForm.action = "<c:url value='/framework/biz/mng/menu/MenuCreateMng_input.do'/>";
window.open("#", "_menuCreat", "scrollbars = yes, top=100px, left=100px, height=700px, width=850px");
document.menuCreatManageForm.target = "_menuCreat";
document.menuCreatManageForm.submit();
document.menuCreatManageForm.tilesDef.value = ''; //tiles 초기화
document.menuCreatManageForm.submit();
document.menuCreatManageForm.target = ""; //target 초기화
}
@ -69,7 +67,6 @@ function selectMenuCreat(vAuthorCode) {
<form name="menuCreatManageForm" action ="" method="post">
<input type="hidden" id="tilesDef" name="tilesDef"/>
<input type="submit" id="invisible" class="invisible"/>

@ -162,9 +162,9 @@ var XitUserAbsntMng_list = {
======================== */
pagePopup: function(flag, url, params){
var popUrl = url;
popUrl += "?tilesDef=popup";
if(!(params == undefined || params == null)){
popUrl += "&";
popUrl += "?";
popUrl += params;
}
var popTitle = '';

@ -215,9 +215,9 @@ var XitUserEtcOptMng_list = {
======================== */
pagePopup: function(flag, url, params){
var popUrl = url;
popUrl += "?tilesDef=popup";
if(!(params == undefined || params == null)){
popUrl += "&";
popUrl += "?";
popUrl += params;
}
var popTitle = '';

@ -11,7 +11,7 @@
<input name="checkedIdForDel" type="hidden" />
<!-- 사용자본인정보 수정 prameter 전달용 input -->
<input name="isViewPage" type="hidden" value="${param.isViewPage }" />
<input name="tilesDef" type="hidden" value="${param.tilesDef }" />
<!-- 검색조건 유지 -->
<input type="hidden" name="searchCondition" value="<c:out value='${userSearchVO.searchCondition}'/>"/>
<input type="hidden" name="searchKeyword" value="<c:out value='${userSearchVO.searchKeyword}'/>"/>

@ -55,7 +55,7 @@ function fnUpdate(){
<input name="checkedIdForDel" type="hidden" />
<!-- 사용자본인정보 수정 prameter 전달용 input -->
<input name="isViewPage" type="hidden" value="${param.isViewPage }" />
<input name="tilesDef" type="hidden" value="${param.tilesDef }" />
<!-- 검색조건 유지 -->
<input type="hidden" name="searchCondition" value="<c:out value='${userSearchVO.searchCondition}'/>"/>
<input type="hidden" name="searchKeyword" value="<c:out value='${userSearchVO.searchKeyword}'/>"/>

@ -129,7 +129,6 @@ table {
<input name="checkedIdForDel" type="hidden" />
<!-- 사용자본인정보 수정 prameter 전달용 input -->
<input name="isViewPage" type="hidden" value="Y" />
<input name="tilesDef" type="hidden" value="popup" />
<!-- 검색조건 유지 -->
<input type="hidden" name="searchCondition" value="<c:out value='${userSearchVO.searchCondition}'/>"/>
<input type="hidden" name="searchKeyword" value="<c:out value='${userSearchVO.searchKeyword}'/>"/>

@ -1,5 +1,5 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="t" uri="http://tiles.apache.org/tags-tiles" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>

@ -1,5 +1,5 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="t" uri="http://tiles.apache.org/tags-tiles" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>

@ -1,5 +1,5 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="t" uri="http://tiles.apache.org/tags-tiles" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>

@ -1,5 +1,5 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="t" uri="http://tiles.apache.org/tags-tiles" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>

@ -1,5 +1,5 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="t" uri="http://tiles.apache.org/tags-tiles" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>

@ -1,5 +1,5 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="t" uri="http://tiles.apache.org/tags-tiles" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html>
@ -24,29 +24,6 @@
<%@include file="/WEB-INF/jsp/include/fims/tail-biz.jsp" %>
<script type="text/javascript">
// TODO : 개발 완료후 이부분 제거 필요
$(document).ready(function(){
/**
* 2020.09.14 박민규
* 타일즈 타입 hidden태그 생성
* -등록/수정/상세 페이지를 "tilesDef" 파라미터를 전달하여 popup으로 open 할 경우
* -팝업창 tiles 유지를 위해 hidden 태그를 생성 하여 "tilesDef" 파라미터를 전달 한다.
*/
$('form').each(function(){
//hidden 태그 생성
var name = 'tilesDef';
var value = '${param.tilesDef}';
value = value==null||value==undefined?'':value;
if($(this).find('input[name="'+name+'"]').length==0){
$(this).append('<input type="hidden" name="'+name+'" value="'+value+'"/> '); //타일즈 hideen 태그생성 & value 설정
}else{
$(this).find('input[name="'+name+'"]').val(value); //타일즈 value 설정
}
});
})
</script>
</head>
<body>
<!-- wrap -->

@ -1,4 +0,0 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="t" uri="http://tiles.apache.org/tags-tiles" %>
<t:insertAttribute name="content"/>

@ -11,8 +11,6 @@ function fn_goMyView(uniqId, userSe) {
let popOption = '';
let params = {
selectedId: uniqId
//TODO : 개발완료후 이부분 제거
,tilesDef: 'popup'
};
popUrl = "/framework/biz/mng/usr/modifyUserPopup.do";

Loading…
Cancel
Save