<html>

<%@page info="DayView" language="java" pageEncoding="utf-8" contentType="text/html; charset=UTF-8" %>
<%@taglib uri="/WEB-INF/jato.tld" prefix="jato"%>
<%@taglib uri="/WEB-INF/uwc.tld" prefix="uwc"%>

<%@include file="../../uwc/js/resourceBundleUtils.js"%>

<jato:useViewBean className="com.sun.uwc.calclient.DayViewViewBean">
<head>
<title>
<%= getLocalizedLabel(session, "uwc-calclient-dayview-Title", "Calendar Day View - Communications Express") %></title>
</title>
<script> self.focus() </script>
</head>
<script language="JavaScript" src="../uwc/js/scripts.js">
</script>
<script src="../uwc/js/browserVersion.js" type="text/javascript"> </script>
<script type="text/javascript">
//<!--
  if (is_ie5up) // IE5
  {
   document.write("<LINK href=../uwc/css/css_ie5win.css type=text/css rel=stylesheet>") 
  }
  else if (is_gecko) // Netscape 6/7 or Mozilla
  {
   document.write("<LINK href=../uwc/css/css_ns6up.css type=text/css rel=stylesheet>") 
  }
  else  // All others
  {
   document.write("<LINK href=../uwc/css/css_ns6up.css type=text/css rel=stylesheet>") 
  }
//-->
</script>

<script>
<!--
var search_click = 0;

var CANCEL = "Cancle";
var THIS_INSTANCE_ONLY = "ThisInstanceOnly";
var THIS_AND_FUTURE_INSTANCES = "ThisAndFutureInstances";

function clearSearch() {
	if (search_click < 1) {
	  document.form_main.search_field.value = "";
	  search_click = 1;
	  }
	}

//-->
</script>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" class="Page">

<jato:form name="DayViewViewForm" method="post" defaultCommandChild="/Dayviewsubmit">

<jato:hidden name="action" defaultValue=""/>
<jato:hidden name="calid" defaultValue=""/>
<jato:hidden name="eventuid" defaultValue=""/>
<jato:hidden name="eventrid" defaultValue=""/>
<jato:hidden name="modifier" defaultValue=""/>
<jato:hidden name="isrecurring" defaultValue=""/>

<!-- Pagelet for branding -->
   <jato:containerView name="MasterHead">
      <%@include file="/uwc/common/MasterHeadPrintable.jsp"%>
   </jato:containerView> 
   
<!-- JSP include for application toolbar -->
  <jato:containerView name="CalApplBar">
   <%@include file="/uwc/calclient/CalApplBarPrintable.jsp" %> 
  </jato:containerView> 
   

<!-- Error information pagelet -->
   <jato:containerView name="errorPlugin">
      <%@include file="/uwc/common/error.jsp"%>
   </jato:containerView>

<div class="Tab2"> </div>  <div class="Toolbar"> </div>

<div class="SearchDiv"> </div>

<div class="JumpToDiv"> </div>

<table width="100%" border="0" cellspacing="0" cellpadding="0" summary="Table that contains the Main Calendar Grid, Mini-calendar, and Task List">
  <tr>
    <td align="center" valign="top" class="sidebarCopy" width="1%"><img src="../uwc/images/spacer.gif" width="10" height="1" alt=""></td>
    <td valign="top" width="98%">
      <table width="100%" cellspacing="0" cellpadding="0" class="CalGrid">
        <tr> 
          <td colspan="<jato:getDisplayFieldValue name='maxcolspan'/>" class="GridHdr"><span class="BlockHeaderText"><jato:getDisplayFieldValue name="startDate"/></span></td>
        </tr>
        <tr> 
          <td scope="row" nowrap class="PrntClr"><div align="right"><span class="Lbl2"><%= getLocalizedLabel(session, "i18nModel", "uwc-calclient-event-viewEvent-allDay", "All Day") %></span></div></td>
       <jato:content name="emptyevent">
                <td colspan="<jato:getDisplayFieldValue name='maxcolspan'/>">&nbsp;</td>
           </jato:content>
        <jato:tiledView name="alldayeventtiledview" type="com.sun.uwc.calclient.AllDayViewEventTileView" fireChildDisplayEvents="true">
          	<uwc:DayViewAllDayEvent name="alldayevent" modelName="AllDayViewEvents" printable="true" />
        </jato:tiledView>
        </tr>
        <jato:tiledView name="eventTimeSlotTileView" type="com.sun.uwc.calclient.DayViewTimeSlotTiledView">
	    	<tr>
	    	<td scope="row" nowrap class="PrntClr" width="10%">
                   <div align="right">
                        <span class="Lbl2">
                            <jato:getDisplayFieldValue name="timeslot"/>
                        </span>
                        <span class="Lbl5">
                           <jato:getDisplayFieldValue name="ampm"/>
                        </span>
	           </div>
                 </td>
	    	<jato:content name="emptyevent">
	    		<td class="PrntClr" colspan="<jato:getDisplayFieldValue name='maxcolspan'/>">&nbsp;</td>
	    	</jato:content>
	    	<jato:tiledView name="eventdayviewTileView" type="com.sun.uwc.calclient.DayViewEventTileView" fireChildDisplayEvents="true">
		    	<uwc:DayViewNonAllDayEvent name="nonallevent" modelName="DayViewEvents" printable="true"/>
			</jato:tiledView>
			 <jato:content name="emptytimeslots">
			  <td colspan="<jato:getDisplayFieldValue name='remainingeventcolspan'/>" class="PrntClr">&nbsp;</td>
			 </jato:content>
			    </tr>
	    </jato:tiledView>
    </table>
    </td>
    <td width="1%"><img src="..uwc/images/spacer.gif" width="10" height="1" alt=""></td>
  </tr>
  </table>
<div class="Tab1Gutter" style="visibility: hidden;">
  <jato:button styleClass="Btn1" name="Dayviewsubmit" elementId="Dayviewsubmit" defaultValue=" "/>
</div>
</jato:form>
</body>
</jato:useViewBean> 

