Boardroom_Browse_Details.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:7k
源码类别:
电子政务应用
开发平台:
Java
- <%
- /**
- * $ RCSfile: Boardroom_Browse_Details.jsp,v $
- * $ Revision: 1.0 $
- * $ Date: 2001/07/018 20:18:46 ,created by Shiyong Jian $
- * $ /mainctrl/boardroom/browseDetails $
- *
- * This is the boardroom browse details page.
- * @author Copyright (c) May. 2001, by VisionNex Technologies Inc., All Right Reversed.
- */
- %>
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="com.vnex.intranet.conference.util.*" %>
- <%@ page import="com.vnex.intranet.util.FieldUtil" %>
- <!--jsp:useBean id="businessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" /-->
- <jsp:useBean id="boardroomValueBean" scope="page" class="com.vnex.intranet.conference.value.BoardroomValueBean" />
- <jsp:useBean id="boardroomProxy" scope="application" class="com.vnex.intranet.conference.proxy.BoardroomProxyBean" />
- <%
- int brId = Integer.parseInt( request.getParameter("boardroomId") );
- boardroomValueBean = boardroomProxy.getBoardroomDetails( brId );
- session.setAttribute("boardroomValueBean" ,boardroomValueBean);
- %>
- <HTML>
- <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu_office.js"></script>
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
- <script Language="JavaScript">
- function submitForm(act)
- {
- if ( act == 'edit' )
- {
- document.forms[0].action='/mainctrl/boardroom/editPage?flag=fromBrowsePage';
- document.forms[0].submit();
- }
- if ( act == 'return' )
- {
- document.forms[0].action='/mainctrl/boardroom/managementList';
- document.forms[0].submit();
- }
- if( act == 'stop' )
- {
- document.forms[0].action='/mainctrl/boardroom/updateBoardroom?flag=stop&boardroomId=<%=brId%>';
- document.forms[0].submit();
- }
- if( act == 'resume' )
- {
- document.forms[0].action='/mainctrl/boardroom/updateBoardroom?flag=resume&boardroomId=<%=brId %>';
- document.forms[0].submit();
- }
- if( act == 'delete' )
- {
- if ( confirm("确定删除?") )
- {
- document.forms[0].action='/mainctrl/boardroom/deleteBoardroom?boardroomId=<%=brId %>';
- document.forms[0].submit();
- }
- }
- }
- </script>
- <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
- <DIV align=center>
- <form name="form1" method="post" action="" >
- <TABLE class=outter cellSpacing=0 cellPadding=0 border=0 width="600">
- <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 bgcolor="#666666">
- <td colspan="2" height="14"> <font class="strongw">
- <jsp:include page="Boardroom_Navibar_Head.jsp" />
- >>会议室详细信息
- </font> </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="100"><font class="strong"> 编号:</font> </td>
- <td width="487"><%=FieldUtil.filterScriptTag( boardroomValueBean.getCode() ) %> </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="100"><font class="strong"> 名称:</font> </td>
- <td width="487"><%=FieldUtil.filterScriptTag( boardroomValueBean.getName() )%></td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="100"><font class="strong"> 位置:</font> </td>
- <td width="487"><%=FieldUtil.filterScriptTag( boardroomValueBean.getPosition() ) %></td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="100"><font class="strong"> 座位数: </font> </td>
- <td width="487"><%=boardroomValueBean.getSeatAmount() %></td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="100"><font class="strong"> 管理人: </font></td>
- <td width="487"><%=boardroomValueBean.getAdministratorName() %></td>
- </tr>
- <tr bgcolor="#fafafa">
- <td><font class="strong"> 设备:</font></td>
- <td><%=FieldUtil.filterScriptTag( boardroomValueBean.getDevices() )%></td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="100" bgcolor="#e0e0e0"><font class="strong"> 描述:</font>
- </td>
- <td width="487"> <%=FieldUtil.filterScriptTag( boardroomValueBean.getDescription() ) %></td>
- </tr>
- <tr align="center" bgcolor="#fafafa">
- <td colspan="2" height="30">
- <%
- String theValue= "";
- String theScript="";
- if ( boardroomValueBean.getStatusId() == ConferenceConstant.PAUSED_BOARDROOM )
- {
- theValue ="恢复使用";
- theScript = "submitForm('resume')";
- }
- else
- {
- theValue="暂停使用";
- theScript="submitForm('stop')";
- }
- %>
- <% if ( boardroomValueBean.getStatusId() != ConferenceConstant.USING_BOARDROOM )
- {
- %>
- <input type="button" name="modifyButton" onClick=" submitForm('edit') " value="修改" class=text>
- <% if ( boardroomValueBean.getStatusId() != ConferenceConstant.BOOKED_BOARDROOM )
- {
- %>
- <input type="button" style="width:60px" name="stopToUse" value="<%=theValue %>" onClick="<%=theScript%>" class=file>
- <input type="button" name="deleteButton" value="删除" onClick=" submitForm('delete') " class=text>
- <%
- }
- }
- %>
- <input type="button" name="returnButton" value="返回" class="file" onClick=" submitForm('return')">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <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>