menuhistory.bsh

来自「Sequoia ERP是一个真正的企业级开源ERP解决方案。它提供的模块包括:电」· BSH 代码 · 共 29 行

BSH
29
字号
// Set the menuHistory object with the info relating to this page// This counts on the convention of the page name being the same as the request id base name// This is put in a separate file because the menuHistory should not be updated when a popup// window is opened, as with a lookup.// So this action is not included on the "lookup" template.HashMap menuHistory	= session.getAttribute("menuHistory");if(menuHistory == null){	menuHistory	= new HashMap();	session.setAttribute("menuHistory", menuHistory);}String pageName		= page.getPageName();servletPath = request.getServletPath();queryString = request.getQueryString();if (queryString != null) queryString = "?" + queryString;else queryString = "";String thisPath		= request.getRequestURI();String menuPath		= page.getProperty("headerItem");String pageName		= page.getPageName();String pagePath		= page.getPath();//org.ofbiz.base.util.Debug.logInfo(" menuPath:" + menuPath, "");//org.ofbiz.base.util.Debug.logInfo(" path:" + thisPath + "   :   " + queryString, "");//org.ofbiz.base.util.Debug.logInfo(" pageName:" + pageName, "");//org.ofbiz.base.util.Debug.logInfo(" pagePath:" + pagePath, "");//menuHistory.put(menuPath, thisPath + queryString);menuHistory.put(menuPath, "/content/control/" + pageName + queryString);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?