category_leaves_list.jsp
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:3k
源码类别:

电子政务应用

开发平台:

Java

  1. <%@ taglib uri="/vnex.tld" prefix="vnex" %>
  2. <%@ taglib uri="/vnex_system.tld" prefix="sys" %>
  3. <%@ page import="com.vnex.intranet.system.value.CategoryValueBean" %>
  4. <jsp:useBean id="cl" scope="request" class="com.vnex.intranet.system.loader.CategoryLoader" />
  5. <%
  6.     CategoryValueBean bean = cl.getByName("固定资产");
  7.     if(bean == null)
  8.     {
  9.        out.println("<script language=JavaScript>");
  10.        out.println("alert('请先设置好固定资产分类结构')");
  11.        out.println("history.back()");
  12.        out.println("</script>");
  13.     }   
  14.     String categoryId = bean.getId()+"";
  15. String pageName = "/mainctrl/categoryLeavesList?pageName=" + request.getParameter("pageName");
  16. %>
  17. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  18. <HTML><jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  19. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  20. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_office.js"></script>
  21. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  22. <DIV align=center>
  23. <form name="form1" method="post" action="">
  24.    
  25.     <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  26.     <TBODY> 
  27.     <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  28.     <TR> 
  29.         <TD colSpan=3 align="center"><br>
  30.         <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  31.             <tr> 
  32.               <td bgcolor="#fafafa">
  33.                 <table class=title cellspacing=1 cellpadding=2 border=0 width="600">
  34.                   <tr> 
  35.                      <td colspan="2" bgcolor="#666666"> 
  36.                       <div align="left"><font class="strongw"><a href="/mainctrl/home/index"><font color="#FFFFFF">首页</font></a>&gt;&gt;<a href="/mainctrl/office/main"><font color="#FFFFFF">办公室管理</font></a>&gt;&gt;<a href="/mainctrl/equipmentSearchResult"><font color="#FFFFFF">固定资产管理</font></a>&gt;&gt;固定资产分类</div>
  37.                      </td>
  38.                   </tr>
  39.                   <tr align="center">
  40.                     <td width="30%"><font class="strong">分类编号</font></td>
  41.                     <td width="70%"><font class="strong">分类名称</font></td>
  42.                  </tr>
  43. <sys:CategoryList categoryId="<%=categoryId%>" withChildren="yes">
  44. <vnex:items>
  45.             <tr bgColor="<vnex:itemsColor/>"> 
  46.               <td width="30%" align="center"><a href=<%=request.getParameter("pageName")%>?fromSelf=1&categoryId=<sys:CategoryAttribute attribute = "id"/>&categoryName=<sys:CategoryAttribute attribute = "name"/>> 
  47.               <sys:CategoryAttribute attribute = "idWhenIsLeaf"/></a><br>
  48.               </td>
  49.               <td width="70%" align=left><sys:CategoryAttribute attribute="levelStr"/>+<sys:CategoryAttribute attribute = "name"/><br>
  50.               </td>
  51.             </tr>            
  52. </vnex:items>     
  53. </sys:CategoryList> 
  54.             <tr bgcolor="#fafafa">
  55.               <td colspan="2" align="center">
  56.             <input type="button" name="Button322" value="返回" class="file" onclick="history.back()">
  57.               </td>
  58.             </tr>
  59.           </table>
  60.           </td>
  61.           </tr>
  62.           </table>          
  63.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  64.        </TD>
  65.      </TR>
  66.      <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  67.     </TBODY> 
  68.   </TABLE>
  69.     <BR>
  70.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  71. </form>
  72. </DIV>
  73. </BODY>
  74. </HTML>