<%@page info="EditTaskData" 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"%>
<html>
<head>
<title>
<% 
   String path = request.getContextPath();  
   if( path.equals("/") )
     path="";
%>
<% String newTask = request.getParameter("new");
   if( newTask == null )
      newTask = request.getParameter("EditTaskData.new");
if( newTask != null && newTask.equals("true")) { %>
<%=getLocalizedLabel(session, "uwc-calclient-task-new-pagetitle", "New Task - Sun&#8482;ONE Unified Messaging Client") %>
<% } else { %>
<%=getLocalizedLabel(session, "uwc-calclient-task-edit-pagetitle", "Edit Task - Sun&#8482;ONE Unified Messaging Client") %>
<% } %>
</title>
<% String isError = request.getParameter("errorCalView"); %>
<jato:useViewBean className="com.sun.uwc.calclient.EditTaskDataViewBean" fireChildDisplayEvents="true">
<script src="../uwc/js/browserVersion.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=<jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="skinModel" lookInSession="true" name="Style-Sheet-IE" defaultValue="../uwc/css/css_ie5win.css"/> type=text/css rel=stylesheet>") 
  }
  else if (is_gecko) // Netscape 6/7 or Mozilla
  {
   document.write("<LINK href=<jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="skinModel" lookInSession="true" name="Style-Sheet-NN" defaultValue="../uwc/css/css_ns6up.css"/> type=text/css rel=stylesheet>") 
  }
  else  // All others
  {
   document.write("<LINK href=<jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="skinModel" lookInSession="true" name="Style-Sheet-NN" defaultValue="../uwc/css/css_ns6up.css"/> type=text/css rel=stylesheet>") 
  }       
//-->
</script>
<script language="JavaScript" type="text/javascript">
<!--
var noDueDate = false;
var noDueTime = false;

function disableDueDate() {
  document.theForm.elements["EditTaskData.DueDateDay"].disabled = true;
  document.theForm.elements["EditTaskData.DueDateMonth"].disabled = true;
  document.theForm.elements["EditTaskData.DueDateYear"].disabled = true;
  noDueDate = true; 
  
  if( noDueTime ) {
    document.theForm.elements["EditTaskData.NoDueTime"].checked = true;
  }

  document.theForm.elements["EditTaskData.NoDueTime"].disabled = true;
  disableDueTime(true);
}

function activateDueDate() {
  document.theForm.elements["EditTaskData.DueDateDay"].disabled = false;
  document.theForm.elements["EditTaskData.DueDateMonth"].disabled = false;
  document.theForm.elements["EditTaskData.DueDateYear"].disabled = false;
  noDueDate = false; 
  if( noDueTime == true )
    document.theForm.elements["EditTaskData.NoDueTime"].checked = true; 
  else {
    document.theForm.elements["EditTaskData.NoDueTime"].checked = false;
    activateDueTime(true);
  }

  document.theForm.elements["EditTaskData.NoDueTime"].disabled = false;
}

function disableDueTime(fromDueDate) {
  document.theForm.elements["EditTaskData.DueTimeHours"].disabled = true;
  document.theForm.elements["EditTaskData.DueTimeMinutes"].disabled = true;

  if( fromDueDate == null )
    fromDueDate = false;

  if( fromDueDate == false )
    noDueTime = true;
}

function activateDueTime(fromDueDate) {
  document.theForm.elements["EditTaskData.DueTimeHours"].disabled = false;
  document.theForm.elements["EditTaskData.DueTimeMinutes"].disabled = false;

  if( fromDueDate == null )
    fromDueDate = false;

  if( noDueDate == false && fromDueDate == false )
    noDueTime = false;
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function openWinAutoHeight(theURL,winName,features) { //v2.0
   winHeight = screen.availHeight * .85
   window.open(theURL,winName,features + ', height=' + winHeight);
}
	
function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

// Week start and week end preferences required by minical pop up
weekstart = <jato:text name="weekstart"/>
weekends = [<jato:text name="weekends"/>];

function getWeekStart() {
  return weekstart;
}

function getWeekEnds() {
  return weekends;
}

// RecurrenceModifier types
// Defualt modifier type for 'Delete' is CANCEL, 
// Defualt modifier type for 'Save' it is 'THIS_INSTANCE_ONLY'
//
var CANCEL = "Cancel";
var THIS_INSTANCE_ONLY = "ThisInstanceOnly";
var THIS_AND_ALL = "ThisAndAll";

function isRecurrenceModifierExists() {
  if(undefined == document.theForm.elements["EditTaskData.TaskRID"]) {
    return false;
  }
  else if(null == document.theForm.elements["EditTaskData.TaskRID"]) {
    return false;
  }

  var rid = document.theForm.elements["EditTaskData.TaskRID"].value;
  if((null == rid) || (rid != null && rid == '')) {
    return false;
  }

  return true;
}

function setRepeatingSelectionModifier(theModifier) {
  if(CANCEL == theModifier) {
    return;
  }
  document.theForm.RecurrenceModifier.value = theModifier;
  document.theForm.submit();
}
var prev_privacy;
function markPrivacyChgd() {
  var new_privacy = document.theForm.elements["EditTaskData.Privacy"].value;

  if( prev_privacy != new_privacy )
    document.theForm.elements["EditTaskData.hasPrivacyChgd"].value="true";
}

function handleSave(addAnother) {
  markPrivacyChgd();
  var formElements = document.theForm.elements;
  //Following is a validation check for error condition of start date later than due date 
  var diff;
  if( noDueDate == false ) {  
    var start_month = formElements["EditTaskData.StartDateMonth"].selectedIndex;
    var start_day =  Number(formElements["EditTaskData.StartDateDay"].value);
    var start_year = Number(formElements["EditTaskData.StartDateYear"].value);
    var due_month =  Number(formElements["EditTaskData.DueDateMonth"].selectedIndex);
    var due_day =  Number(formElements["EditTaskData.DueDateDay"].value);
    var due_year = Number(formElements["EditTaskData.DueDateYear"].value);
    var start_date = new Date(start_year, start_month, start_day);
    var due_date = new Date(due_year, due_month, due_day);

    diff = start_date - due_date;   
    if( diff > 0 ) {
      UWCAlert('<%=getLocalizedLabel(session, "uwc-calclient-task-duedate-before-startdate", "Please enter a valid due date. Due date cannot be before Start date")%>');
      return false;
    }
  }

  //Following compares the reminder date with due date. It base the comparison if reminders is enabled
  //and the date time radio button is selected 
  var alarm_select = formElements["EditTaskData.RemindersPane.send_reminder"];
  if( alarm_select.checked ) {
    var due_hours = Number(formElements["EditTaskData.DueTimeHours"].value);
    var due_mins = Number(formElements["EditTaskData.DueTimeMinutes"].value); 
    due_date = new Date(due_year, due_month, due_day, due_hours, due_mins);
    var alarm_dt_select = formElements["EditTaskData.RemindersPane.radio_remind"];
    
    if( alarm_dt_select[1].checked )
    {
       var alarm_dt =  new Date(Number(formElements["EditTaskData.RemindersPane.select_remind_year"].value),
                                formElements["EditTaskData.RemindersPane.select_remind_month"].selectedIndex,
                                Number(formElements["EditTaskData.RemindersPane.select_remind_day"].value),
                                Number(formElements["EditTaskData.RemindersPane.select_remind_hour"].value),
                                Number(formElements["EditTaskData.RemindersPane.select_remind_minute"].value));
       diff = alarm_dt - due_date;
       if( diff > 0 ) {
         UWCAlert('<%=getLocalizedLabel(session, "uwc-calclient-task-duedate-before-alarmdate", "Please enter a valid reminder date and time. Reminder date and time should be before Due date and time.")%>');
         return false;
       }
    }
 }

  if( addAnother )
    document.theForm.elements["EditTaskData.ActionType"].value = "SaveAndAddAnother"; 
  else
    document.theForm.elements["EditTaskData.ActionType"].value = "Save";  
  if(isRecurrenceModifierExists()) 
  {
    MM_openBrWindow('<%=path%>/uwc/js/SaveTaskConfirmRepeatSelection.jsp', 'RepeatingSelection', 'scrollbars=yes,resizable=yes,width=550,height=150');
  }
  else {
    setRepeatingSelectionModifier(THIS_INSTANCE_ONLY);
  }  
}

function handleDelete() {
  document.theForm.elements["EditTaskData.ActionType"].value = "Delete";    
  if(isRecurrenceModifierExists())
  {
    MM_openBrWindow('<%=path%>/uwc/js/DeleteTaskConfirmRepeatSelection.jsp', 'RepeatingSelection', 'scrollbars=yes,resizable=yes,width=550,height=150')
;
  }
  else if(UWCConfirm("<%= getLocalizedLabel(session, "uwc-calclient-tasks-DeleteTasksConfirmQuestion", "Are you sure you want to delete this task?")
 %>"))
  {
    setRepeatingSelectionModifier(THIS_INSTANCE_ONLY);
  }
  else
  {
    setRepeatingSelectionModifier(CANCEL);
  }
}
var fillStart = false;
var fillDue = false;

function openMiniCalendar(src){
   if( noDueDate == true )
     return;
     
   if( src == "start" ) {
     fillStart = true;
     day = Number(document.theForm.elements["EditTaskData.StartDateDay"].value);
     mon = Number(document.theForm.elements["EditTaskData.StartDateMonth"].selectedIndex);
     yr = Number(document.theForm.elements["EditTaskData.StartDateYear"].value);      
   }
   else {
     day = Number(document.theForm.elements["EditTaskData.DueDateDay"].value);
     mon = Number(document.theForm.elements["EditTaskData.DueDateMonth"].selectedIndex);
     yr = Number(document.theForm.elements["EditTaskData.DueDateYear"].value);
     fillDue = true;
   }

   var dt = new Date(yr, mon, day);   
      
   var dtstr = dt.toUTCString();
   dtstr = escape(dtstr);
      
   var url = "<%=path%>/uwc/js/minicalendarpopup.jsp?date=" + dtstr;
   
   MM_openBrWindow(url,"minical",'scrollbars=yes,resizable=yes,width=250,height=225');

   return;    
}

function acceptSelectedDate(str) { 
  var dt = new Date(str);
  var monField = document.forms[0].elements["EditTaskData.DueDateMonth"];
  var mon = monField[dt.getMonth()].value;

  if( fillStart ) {
    document.forms[0].elements["EditTaskData.StartDateDay"].value = dt.getDate();
    document.forms[0].elements["EditTaskData.StartDateMonth"].value = mon;
    document.forms[0].elements["EditTaskData.StartDateYear"].value = dt.getFullYear();
    fillStart = false;
  } else {
    document.forms[0].elements["EditTaskData.DueDateDay"].value = dt.getDate();
    document.forms[0].elements["EditTaskData.DueDateMonth"].value = mon;
    document.forms[0].elements["EditTaskData.DueDateYear"].value = dt.getFullYear();
    fillDue = false;
  }
} 

var anchorArray = new Array();
anchorArray["recurr"] = "#recurrence";

function initPage() {
  var isError = "<%=isError%>";
  if( isError != null && isError == "true" ) {
    parent.location = parent.location.href + "&error=true";
    return;
  }

  var nodueDateTime = document.theForm.elements["EditTaskData.NoDueTime"];
  if( nodueDateTime.checked )
    disableDueTime();
  else 
    activateDueTime();     
  
  nodueDateTime = document.theForm.elements["EditTaskData.NoDueDate"];
  if( nodueDateTime.checked )
    disableDueDate();
  else 
    activateDueDate();

  prev_privacy = document.theForm.elements["EditTaskData.Privacy"].value;
  parent.focus();
 
  var anchor = document.theForm.elements["EditTaskData.anchor"].value;
 
  if( anchor != null && anchor.length > 0 ) {
    var ahref = anchorArray[anchor];
    document.theForm.elements["EditTaskData.anchor"].value = "";
    self.location = ahref;
  }
}
  
//-->
</script>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" class="Popup" onload="javascript:initPage()">
<jato:form name="theForm" defaultCommandChild="/Action">
<input type="hidden" name="RecurrenceModifier" value="">
<jato:hidden name="ActionType"/>
<jato:hidden name="new" defaultValue="<%=newTask%>"/>
<jato:hidden name="TimeZone"/>
<jato:hidden name="TaskUID"/>
<jato:hidden name="TaskRID"/>
<jato:hidden name="TaskCALID"/>
<jato:hidden name="SelectedDate"/>
<jato:hidden name="hasPrivacyChgd" defaultValue="false"/>
<jato:hidden name="anchor"/>
<!-- Popup Title -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" title="">
  <tbody><tr>
    <td class="PopupTitle"><span class="PopupTitleText">
    <% if( newTask != null && newTask.equals("true") ) { %>      
      <%=getLocalizedLabel(session, "uwc-calclient-task-new-header", "New Task") %>
    <% } else { %>
      <%=getLocalizedLabel(session, "uwc-calclient-task-edit-header", "Edit Task") %>
    <% } %>    
    </span></td>
  </tr>
</tbody></table>
<!-- Error pagelet -->
<jato:containerView name="errorPlugin">
    <%@include file="/uwc/common/error.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-task-detail-headers", "Task Details") %>'><img src="../uwc/images/to_anchor.gif" alt="Jump Down to the Tasks Details Section" width="16" height="10" border="0" tabindex="1">
          <%=getLocalizedLabel(session, "uwc-calclient-task-detail-headers", "Task Details") %> 
           </a></div>
        </td>
        <td valign="top"> 
          <div class="ConJmpLnkDiv"><a href="#recurrence" class="JmpLnk" title='<%=getLocalizedLabel(session, "uwc-calclient-event-EditEvent-Recurrence-section-title", "Jump Down to Recurrence Section") %>'><img src="../uwc/images/to_anchor.gif" alt="Jump Down to the Task Recurrence Section" width="16" height="10" border="0" tabindex="2"><%=getLocalizedLabel(session, "uwc-calclient-recurrence-headerLabel", "Recurrence") %></a></div>
        </td>
        <td valign="top"> 
          <div class="ConJmpLnkDiv"><a href="#reminders" class="JmpLnk" title='<%=getLocalizedLabel(session, "uwc-calclient-event-EditEvent-Reminders-section-title", "Jump Down to Reminders Section") %>'><img src="../uwc/images/to_anchor.gif" alt="Jump Down to the Task Reminders Section" width="16" height="10" border="0" tabindex="3"><%=getLocalizedLabel(session, "uwc-calclient-options-remindersHeaderLabel", "Reminders") %></a></div>
        </td>
      </tr>
      </tbody> 
    </table>
</div>

<a name="details" id="details"></a>
<!-- Sub-Section Header -->  
<table width="100%" border="0" cellspacing="0" cellpadding="0" title="">
  <tbody><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 modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-task-detail-headers" defaultValue="Task Details" escape="false"/></span></td>
  </tr>
</tbody></table>
<!-- task Details Section -->
  <table class="FormInputTable" width="100%" border="0" cellspacing="0" cellpadding="0" title="">
    <tbody><tr> 
      <td class="PropLabel"><span class="Lbl2"><label for="Title"><jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-task-title-caption" defaultValue="Title" escape="false"/>:</label></span></td>
      <td class="PropInput" width="100%"> 
        <jato:textField name="Title" elementId="Title" size="50" tabIndex="4"/>        
      </td>
    </tr>
    <tr> 
      <td class="PropLabel"><span class="Lbl2"><label for="CalID"><jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-task-calendar-caption" defaultValue="Calendar" escape="false"/>:</label></span></td>
      <td class="PropInput">
        <uwc:uwccombobox name="CalID" elementId="CalID" tabIndex="5"/>        
      </td>
    </tr>
    <tr>
      <td class="PropLabel"><span class="Lbl2"><label for="StartDateMonth"><%=getLocalizedLabel(session, "uwc-calclient-task-startdate-caption", "Start Date")%>:</label></span></td>
      <td class="PropInput">
        <jato:combobox name="StartDateMonth" elementId="StartDateMonth" tabIndex="6"/>
        <label for="StartDateDay"></label>
        <jato:combobox name="StartDateDay" elementId="StartDateDay" tabIndex="7"/>
        <label for="StartDateYear"></label>                                                                       
        <jato:combobox name="StartDateYear" elementId="StartDateYear" tabIndex="8"/>     
        <a name="minical" id="minical" href="#" accesskey="C" onclick="javascript:openMiniCalendar('start')" onkeypress="javascript:openMiniCalendar('start')"><img src="../uwc/images/CalendarLink_wo.gif" width="20" height="20" align="absmiddle" border="0" title='<%=getLocalizedLabel(session, "uwc-calclient-minicalendar-title", "Select Date from Calendar") %>' alt="Select Date from Calendar" tabindex="9"></a>
      </td>
    </tr>
    <tr> 
      <td class="PropLabel"><span class="Lbl2"><label for="NoDueDate"><jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-task-duedate-caption" defaultValue="Due Date" escape="false"/>:</label></span></td>
      <td class="PropInput" nowrap="nowrap"> 
        <jato:checkbox name="NoDueDate" elementId="NoDueDate" tabIndex="10" onClick="javascript:if(this.checked)disableDueDate();else activateDueDate();"/>        
        <label for="allDay"><jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-task-noduedate-caption" defaultValue="No Due Date" escape="false"/></label></td>
    </tr>
    <tr> 
      <td class="PropLabel"></td>
      <td class="PropInput">
        <label for="DueDateMonth"></label> 
        <jato:combobox name="DueDateMonth" elementId="DueDateMonth" tabIndex="11"/>
        <label for="DueDateDay"></label> 
        <jato:combobox name="DueDateDay" elementId="DueDateDay" tabIndex="12"/>  
        <label for="DueDateYear"></label>       
        <jato:combobox name="DueDateYear" elementId="DueDateYear" tabIndex="13"/>        
        <a name="minical" id="minical" href="#" accesskey="C" onclick="javascript:openMiniCalendar('due')" onkeypress="javascript:openMiniCalendar('due')"><img src="../uwc/images/CalendarLink_wo.gif" width="20" height="20" align="absmiddle" border="0" title="<%=getLocalizedLabel(session, "uwc-calclient-minicalendar-title", "Select Date from Calendar") %>" alt="Select Date from Calendar" tabindex="14"></a> 
      </td>
    </tr>
    <tr> 
      <td class="PropLabel"><span class="Lbl2"><label for="NoDueTime"><jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-task-duetime-caption" defaultValue="Time" escape="false"/>:</label></span></td>
      <td class="PropInput">
        <jato:checkbox name="NoDueTime" elementId="NoDueTime" tabIndex="15" onClick="if(this.checked) disableDueTime(); else activateDueTime();"/>        
        <label for="noTime"><jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-task-noduetime-caption" defaultValue="No Due Time" escape="false"/></label> </td>
    </tr>
    <tr>
      <td class="PropLabel"></td>
      <td class="PropInput" nowrap="nowrap">
        <label for="DueTimeHours"></label>
        <jato:combobox name="DueTimeHours" elementId="DueTimeHours" tabIndex="16"/>
        <label for="DueTimeMinutes"></label>        
        <jato:combobox name="DueTimeMinutes" elementId="DueTimeMinutes" tabIndex="17"/>          
      </td>
    </tr>
    <tr> 
      <td class="PropLabel"><span class="Lbl2"><label for="Category"><jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-task-type-caption" defaultValue="Type" escape="false"/>:</label></span></td>
      <td class="PropInput"> 
        <jato:combobox name="Category" elementId="Category" tabIndex="18"/>        
      </td>
    </tr>    <tr> 
      <td class="PropLabel"><span class="Lbl2"><label for="Priority"><jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-task-priority-caption" defaultValue="Priority" escape="false"/>:</label></span></td>
      <td class="PropInput" nowrap="nowrap">
        <jato:combobox name="Priority" elementId="Priority" tabIndex="19"/>        
      </td>
    </tr>
    <tr> 
      <td class="PropLabel"><span class="Lbl2"><label for="Status"><jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-task-status-caption" defaultValue="Status" escape="false"/>:</label></span></td>
      <td class="PropInput" nowrap="nowrap">
        <jato:combobox name="Status" elementId="Status" tabIndex="20"/>        
      </td>
    </tr>

    <tr> 
      <td class="PropLabel"><span class="Lbl2"><label for="Privacy"><jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-task-privacy-caption" defaultValue="Privacy" escape="false"/>:</label></span></td>
      <td class="PropInput"> 
        <jato:combobox name="Privacy" elementId="Privacy" tabIndex="21"/>        
      </td>
    </tr>
    <tr> 
      <td class="PropLabel"><span class="Lbl2"><label for="Location"><jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-task-location-caption" defaultValue="Location" escape="false"/>:</label></span></td>
      <td class="PropInput"> 
        <jato:textField name="Location" elementId="Location" size="50" tabIndex="22"/>       
      </td>
    </tr>
    <tr> 
      <td class="PropLabel" valign="top"><span class="Lbl2"><label for="NOtes"><jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-calclient-task-notes-caption" defaultValue="Notes" escape="false"/>:</label></span></td>
      <td class="PropInput"> 
        <jato:textArea name="Notes" elementId="NOtes" wrap="VIRTUAL" cols="70" rows="2" tabIndex="23"/>       
      </td>
    </tr>
  </tbody></table>
<div class="ConJmpTopDiv"><a href="#top" class="JmpTopLnk" title='<%=getLocalizedLabel(session, "uwc-common-BackToTop-title", "Jump to Top of Page")%>'><img src="../uwc/images/to_top.gif" alt="Jump to Top of Page" width="11" height="10" border="0" tabindex="24"><jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-common-BackToTop" defaultValue="Back to top" escape="false"/></a></div>

<a name="recurrence" id="recurrence"></a>
<!-- Sub-Section Header -->  
<jato:containerView name="RecurrencePane">
  <%@include file="/uwc/calclient/RecurrencePane.jsp"%>
</jato:containerView>
<div class="ConJmpTopDiv"><a href="#top" class="JmpTopLnk" title='<%=getLocalizedLabel(session, "uwc-common-BackToTop-title", "Jump to Top of Page")%>'><img src="../uwc/images/to_top.gif" alt="Jump to Top of Page" width="11" height="10" border="0" tabindex="25"><jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-common-BackToTop" defaultValue="Back to top" escape="false"/></a></div>

<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")%>'><img src="../uwc/images/to_top.gif" alt="Jump to Top of Page" width="11" height="10" border="0" tabindex="35"><jato:getModelFieldValue modelClass="com.sun.uwc.common.model.UWCResourceBundleModel" modelName="i18nModel" lookInSession="true" name="uwc-common-BackToTop" defaultValue="Back to top" escape="false"/></a></div>
<!-- Spacer -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" title="">
  <tbody><tr> 
    <td><img src="../uwc/images/spacer.gif" width="1" height="20" alt=""></td>
  </tr>
</tbody>
</table>
<div style="visibility:hidden">
<jato:button style="width:0;height:0" name="Action" elementId="Action"/>
</div>
</jato:form>
</body>
</html>
</jato:useViewBean>
