<%@ page contentType="text/html;charset=gb2312" %>
<%@ page import="java.util.*" %>
<%@ page import="com.gx.webpage.engine.menupage.designdbengine.factory.*" %>
<%@ page import="com.gx.webpage.engine.menupage.designdbengine.valueobject.*" %>
<%@ page import="com.gx.webpage.framework.valueobject.*" %>
<%@ page import="com.gx.webpage.engine.menupage.designdbengine.api.*" %>
<%@ page import="com.gx.webpage.framework.util.inoutformat.DataBean" %>
<%
      String menuStr = "";
    try{
      String nowMenuUuid = DataBean.getStr(request,"menuUuid");
      EbiMenuMgr delegate = MenuFactory.getInstance().getEbiMenuMgr();
      SysMenuModel tempSm = delegate.findSysMenu(nowMenuUuid,false,UserInfoCtxModel.getSysUicm());
      String str = tempSm.getParentCatPath();
      Collection col = new ArrayList();
      if(str!=null && str.trim().length()>0){
        int times = 0;
	    while (true) {
          if (str.indexOf(".") <= 0) {
            if(times>0){
              col.add(str);
            }
            break;
          }
          int eSite = str.indexOf(".");
          String tempStr = str.substring(0, eSite);
          if(times>0){
           col.add(tempStr);
          }
          str = str.substring(eSite + 1);
          if (str.indexOf(".") <= 0) {
            if(times>0){
              col.add(str);
            }
            break;
          }
	      times++;
        }
      }
      Iterator it = col.iterator();
      while(it.hasNext()){
        String tempStr = (String)it.next();
        SysMenuModel sm = delegate.findSysMenu(tempStr,false,UserInfoCtxModel.getSysUicm());
        menuStr = menuStr+sm.getName()+"¡ú";
      }
      menuStr = menuStr + tempSm.getName();
    }catch(Exception ex){
			//ex.printStackTrace();
    }
%>
<Html>
<Head>
    <meta http-equiv="Content-Language" content="zh-cn">
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="./../../../../webpage/common/css/common.css" rel="StyleSheet"  type="text/css" />
<script language="javascript" src="./../../../../webpage/common/engine/constant.js"></script>
<script language=javascript>
function setMenuPath(path)
{
    document.all("menuPath", 0).innerText = path;
}
</script>
</HEAD>
<BODY class=bodyNavigater SCROLL="no">
<span id=menuPath name=menuPath><%=menuStr%></span>
</BODY>
</HTML>
