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

电子政务应用

开发平台:

Java

  1. <%@ page import="com.vnex.intranet.directory.proxy.*" %>
  2. <%@ page import="com.vnex.intranet.directory.value.*" %>
  3. <%@ page import="com.vnex.intranet.pub.BusinessSession" %>
  4. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  5. <%@ taglib uri="/vnex_directory.tld" prefix="directory" %>
  6. <%@ taglib uri="/vnex.tld" prefix="vnex" %>
  7. <jsp:useBean id="dPermissionProxy" class="com.vnex.intranet.directory.proxy.DirectoryPermissionProxyBean" scope="application"/>
  8. <jsp:useBean id="dProxy" class="com.vnex.intranet.directory.proxy.DirectoryProxyBean" scope="application" />
  9. <jsp:useBean id="BusinessName"  class="com.vnex.intranet.pub.BusinessSession"  scope="session"/>
  10. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  11. <HTML>
  12. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  13. <STYLE>
  14. #ssm2 A {
  15. FONT-SIZE: 12px; COLOR: black; FONT-FAMILY: verdana; TEXT-DECORATION: none
  16. }
  17. #ssm2 A:hover {
  18. COLOR: red
  19. }
  20. </STYLE>
  21. <%
  22. int id = Integer.parseInt(request.getParameter("id"));
  23. int empId = BusinessName.getEmpId();
  24. if ( !dPermissionProxy.haveDirectoryReadRight(id,empId) ){
  25.     response.sendRedirect("/mainctrl/directory/directory_deny?id="+id+"&type=read");
  26.     return;
  27. }
  28.     
  29. int i=0;
  30. %>
  31. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftMargin="0" marginwidth="0" marginheight="0">
  32. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_leader.js"></script>
  33. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  34. <DIV align=center>
  35. <form name="form1" method="post" action="">
  36.   <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  37.     <TBODY>
  38.     <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" /> 
  39.     <TR>
  40.         <TD colSpan=3 align="center" class="iframestyle" valign="top"> <!--菜单开始 -->
  41.             <br>
  42.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  43.             <tr valign="top" bgcolor="#fafafa">
  44.               <td height="27" >
  45.                   <table width="600" border="0" cellpadding="2" cellspacing="0">
  46.                     <tr>
  47.                     <td bgcolor="#666666"><font class=strongw>
  48. <directory:DirectoryNaviBar directoryId='<%=id%>'/>
  49. </font></td>
  50.                     </tr>
  51.                   </table>
  52.                 <br>
  53.                 <table width="600" border="0" cellpadding="2" cellspacing="0">
  54. <directory:FileList superDirectoryId='<%=id%>' empId='<%=empId%>'>
  55. <vnex:items>
  56. <% i++; %>
  57.                 <tr >
  58.                     <td width="6">&nbsp;</td>
  59.                     <td width="586"><img value="isLeaf" src="/vnex/MacOs/write.gif">
  60. <a href="/mainctrl/directory/file_content?id=<directory:DirectoryAttribute attribute="id"/>" target="_blank">
  61. <directory:DirectoryAttribute attribute="name"/></a>
  62.                     <font color="#555555">&nbsp;&nbsp; (<i><directory:DirectoryAttribute attribute="createDate"/><i>)</font></td>
  63.                   </tr>
  64. </vnex:items>
  65. </directory:FileList>
  66.                 </table>
  67. <% if (i==0){%>&nbsp;&nbsp;没有任何文档!<br><%}%>
  68.             <br>
  69.                 </td>
  70.             </tr>
  71.           </table>
  72.           <br>
  73.           <br>
  74.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  75.        </TD>
  76.      </TR>
  77.      <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  78.     </TBODY> 
  79.   </TABLE>
  80.     <BR>
  81.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  82. </form>
  83. </DIV>
  84. </BODY>
  85. </HTML>
  86. </BODY>
  87. </HTML>