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

电子政务应用

开发平台:

Java

  1. <%@ page errorPage="/vnex/ErrorPage.jsp" %>
  2. <%@ page import="com.vnex.intranet.util.*" %>
  3. <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
  4. <jsp:useBean id="bvb" scope="request" class="com.vnex.intranet.communication.bulletin.value.BulletinValueBean"/>
  5. <jsp:useBean id="bulletinProxy" scope="application" class="com.vnex.intranet.communication.bulletin.proxy.BulletinProxyBean" />
  6. <%
  7.      bvb = bulletinProxy.getBulletinDetail(Integer.parseInt(request.getParameter("bulletinId")));
  8.      String title = FieldUtil.wrapLine(FieldUtil.filterScriptTag(bvb.getBulletinTitle()), 50);
  9.      bvb.setBulletinTitle(title);
  10.      if(bvb.getBulletinBody() != null)
  11.      {
  12.         String body = FieldUtil.keepStringFormat(FieldUtil.filterScriptTag(bvb.getBulletinBody()));
  13.         bvb.setBulletinBody(body);
  14.      }
  15.      else
  16.         bvb.setBulletinBody("(无内容)");   
  17.      String endDate = "无截止日期";
  18.      if(bvb.getEndDate() != null)
  19.         endDate = TimeStamp.formatCalendar(TimeStamp.YMD, bvb.getEndDate());
  20. %>
  21. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  22. <HTML>
  23. <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
  24. <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
  25. <script language="JavaScript1.2" src="/vnex/menu/dockmenu_communicate.js"></script>
  26. <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
  27. <DIV align=center>
  28. <form name="form1" method="post">
  29.   <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
  30.     <TBODY> 
  31.       <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
  32.       <tr> 
  33.         <td colspan=3 align="center" class="iframestyle" valign="top"><br>
  34.           <table width="600" border="1" cellspacing="1" bordercolor="#666666">
  35.             <tr valign="top"> 
  36.               <td bgcolor="#fafafa" > 
  37.                 <table width="600" border="0" cellspacing="0" cellpadding="0">
  38.                   <tr valign="top" bgcolor="#cccccc"> 
  39.                     <td> 
  40.                       <table width="600" border="0" cellpadding="2" cellspacing="0">
  41.                   <tr bgcolor="#666666"> 
  42.                       <td colspan="2"><font class="strongw"><font class="strongw"><a href="/mainctrl/home/index"><font color="#ffffff">首页</font></a>&gt;&gt;<a href="/mainctrl/communication/main"><font color="#ffffff">通信</font></a>&gt;&gt;<a href="/mainctrl/bulletin/home?home"><font color="#ffffff">公告板</font></a>&gt;&gt;公告板详细信息</font>
  43.                   </tr>
  44.                 </table>
  45.                 <table class=title border="0" cellpadding="2" cellspacing="1" width="600">
  46.                      <tr>
  47.                         <td width="100" bgcolor="#e0e0e0">&nbsp;
  48.                            <strong>标题:</strong>
  49.                         </td>
  50.                         <td width="500" bgcolor="#e0e0e0"><%=FieldUtil.wrapLine(bvb.getBulletinTitle(),40)%></td>
  51.                      </tr>
  52.                      <tr> 
  53.                         <td width="100" bgcolor="#fafafa">&nbsp;
  54.                           <strong>内容:</strong>
  55.                         </td>
  56.                         <td width="500" bgcolor="#fafafa"><%=FieldUtil.wrapLine(bvb.getBulletinBody(),40)%>
  57.                         </td>
  58.                      </tr>
  59.                      <tr> 
  60.                          <td width="100" bgcolor="#e0e0e0">&nbsp;
  61.                            <strong>截止日期:</strong></td>
  62.                          <td width="500" bgcolor="#e0e0e0"><%=endDate%>
  63.                          </td>
  64.                      </tr>
  65.                      <tr> 
  66.                          <td width="100" bgcolor="#fafafa">&nbsp;
  67.                             <strong>发 布 人:</strong></td>
  68.                          <td width="500" bgcolor="#fafafa"><%=bvb.getCreator()%></td>
  69.                      </tr>
  70.                      <tr> 
  71.                           <td width="100" bgcolor="#e0e0e0">&nbsp;
  72.                             <strong>发布日期:</strong></td>
  73.                           <td width="500" bgcolor="#e0e0e0"><%=TimeStamp.toString(TimeStamp.convertCalendarToTimestamp(bvb.getCreateDate()))%></td>
  74.                      </tr>
  75.               <tr bgcolor="#fafafa">
  76.                   <td colspan="2" align="center" height="30">
  77.                     <input type="button" name="Button3" class="text" value="返回" onclick="history.back()">
  78.                  </td>
  79.              </tr>
  80.                   </table>
  81.                  </td>
  82.                 </tr>
  83.                </table>
  84.               </td>
  85.              </tr>
  86.           </table>  
  87.           <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
  88.        </TD>
  89.      </TR>
  90.      <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
  91.     </TBODY> 
  92.   </TABLE>
  93.     <BR>
  94.   <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
  95. </form>
  96. </DIV>
  97. </BODY>
  98. </HTML>