Directory_Detail.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:5k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="com.vnex.intranet.commoninfo.directory.value.*"%>
- <%@ page import="com.vnex.intranet.commoninfo.directory.proxy.*"%>
- <%@ page import="com.vnex.intranet.util.*"%>
- <%@ page import="com.vnex.intranet.system.loader.ConfigParaLoader"%>
- <%@ page import="java.util.*" %>
- <%@ page import="java.sql.*" %>
- <%@ taglib uri="/vnex.tld" prefix="vnex" %>
- <%@ taglib uri="/vnex_organization.tld" prefix="org" %>
- <jsp:useBean id="directoryProxy" class="com.vnex.intranet.commoninfo.directory.proxy.DirectoryProxyBean" scope="application" />
- <jsp:useBean id="directoryBean" class="com.vnex.intranet.commoninfo.directory.value.DirectoryValueBean" scope="page" />
- <%
- int directoryId = 0;
- int start = 1;
- if(request.getParameter("directoryId")!=null && !request.getParameter("directoryId").equals(""))
- directoryId = Integer.parseInt(request.getParameter("directoryId"));
- directoryBean = directoryProxy.getDirectoryDetail(directoryId);
- if(request.getParameter("start")!=null && !request.getParameter("start").equals(""))
- start = Integer.parseInt(request.getParameter("start"));
- %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <HTML>
- <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
- <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
- <script language="javascript" src="/vnex/validate.js" ></script>
- <script language=JavaScript>
- function removeDirectory()
- {
- if(!confirm("是否确定删除?"))
- {
- return false;
- }
- myform.action= "/mainctrl/commoninfo/directory/removeDirectorySuccess";
- myform.submit();
- }
- function modifyDirectory()
- {
- myform.action= "/mainctrl/commoninfo/directory/modifyDirectory";
- myform.submit();
- }
- </script>
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu_office.js"></script>
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
- <DIV align=center>
- <form name="myform" method="post" action="">
- <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
- <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
- <TR>
- <TD colSpan=3 align="center"><br>
- <!--个人信息开始 -->
- <table width="600" border="1" cellspacing="1" bordercolor="#666666">
- <tr bgcolor="#fafafa">
- <td>
- <table class=title width="600" border="0" cellspacing="1" cellpadding="2">
- <tr>
- <td colspan="2" height="15" bgcolor="#666666"><font class="strongw"><a href="/mainctrl/home/index"><font color="#FFFFFF">首页</font></a>>><a href="/mainctrl/office/main"><font color="#FFFFFF">办公室管理</font></a>>><a href="/mainctrl/commoninfo/directory/getDirectoryList"><font color="#FFFFFF">办事指南</font></a>>>办事指南详细内容
- </font></td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="100"><font class="strong"> 名称:</font></td>
- <td width="487"> <%= FieldUtil.filterScriptTag(directoryBean.getDirectoryName())%> </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="100"><font class="strong"> 发布部门:</font><br>
- </td>
- <td width="487"> <%= directoryBean.getDirectoryDepartment()%> </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="100"> <font class="strong"> 附件: </font> </td>
- <td width="487">
- <%
- String str = directoryBean.getAttachmentUrl();
- int s = str.lastIndexOf(SubPathGenerater.getSeperator());
- String filename = str.substring(s+1);
- String UTFurl = str.substring(0,s+1)+StringUtil.encode(filename);
- out.println("<a href=""+UTFurl+"" target="_blank">");
- out.println(filename);
- out.println("</a>");
- %>
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="100"><font class="strong"> 发布时间:</font></td>
- <td width="487"><% if(directoryBean.getPublishDate()!=null) out.println(directoryBean.getPublishDate().toString().substring(0,16)); else out.println(directoryBean.getPublishDate());%></td>
- </tr>
- <tr align="center" bgcolor="#fafafa">
- <td colspan="2" height="30">
- <input type="button" name="Submit3" value="修改" class="file" onClick="modifyDirectory()">
- <input type="button" name="Submit32" value="删除" class="file" onClick="removeDirectory()">
- <input type="button" name="Submit33" value="返回" class="file" onClick="location='/mainctrl/commoninfo/directory/getDirectoryList?start=<%= start%>'">
- </td>
- </tr>
- <input type="hidden" name="directoryIds" value="<%= directoryId%>">
- </table>
- </td>
- </tr>
- <input type="hidden" name="start" value="<%= start%>">
- </table>
- <br>
- <br>
- <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
- </TD>
- </TR>
- <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
- </TABLE>
- <BR>
- <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
- </form></DIV>
- </BODY></HTML>