Sun Java System Portal Server Mobile Access 7.1 Developer's Guide

Adding a Task

Users can also add tasks to the calendar. The method for adding a task to the calendar is similar to the method for adding an event. From the day view page, users simply select the Add Task option and proceed to fill in the requested information, such as the task title, location, due date, due time, details, and whether or not the task is already complete. When finished, users are given the following options: Submit, Remind, and Repeat.

Control flow through the various JSP pages for adding a task is similar to the flow for adding an event. First, control passes from the dayview.jsp file to the taskSess.jsp file, which creates a new task. This new task—which at this point does not have any information entered by the user—is added to user sessions. From there, the tag <util:forward> passes control to the taskHm.jsp file, which issues the task-related options provided when adding a task: Submit, Remind, and Repeat. The Remind and Repeat options take users through the same process as described in Adding an Event. The only difference between the process of adding an event and adding a task is that the source files responsible for adding a task have the suffix “Task,” such as remindMailTask.jsp. While the source files for adding an event do not have this suffix, such as remindMail.jsp.


Note –

The task location, task remind, and task repeat features are not supported when connecting to servers other than Sun Java System Calendar Server.