Skip to Main Content
Practical Internet Groupware
book

Practical Internet Groupware

by Jon Udell
October 1999
Beginner content levelBeginner
521 pages
15h 28m
English
O'Reilly Media, Inc.
Content preview from Practical Internet Groupware

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.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Web Operations

Web Operations

John Allspaw, Jesse Robbins

Publisher Resources

ISBN: 1565925378Catalog PageErrata