⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 conference_day_list.jsp

📁 非常完整的Java开发的网络办公系统
💻 JSP
字号:
<%
/**
 *  $ RCSfile: Conference_Day_List.jsp,v $
 *  $ Revision: 1.0 $
 *  $ Date: 2001/07/018 20:18:46 ,created by Shiyong Jian $
 *  $ /mainctrl/conference/dayList $
 *
 *  This is the conference day list page.
 *  @author Copyright (c) May. 2001, by VisionNex  Technologies Inc., All Right Reversed.
 */
%>

<%@ page errorPage="/vnex/ErrorPage.jsp" %>
<%@ page import="com.vnex.intranet.conference.value.ConferenceQueryBean" %>
<%@ page import="com.vnex.intranet.conference.value.ConferenceValueBean" %>
<%@ taglib uri="/vnex_conference.tld" prefix="conference" %>
<%@ taglib uri="/vnex.tld" prefix="vnex" %>
<jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />

<%
  if ( request.getAttribute( "haveBooking") != null && request.getAttribute( "haveBooking").equals("true") )
  {
     System.out.println("the conference have been booking"); 
     //ConferenceValueBean  conf = (ConferenceValueBean)request.getAttribute("conferenceValueBean");
     
%>
     <jsp:forward page="/vnex/intranet/personal/conference/Conference_Create.jsp" />  
<%
  }
%>
<%
  ConferenceQueryBean queryBean = new ConferenceQueryBean();
  queryBean.setCreatorId( BusinessName.getEmpId() );
  queryBean.setDateScope( 5 );
  int statusId = -1;
  if ( request.getParameter( "statusId" ) != null )
   {
       statusId = Integer.parseInt( request.getParameter( "statusId" ) );
       if ( statusId != 5 )
           queryBean.setStatusId( statusId );
   }
%>

<HTML>
<jsp:include page="/vnex/page/FORM_HEAD.jsp" />
<script language="JavaScript1.2" src="/vnex/menu/dockmenu_person.js"></script>
<script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
<script language="JavaScript" src="/vnex/util/validate.js"></script>
<script Language="JavaScript" src="/vnex/intranet/calendar/Popup.js"></script>
<script Language="JavaScript">
function submitForm(act)
{
    if ( act == 'add' )
    {
        document.forms[0].action='/mainctrl/conference/createPage';
        document.forms[0].submit();
    }  
    if( act == 'seach')
    {
        if ( checkIt(document.forms[0] ) )
        {
            var scope = document.forms[0].dateScope.value;
            var status  = document.forms[0].statusId.value;
            document.forms[0].action='/mainctrl/conference/seachList?timeScope='+scope+'&statusId='+status;
            document.forms[0].submit(); 
        }
    }
}      
function checkIt(form)
{   
   if( !isEmpty(form.fromDate.value) )
   {            
      if(!isVNEXDate(form.fromDate.value))
      {
        alert("查询开始日期非法");
        return false;
      }   
   } 
   if( !isEmpty(form.toDate.value) )
   {            
      if(!isVNEXDate(form.toDate.value))
      {
        alert("查询结束日期非法");
        return false;
      }      
   }     
   if( !isEmpty(form.toDate.value) && !isEmpty(form.fromDate.value) )
   {                        
      if(form.fromDate.value > form.toDate.value)
      {
        alert("查询结束日期必须在查询开始日期之后");
        return false;
      }
   }         
   
   return true;
}
</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">
    <tbody>
    <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 width="600" border="0" cellspacing="0" cellpadding="2">
                  <tr bgcolor="#666666"> 
                    <td colspan="2" valign="top">
                    <font class="strongw">
                    <jsp:include page="Conference_Navibar_Head.jsp" />
                    当天会议
                    </font>
                    </td>
                  </tr>
                </table>
                <jsp:include page="conference_search_head.jsp" />
                <table border="0" width="600" cellspacing="1" cellpadding="2" class=title>
                  <tr> 
                    <td colspan="6" height="30" bgcolor="#fafafa">&nbsp; 
                      <input type="button" name="addConference" style="width:60px" class=text onClick=" submitForm('add')" value="新增会议">&nbsp;&nbsp;
                     
                    </td>
                  </tr>
                  <tr> 
                    <td width="24%" align="center"><font class="strong">会议主题</font></td>
                   
                    <td width="21%" align="center"><font class="strong">发起人</font></td>
                    <td width="22%" align="center"><font class="strong">会议状态</font></td>
                    <td width="14%" align="center"><font class="strong">会议室</font></td>
                    
                  </tr>
                  <conference:conferenceList qryBean="<%=queryBean%>" >
                    <vnex:items paging="true">  
                  <tr bgcolor="<vnex:itemsColor />"> 
                    <td width="24%" align="center"><a href="/mainctrl/conference/browseDetails?conferenceId=<conference:conferenceAttribute attribute='conference_id' />"><conference:conferenceAttribute attribute='conference_subject' /></a> 
                    </td>
                  
                    <td width="21%" align="center"><conference:conferenceAttribute attribute='conference_creatorName' /></td>
                                                                                               
                    <td width="22%" align="center"><conference:conferenceAttribute attribute='conference_statusName' /></td>
                    <td width="14%" align="center"><img src="/vnex/MacOS/conference_room.gif" width="16" height="16"><conference:conferenceAttribute attribute='conference_boardroomName' /></td>
                  </tr>
                    </vnex:items> 
                     <tr>
                      <td colspan="6" align="left" bgcolor="#e0e0e0">
                   <% String link ="/mainctrl/conference/dayList?statusId="+statusId; %>
                  &nbsp;&nbsp;<vnex:pagingTag pageName="<%=link%>" />
                  </td>
                  </tr>
                  </conference:conferenceList>
                 </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>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -