diff --git a/WebContent/jsp/common/acl/sitemap/sitemapMan.jsp b/WebContent/jsp/common/acl/sitemap/sitemapMan.jsp new file mode 100644 index 0000000..62f174c --- /dev/null +++ b/WebContent/jsp/common/acl/sitemap/sitemapMan.jsp @@ -0,0 +1,120 @@ +<%@ page language="java" contentType="text/html; charset=utf-8"%> +<%@ page import="java.util.List"%> +<%@ page import="com.eactive.eai.rms.common.acl.sitemap.ui.SitemapNode"%> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> +<%! + private void printNodeLabel(javax.servlet.jsp.JspWriter out, SitemapNode node) throws java.io.IOException { + String url = node.getMenuUrl(); + boolean hasLink = url != null && !url.trim().isEmpty() && !"NAN".equalsIgnoreCase(url.trim()); + if (hasLink) { + out.print("" + + escapeHtml(node.getMenuName()) + ""); + } else { + out.print("" + escapeHtml(node.getMenuName()) + ""); + } + } + + private void printSitemapNode(javax.servlet.jsp.JspWriter out, SitemapNode node) throws java.io.IOException { + out.print("