category_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. <HTML><jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  18. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  19. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_office.js"></script>
  20. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  21. <DIV align=center>
  22. <form name="form1" method="post" action="">
  23.    
  24.     <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  25.     <TBODY> 
  26.     <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  27.     <TR> 
  28.         <TD colSpan=3 align="center"><br>
  29.         <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  30.             <tr> 
  31.               <td bgcolor="#fafafa">
  32.                 <table class=title cellspacing=1 cellpadding=2 border=0 width="600">
  33.                   <tr> 
  34.                      <td colspan="2" bgcolor="#666666"> 
  35.                       <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>
  36.                      </td>
  37.                   </tr>
  38.                   <tr align="center">
  39.                     <td width="30%"><font class="strong">分类编号</font></td>
  40.                     <td width="70%"><font class="strong">分类名称</font></td>
  41.                  </tr>
  42. <sys:CategoryList categoryId="<%=categoryId%>" withChildren="yes">
  43. <vnex:items>
  44.             <tr bgColor="<vnex:itemsColor/>"> 
  45.               <td width="30%" align=center><a href=<%=request.getParameter("pageName")%>?fromSelf=1&categoryId=<sys:CategoryAttribute attribute = "id"/>&categoryName=<sys:CategoryAttribute attribute = "name"/>> 
  46.               <sys:CategoryAttribute attribute = "id"/></a><br>
  47.               </td>
  48.               <td width="70%" align=left><sys:CategoryAttribute attribute="levelStr"/>+<sys:CategoryAttribute attribute = "name"/><br>
  49.               </td>
  50.             </tr>            
  51. </vnex:items>     
  52. </sys:CategoryList> 
  53.             <tr bgcolor="#fafafa">
  54.               <td colspan="2" align="center">
  55.             <input type="button" name="Button322" value="返回" class="file" onclick="history.back()">
  56.               </td>
  57.             </tr>
  58.           </table>
  59.           </td>
  60.           </tr>
  61.           </table>
  62.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  63.        </TD>
  64.      </TR>
  65.      <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  66.     </TBODY> 
  67.   </TABLE>
  68.     <BR>
  69.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  70. </form>
  71. </DIV>
  72. </BODY>
  73. </HTML>