Kit for Chapter 10

The GroupCal servlet kit (http://udell.roninhouse.com/examples/GroupCal.zip) includes the Java code for the GroupCal servlet, plus HTML templates, configuration files, and documentation (http://udell.roninhouse.com/GroupCalDoc.htm) that explains how to run the servlet in either of two hosts: the open-source Acme.Serve or Sun’s Java Web Server.

By default, GroupCal will not try to inject “todo” information into calendar views, as shown in Chapter 10. If you want to try that, create a service that responds to URLs like:

http://SERVER:PORT/todo_view?user="Jon+Udell&date="Thu+Jul+01+1999"

The dhttp kit includes a plug-in, todo.pm, that implements a bare-bones version of such a service, for an ODBC data source.

To use this module, define this SQL table:

CREATE TABLE ASSIGNMENTS (PROJECT CHAR(10), TASK INTEGER, DUE DATE,  
  DONE DATE, USER CHAR(20));

Then populate it with some task data, for example:

INSERT INTO ASSIGNMENTS (PROJECT, TASK, DUE, DONE, USER)  
  VALUES ('PROJ1', 2, #1999-09-11#, NULL, 'Jon Udell'),

Then, edit GroupCalProps.txt and tell GroupCal to look for a todo server:

enableTodo=true

Finally, restart GroupCal.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.216.163