no message

main
이범준 1 year ago
parent 02531632e9
commit f76cf70bba

@ -1,20 +1,9 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> <%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<jsp:include page="/WEB-INF/jsp/include/head.jsp" /> <!-- inner page css -->
<link rel="stylesheet" href="<c:url value="/resources/3rd-party/sneat/libs/jstree/jstree.css"/>" /--%> <link rel="stylesheet" href="<c:url value="/resources/3rd-party/sneat/libs/jstree/jstree.css"/>" />
<body> <!-- inner page html -->
<!-- Layout wrapper --> <div class="content-wrapper">
<div class="layout-wrapper layout-content-navbar">
<div class="layout-container">
<jsp:include page="/WEB-INF/jsp/include/userMenus.jsp" />
<!-- Layout container -->
<!-- Layout page -->
<div class="layout-page">
<jsp:include page="/WEB-INF/jsp/include/top.jsp" />
<!-- Content wrapper -->
<div class="content-wrapper">
<!-- Content --> <!-- Content -->
<div class="container-xxl flex-grow-1 container-p-y"> <div class="container-xxl flex-grow-1 container-p-y">
@ -62,24 +51,12 @@
<jsp:include page="/WEB-INF/jsp/include/bottom.jsp" /> <jsp:include page="/WEB-INF/jsp/include/bottom.jsp" />
<div class="content-backdrop fade"></div> <div class="content-backdrop fade"></div>
</div> </div>
<!-- Content wrapper --> <!-- inner page js -->
</div>
<!-- / Layout page -->
</div>
</div>
<!-- / Layout wrapper -->
<jsp:include page="/WEB-INF/jsp/include/tail.jsp" />
<!-- script after tail1 -->
<script src="<c:url value="/resources/3rd-party/sneat/libs/jstree/jstree.js"/>"></script> <script src="<c:url value="/resources/3rd-party/sneat/libs/jstree/jstree.js"/>"></script>
<script src="<c:url value="/resources/3rd-party/jstree/jstree-support.js"/>"></script> <script src="<c:url value="/resources/3rd-party/jstree/jstree-support.js"/>"></script>
<script src="<c:url value="/resources/js/base/menu.js"/>?${ver}"></script> <script src="<c:url value="/resources/js/base/menu.js"/>?${ver}"></script>
<!-- script after tail1 --> <script>
<script >
${functions}
${userMenus}
//script after tail2
var menuBranches = treeSupport({ var menuBranches = treeSupport({
selector:"#menuTree", selector:"#menuTree",
trace:wctx.trace, trace:wctx.trace,
@ -177,9 +154,4 @@ $(function(){
menuControl.setData(${menus}); menuControl.setData(${menus});
menuBranches.open(); menuBranches.open();
}); });
//script after tail2
</script> </script>
<!-- script after tail -->
</body>
</html>

@ -105,13 +105,7 @@ function openMenu(obj, params) {
url:menuUrl, url:menuUrl,
data:{}, data:{},
success:resp => { success:resp => {
$("#div"+dataKey).html(resp);
var cw = resp.split("<!-- Content wrapper -->")[1];
var pb = cw.split("<!-- Page Body -->")[1];
var scriptAterTail1 = resp.split("<!-- script after tail1 -->")[1];
var scriptAterTail2 = resp.split("//script after tail2")[1];
$("#div"+dataKey).html(pb + " " + scriptAterTail1 + " " + "<script>"+ scriptAterTail2 + "</script>");
} }
}); });

Loading…
Cancel
Save