Partograph
The Partograph was the first use of AJAX functionality in the ZEPRS application. It has not been refactored to use the dwr-generic.js functions. The Partograph saves records outside the DynaSite system - it has its own tables and manages its own fields. Upon startup, DynaSiteObjects scans the Partograph xml files and creates a HashMap of its fields to integrate w/ Dynasite.
See the doc "Creating Partograph Section using DWR.doc" for information about the Partograph. The doc "ZEPRS Administration.doc" also has a section on Ajax functionality
If session timeout becomes an issue w/ Partograph, you can set it on a session basis with HttpSession.setMaxInactiveInterval(int interval); This will only work for the specific session. We do this when the PartographAction is called - set it to 5440 seconds - 90 minutes. This means that the session will be destroyed only after 90 minutes of inactivity. Since an entry is made at least every hour, we should be fine.
Code from PartographAction:
session.setMaxInactiveInterval(5400);
A screencam demo is available that illustrates an early version of the partograph.
- Printer-friendly version
- Login to post comments
- PDF version