<HTML>

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

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

<jato:useViewBean className="com.sun.uwc.calclient.ViewEventDataViewBean">

<HEAD>

<TITLE><jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-pageLabel" defaultValue="View Event"/></TITLE>

<SCRIPT language="JavaScript" src="../uwc/js/scripts.js"></SCRIPT>
<script src="../uwc/js/browserVersion.js" type="text/javascript"> </script>
<script src="../uwc/js/scripts.js" type="text/javascript"> </script>
<script src="../uwc/js/uwcUtils.js" type="text/javascript"> </script>
<script type="text/javascript">
<!--
if (is_ie5up) // IE5
{
  document.write("<LINK href=<%= getLocalizedLabel(session, "skinModel", "Style-Sheet-IE", "../uwc/css/css_ie5win.css") %> type=text/css rel=stylesheet>")
}
else if (is_gecko) // Netscape 6/7 or Mozilla
{
  document.write("<LINK href=<%= getLocalizedLabel(session, "skinModel", "Style-Sheet-NN", "../uwc/css/css_ns6up.css") %> type=text/css rel=stylesheet>")
}
else  // All others
{
  document.write("<LINK href=<%= getLocalizedLabel(session, "skinModel", "Style-Sheet-NN", "../uwc/css/css_ns6up.css") %> type=text/css rel=stylesheet>")
}
//-->
</script>

<script language=JavaScript type=text/javascript>
<!--

// RecurrenceModifier types
// Defualt modifier type for 'Delete' is CANCEL, 
// Defualt modifier type for 'Save' it is 'THIS_INSTANCE_ONLY'
//
var CANCEL = "Cancle";
var THIS_INSTANCE_ONLY = "ThisInstanceOnly";
var THIS_AND_FUTURE_INSTANCES = "ThisAndFutureInstances";

function isRecurrenceModifierExists() {
  if(undefined == document.ViewEventData.elements["ViewEventData.EventRID"]) {
    return false;
  }

  var ridObject = document.ViewEventData.elements["ViewEventData.EventRID"];
  if(isNull(ridObject)) {
    return false;
  }

  if(isNullOrBlank(ridObject.value)) {
    return false;
  }

  return true;
}

function handleDelete() {
  document.ViewEventData.submitType.value = 'Delete';
  if(isRecurrenceModifierExists()) 
  {
    MM_openBrWindow('<%= getContextURI(request) %>/uwc/js/DeleteEventConfirmRepeatSelection.jsp', 'RepeatingSelection', 'scrollbars=yes,resizable=yes,width=500,height=175');
  }
  else if(UWCConfirm("<%= getLocalizedLabel(session, "uwc-calclient-event-DeleteEventConfirmQuestion", "Are you sure you want to delete this event?") %>"))
  {
    setRepeatingSelectionModifier(THIS_INSTANCE_ONLY);
  }
  else 
  {
    setRepeatingSelectionModifier(CANCEL);
  }
}

function handleSave(theSubmitType) {
  document.ViewEventData.submitType.value = theSubmitType;
  if(isRecurrenceModifierExists()) 
  {
    MM_openBrWindow('<%= getContextURI(request) %>/uwc/js/SaveEventConfirmRepeatSelection.jsp', 'RepeatingSelection', 'scrollbars=yes,resizable=yes,width=500,height=175');
  }
  else {
    setRepeatingSelectionModifier(THIS_INSTANCE_ONLY);
  }
}

function setRepeatingSelectionModifier(theModifier) {
  if(CANCEL == theModifier) {
    return;
  }
  document.ViewEventData.RecurrenceModifier.value = theModifier;
  document.ViewEventData.submit();
}

var sharedObject = new Object();

function setSharedObject(emailAddr, subj)
{
  sharedObject.toAdd = emailAddr[0];
  sharedObject.subject = subj;
}

function getSharedObject()
{
 return sharedObject;
}

var theComposeURL = '<jato:text name="ComposeURL" escape="false"/>';

function openWebMailCompose(theOrgEmail, theSummary) {
  var addrDetails = new Array();
  var allAddr = new Array();

  addrDetails[0] = new Array();
  addrDetails[0][0] = "";
  if(null != theOrgEmail) {
     addrDetails[0][1] = UWCUnescape(theOrgEmail);
  }
  else {
     addrDetails[0][1] = "";
  }

  allAddr[0] = addrDetails;

  setSharedObject(allAddr, UWCUnescape(theSummary));

  winHndle = window.open(theComposeURL, 'NewMessageToOrganizer', 'scrollbars=yes,resizable=yes,width=740,height=640');

  winHndle.focus();

  return false;
}

function handleHelp(theHelp) {
  NotImplemented("Help called for '" + theHelp + "'");
}   

//-->
</script>

</HEAD>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" class="Popup">
<!-- Popup Page Title -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" title="">
  <tr>
    <td class="PopupTitle">
       <table width="100%" border="0" cellspacing="0" cellpadding="0">
	     <tr>
		 <td><span class="PopupTitleText"><jato:getDisplayFieldValue name="summary"/></span></td>
          <td align="right"><a href="javascript: void(0)" onClick="window.print()" class="PrintPageLnk" title='<%= getLocalizedLabel(session, "uwc-calclient-event-viewEvent-printEvent", "Print Event") %>'><jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-printEvent" defaultValue="Print Event"/></a></td>
		 </tr>
       </table>
	</td>
  </tr>
</table>

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

<!-- Jump Link Section -->
<div class="ConJmpScnDiv">
 <table border="0" cellspacing="0" cellpadding="0">
   <tbody>
    <tr>
    <td valign="top">
     <div class="ConJmpLnkDiv"><a href="#details" class="JmpLnk" title="<%= getLocalizedLabel(session, "uwc-calclient-event-viewEvent-EventDetails-section-title", "Jump Down to the Events Details Section") %>" tabindex="2"><img src="../uwc/images/to_anchor.gif" alt="<%= getLocalizedLabel(session, "uwc-calclient-event-viewEvent-EventDetails-section-title", "Jump Down to the Events Details Section") %>" width="16" height="10" border="0"><jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-EventDetails-section" defaultValue="Event Details"/></a></div>
   </td>
  <jato:content name="hasAttendeeContent">
   <td valign="top">
    <div class="ConJmpLnkDiv"><a href="#attendees" class="JmpLnk" title="<%= getLocalizedLabel(session, "uwc-calclient-event-viewEvent-Attendees-section-title", "Jump Down to the Attendees Section") %>" tabindex="3"><img src="../uwc/images/to_anchor.gif" alt="<%= getLocalizedLabel(session, "uwc-calclient-event-viewEvent-Attendees-section-title", "Jump Down to the Attendees Section") %>" width="16" height="10" border="0"><jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-Attendees-section" defaultValue="Attendees"/></a></div>
   </td>
  </jato:content>
   </tr>
   <tr>
<jato:content name="UpdateContent">
        <td valign="top">
          <div class="ConJmpLnkDiv"><a href="#attendance" class="JmpLnk" title="<%= getLocalizedLabel(session, "uwc-calclient-event-viewEvent-YourAttendanceStatus-section-title", "Jump Down to the Attendance Status Section") %>" tabindex="4"><img src="../uwc/images/to_anchor.gif" alt="<%= getLocalizedLabel(session, "uwc-calclient-event-viewEvent-YourAttendanceStatus-section-title", "Jump Down to the Attendance Status Section") %>" width="16" height="10" border="0"><%= getLocalizedLabel(session, "uwc-calclient-event-viewEvent-YourAttendanceStatus-section", "Your Attendance Status") %></a></div>
        </td>
</jato:content>
<jato:content name="EditOrUpdateContent">
        <td valign="top">
          <div class="ConJmpLnkDiv"><a href="#reminders" class="JmpLnk" title="<%= getLocalizedLabel(session, "uwc-calclient-event-viewEvent-Reminders-section-title", "Jump Down to the Reminders Section") %>" tabindex="5"><img src="../uwc/images/to_anchor.gif" alt="<%= getLocalizedLabel(session, "uwc-calclient-event-viewEvent-Reminders-section-title", "Jump Down to the Reminders Section") %>" width="16" height="10" border="0"><%= getLocalizedLabel(session, "uwc-calclient-event-viewEvent-Reminders-section", "Reminders") %></a></div>
        </td>
</jato:content>
   </tr>
   </tbody>
  </table>
</div>

<a name="details" id="details"></a>
<!-- Sub-Section Header -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" title="">
 <tr>
  <td><img src="../uwc/images/spacer.gif" width="10" height="5" alt=""></td>
  <td class="SectionDivider" width="100%"><img src="../uwc/images/spacer.gif" width="1" height="5" alt=""></td>
  <td><img src="../uwc/images/spacer.gif" width="10" height="5" alt=""></td>
 </tr>
 <tr>
  <td colspan="3" class="SectionHeader"><span class="SectionHeader"><jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-EventDetails-section" defaultValue="Event Details"/></span></td>
 </tr>
</table>

<!-- Event Properties -->
<table class="FormInputTable" width="100%" border="0" cellspacing="0" cellpadding="0" title="">
  <tr>
      <td colspan="2"><img src="../uwc/images/spacer.gif" width="1" height="10" alt=""></td>
   </tr>
   <tr>
       <td class="PropLabel"><span class="Lbl2"><jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-date" defaultValue="Date:"/></span></td>
       <td class="PropInput" width="100%"><span class="Lbl2"><jato:getDisplayFieldValue escape="false" name="displaydate"/></span></td>
	</tr>
     <tr>
       <td class="PropLabel"><span class="Lbl2"><jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-time" defaultValue="Time:"/></span></td>
       <td class="PropInput" width="100%"><span class="Lbl2"><jato:getDisplayFieldValue escape="false" name="displaytime"/></span></td>
     </tr>
     <tr>
       <td class="PropLabel"><span class="Lbl2"><jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-location" defaultValue="Location:"/></span></td>
       <td class="PropInput" width="100%"><jato:getDisplayFieldValue name="location"/></td>
     </tr>
     <tr>
       <td class="PropLabel"><span class="Lbl2"><jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-organizer" defaultValue="Organizer:"/></span></td>
       <td class="PropInput" width="100%"><jato:getDisplayFieldValue name="organizer"/></td>
     </tr>
     <tr>
       <td class="PropLabel"><span class="Lbl2"><jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-notes" defaultValue="Notes:"/></span></td>
       <td class="PropInput" width="100%"><jato:getDisplayFieldValue name="description"/></td>
     </tr>
     <tr>
       <td class="PropLabel"><span class="Lbl2"><jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-type" defaultValue="Type:"/></span></td>
       <td class="PropInput" width="100%"><jato:getDisplayFieldValue escape="false" name="category"/></td>
     </tr>

     <tr>
       <td class="PropLabel"><span class="Lbl2"><jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-privacy" defaultValue="Privacy:"/></span></td>
       <td class="PropInput" width="100%"><jato:getDisplayFieldValue escape="false" name="privacy"/></td>
     </tr>

     <tr>
       <td class="PropLabel"><span class="Lbl2"><jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-recurrence" defaultValue="Recurrence:"/></span></td>
       <td class="PropInput" width="100%"><jato:getDisplayFieldValue escape="false" name="recurrence"/></td>
     </tr>

     <tr>
       <td class="PropLabel"><span class="Lbl2"><jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-reminder" defaultValue="Reminder:"/></span></td>
       <td class="PropInput" width="100%"><jato:getDisplayFieldValue name="reminder" escape="false"/></td>
     </tr>
</table> 
	
<div class="ConJmpTopDiv"><a href="#top" class="JmpTopLnk" title="<%= getLocalizedLabel(session, "uwc-common-BackToTop-title", "Jump to Top of Page") %>" tabindex="4"><img src="../uwc/images/to_top.gif" alt="<%= getLocalizedLabel(session, "uwc-common-BackToTop-title", "Jump to Top of Page") %>" width="11" height="10" border="0"><%= getLocalizedLabel(session, "uwc-common-BackToTop", "Back to top") %></a></div>

<jato:form name="ViewEventData" method="post" defaultCommandChild="/Save">

<input type="hidden" name="submitType">
<input type="hidden" name="RecurrenceModifier">
<jato:hidden name="TimeZone"/>
<jato:hidden name="CalID"/>
<jato:hidden name="EventUID"/>
<jato:hidden name="EventRID"/>
<jato:hidden name="EventOrganizer"/>
<jato:hidden name="EventStartDateTime"/>
<jato:hidden name="AttendeeValue"/>
<jato:hidden name="AttendeeCommonName"/>

<jato:content name="UpdateContent">

<a name="attendance" id="attendance"></a>
<!-- Section Header -->  
<table width="100%" border="0" cellspacing="0" cellpadding="0" title="">
  <tr> 
    <td colspan="3"><img src="../uwc/images/spacer.gif" width="1" height="10" alt=""></td>
  </tr>
  <tr> 
    <td><img src="../uwc/images/spacer.gif" width="10" height="5" alt=""></td>
    <td class="SectionDivider" width="100%"><img src="../uwc/images/spacer.gif" width="1" height="5" alt=""></td>
	<td><img src="../uwc/images/spacer.gif" width="10" height="5" alt=""></td>
  </tr>
  <tr> 
    <td colspan="3" class="SectionHeader"><span class="SectionHeader"><%= getLocalizedLabel(session, "uwc-calclient-event-viewEvent-YourAttendanceStatus-section", "Your Attendance Status") %></span></td>
  </tr>
</table>

<!-- Attendee Status Form Fill-in Section -->
<table class="FormInputTable" width="100%" border="0" cellspacing="0" cellpadding="0" title="">
  <tr> 
    <td class="PropLabel"><span class="Lbl2"><label for="eventFrequency"><%= getLocalizedLabel(session, "uwc-common-status", "Status") %>:</label></span></td>
    <td class="PropInput" width="100%">
      <input type="radio" name="AttendeeStatus" id="status1" value="Accept" tabindex="7" <jato:text name='AcceptStatusCheck'/>>
      <label for="status1"><%= getLocalizedLabel(session, "uwc-calclient-event-attendee-participantStatus-Accept", "Accept") %></label>&nbsp;&nbsp; 
      <input type="radio" name="AttendeeStatus" id="status2" value="Maybe" tabindex="8" <jato:text name='MaybeStatusCheck'/>>
      <label for="status2"><%= getLocalizedLabel(session, "uwc-calclient-event-attendee-participantStatus-Tentative", "Tentative") %></label>&nbsp;&nbsp; 
      <input type="radio" name="AttendeeStatus" id="status3" value="Decline" tabindex="9" <jato:text name='DeclineStatusCheck'/>>
      <label for="status3"><%= getLocalizedLabel(session, "uwc-calclient-event-attendee-participantStatus-Decline", "Decline") %></label></td>
  </tr>
  <tr> 
    <td class="PropLabel" valign="top"><span class="Lbl2"><label for="comments"><%= getLocalizedLabel(session, "uwc-common-comments", "Comments") %>:</label></span></td>
    <td class="PropInput" width="100%">
      <jato:textArea name="AttendeeComment" elementId="comments" wrap="VIRTUAL" rows="2" cols="70" tabIndex="10"/></textarea>
    </td>
  </tr>
<jato:content name="UseWebmail">
  <tr>
      <td class="PropLabel" colspan="2"> <a class=Lnk href="javascript:void(0)" onClick="openWebMailCompose('<jato:text name="EscapedOrginerEmail" escape="false"/>', '<jato:text name="EscapedEventSummary" escape="false"/>'); return false;" title='<%= getLocalizedLabel(session, "uwc-common-NewMessage", "New Message") %>'><%= getLocalizedLabel(session, "uwc-calclient-OrganizerRequestedRSVP", "Organizer has requested RSVP") %><label for="rsvpOn"></label></a><label for="rsvpOn"></label><label for="rsvpOn"></label></td>
  </tr>
</jato:content>
<jato:content name="UseDesktopMail">
  <tr>
      <td class="PropLabel" colspan="2"> <a class=Lnk href="mailto:<jato:text name='OrgEmail' escape='true'/>?subject='<jato:text name="summary" escape="true"/>'" title='<%= getLocalizedLabel(session, "uwc-common-NewMessage", "New Message") %>'><%= getLocalizedLabel(session, "uwc-calclient-OrganizerRequestedRSVP", "Organizer has requested RSVP") %><label for="rsvpOn"></label></a><label for="rsvpOn"></label><label for="rsvpOn"></label></td>
  </tr>
</jato:content>
</table>
<div class="ConJmpTopDiv"><a href="#top" class="JmpTopLnk" title="<%= getLocalizedLabel(session, "uwc-common-BackToTop-title", "Jump to Top of Page") %>" tabindex="12"><img src="../uwc/images/to_top.gif" alt="<%= getLocalizedLabel(session, "uwc-common-BackToTop-title", "Jump to Top of Page") %>" width="11" height="10" border="0"><%= getLocalizedLabel(session, "uwc-common-BackToTop", "Back to top") %></a></div>

</jato:content>

<jato:content name="hasAttendeeContent">
<a name="attendees" id="attendees"></a>
<table width="100%" border="0" cellspacing="0" cellpadding="0" title="">
  <tr>
      <td colspan="3"><img src="../uwc/images/spacer.gif" width="1" height="20" alt=""></td>
  </tr>

 <tr>
    <td><img src="../uwc/images/spacer.gif" width="10" height="5" alt=""></td>
    <td class="SectionDivider" width="100%"><img src="../uwc/images/spacer.gif" width="1" height="5" alt=""></td>
    <td><img src="../uwc/images/spacer.gif" width="10" height="5" alt=""></td>
  </tr>

   <tr>
     <td colspan="3" class="SectionHeader"><span class="SectionHeader"><jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-Attendees-section" defaultValue="Attendees"/></span>&nbsp;</td>
  </tr>
</table>

<!-- Table containing the Attendee List and Attendee Comments -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" title="">
  <tr>
      <td>
	   <table border="0" cellspacing="0" cellpadding="0" class="AttendeeTbl" title="">
	    <tr>
	    <td class="AttendeeCol1Td" width="2%"><img src="../uwc/images/icon_accept.gif" width="10" height="10" align="absmiddle" alt="Accepted Invitations" title="Accepted Invitations"></td>
        <td width="49%"><span class="Lbl4"><jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-accepted" defaultValue="Accepted"/><jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-startBracket" defaultValue="("/><jato:getDisplayFieldValue name="acceptedattendeecount"/><jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-endBracket" defaultValue=")"/></span></td>
        <td width="49%">&nbsp;</td>
        </tr>
   <jato:tiledView name="acceptedattendeetileview" type="com.sun.uwc.calclient.ViewEventAttendeeTileView" fireChildDisplayEvents="true">
	<tr>
        <td class="AttendeeCol1Td">&nbsp;</td>
		<td><jato:getDisplayFieldValue name="attendee1"/></td>
		<td><jato:getDisplayFieldValue name="attendee2"/></td>
	</tr>
   </jato:tiledView>

		</table>
	   </td>
   </tr>
   
  <tr>
     <td><img src="../uwc/images/spacer.gif" width="1" height="6" alt=""></td>
  </tr>

  <tr>
    <td>
    <table border="0" cellspacing="0" cellpadding="0" class="AttendeeTbl" title="">
       <tr>
        <td class="AttendeeCol1Td" width="2%"><img src="../uwc/images/icon_undecided.gif" width="10" height="10" align="absmiddle" alt="Tentative Invitations" title="Tentative Invitations"></td>
        <td width="49%"><span class="Lbl4"><jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-Tentative" defaultValue="Tentative"/><jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-startBracket" defaultValue="("/><jato:getDisplayFieldValue name="undecidedattendeecount"/><jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-endBracket" defaultValue=")"/> </span></td>
          <td width="49%">&nbsp;</td>
       </tr>
   <jato:tiledView name="undecidedattendeetileview" type="com.sun.uwc.calclient.ViewEventAttendeeTileView" fireChildDisplayEvents="true">
	<tr>
        <td class="AttendeeCol1Td">&nbsp;</td>
		<td><jato:getDisplayFieldValue name="attendee1"/></td>
		<td><jato:getDisplayFieldValue name="attendee2"/></td>
	</tr>
   </jato:tiledView>

	</table>
    </td>
   </tr>

  <tr>
     <td><img src="../uwc/images/spacer.gif" width="1" height="6" alt=""></td>
  </tr>

  <tr>
   <td>
   <table border="0" cellspacing="0" cellpadding="2" class="AttendeeTbl" title="">
   <tr>
     <td class="AttendeeCol1Td" width="2%"><img src="../uwc/images/icon_decline.gif" width="10" height="10" align="absmiddle" alt="Declined Invitations" title="Declined Invitations"></td>
        <td width="49%"><span class="Lbl4"><jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-declined" defaultValue="Declined"/><jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-startBracket" defaultValue="("/><jato:getDisplayFieldValue name="declinedattendeecount"/><jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-endBracket" defaultValue=")"/> </span></td>
     <td width="49%">&nbsp;</td>
   </tr>

   <jato:tiledView name="declinedattendeetileview" type="com.sun.uwc.calclient.ViewEventAttendeeTileView" fireChildDisplayEvents="true">
	<tr>
        <td class="AttendeeCol1Td">&nbsp;</td>
		<td><jato:getDisplayFieldValue name="attendee1"/></td>
		<td><jato:getDisplayFieldValue name="attendee2"/></td>
	</tr>
   </jato:tiledView>

    </table>
   </td>
  </tr>

  <tr>
    <td><img src="../uwc/images/spacer.gif" width="1" height="6" alt=""></td>
  </tr>

  <tr>
   <td>
   <table border="0" cellspacing="0" cellpadding="2" class="AttendeeTbl" title="">
    <tr>
    <td class="AttendeeCol1Td" width="2%"><img src="../uwc/images/icon_noResponse.gif" width="10" height="10" align="absmiddle" alt="Not Yet Responsed Invitations" title="Not Yet Responsed Invitations"></td>
        <td width="49%"><span class="Lbl4"><jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-noresponse" defaultValue="Not yet Responded"/><jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-startBracket" defaultValue="("/><jato:getDisplayFieldValue name="noresponseattendeecount"/><jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-endBracket" defaultValue=")"/> </span></td>
    <td width="49%">&nbsp;</td>
    </tr>

   <jato:tiledView name="noresponseattendeetileview" type="com.sun.uwc.calclient.ViewEventAttendeeTileView" fireChildDisplayEvents="true">
	<tr>
        <td class="AttendeeCol1Td">&nbsp;</td>
		<td><jato:getDisplayFieldValue name="attendee1"/></td>
		<td><jato:getDisplayFieldValue name="attendee2"/></td>
	</tr>
   </jato:tiledView>

   </table>
   </td>
   </tr>


  <tr>
   <td><img src="../uwc/images/spacer.gif" width="1" height="10" alt=""></td>
  </tr>
</table>

<table class="FormInputTable" width="100%" border="0" cellspacing="0" cellpadding="0" title="">
  <tr>
    <td class="PropLabel" width="98%">
        <span class="Lbl4"><jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-attendeeComments" defaultValue="Attendee Comments"/>&nbsp;<jato:getModelFieldValue escape="false" modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-event-viewEvent-commentText" defaultValue="(Comments are read-only and cannot be edited)"/></span>
    </td>
  </tr>

  <tr>
   <td class="PropInputWLblAbove2">
    <textarea name="textfield" cols="80" rows="10" wrap="virtual" READONLY><jato:getDisplayFieldValue name="comments"/></textarea>
   </td>
  </tr>
</table>
 </table>
<div class="ConJmpTopDiv"><a href="#top" class="JmpTopLnk" title="<%= getLocalizedLabel(session, "uwc-common-BackToTop-title", "Jump to Top of Page") %>" tabindex="5"><img src="../uwc/images/to_top.gif" alt="<%= getLocalizedLabel(session, "uwc-common-BackToTop-title", "Jump to Top of Page") %>" width="11" height="10" border="0"><%= getLocalizedLabel(session, "uwc-common-BackToTop", "Back to top") %></a></div>

</jato:content>


<jato:content name="EditOrUpdateContent">

<a name="reminders" id="reminders"></a>

<jato:containerView name="RemindersPane">
  <%@include file="/uwc/calclient/RemindersPane.jsp"%>
</jato:containerView>

<div class="ConJmpTopDiv"><a href="#top" class="JmpTopLnk" title="<%= getLocalizedLabel(session, "uwc-common-BackToTop-title", "Jump to Top of Page") %>" tabindex="26"><img src="../uwc/images/to_top.gif" alt="<%= getLocalizedLabel(session, "uwc-common-BackToTop-title", "Jump to Top of Page") %>" width="11" height="10" border="0"><%= getLocalizedLabel(session, "uwc-common-BackToTop", "Back to top") %></a></div>

<!-- Define a hidden button called 'Save' which requires for triggering default form action or as a place holder for default command child to call handleSaveRequest method in assoicated view bean. This 'Save' button will *always* be *hidden* because it is put inside a non-visible div tag. -->
<div style="visibility: hidden;">
  <jato:button styleClass="Btn2" name="Save" onClick="handleSave('Save'); return false;" extraHtml="title=\"Hidden button\""/>
</div>

</jato:content>

<!-- Spacer -->
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0" title="">
 <TR>
  <TD><IMG src="../uwc/images/spacer.gif" width="1" height="20" alt=""></TD>
 </TR>
</TABLE>

</jato:form>

</body>

</jato:useViewBean>

</HTML>
