Commit 8df5ac2c authored by Chris McDonough's avatar Chris McDonough

Management screen changes.

The help version of TransienceInterfaces.py wanted to import Interface; it no longer wants to do so.
parent c7b3ce26
......@@ -8,8 +8,10 @@
<FORM ACTION="constructTransientObjectContainer" METHOD="POST">
<TABLE CELLSPACING="2">
<tr>
<div class="form-help">
<td colspan="2">
<p>
Transient Object Containers are used to store transient data.
Transient data will persist, but only for a user-specified period of time,
......@@ -32,6 +34,7 @@ the Zope physical path to the method to be invoked to receive the notification
(e.g. '/folder/add_notifier').
</p>
</div>
</td>
</tr>
<TR>
......@@ -48,7 +51,7 @@ the Zope physical path to the method to be invoked to receive the notification
<TR>
<TD ALIGN="LEFT" VALIGN="TOP">
<div class="form-label">
<em>Title</em>
Title (optional)
</div>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
......@@ -61,6 +64,9 @@ the Zope physical path to the method to be invoked to receive the notification
<div class="form-label">
Data object timeout in minutes
</div>
<div class="form-help">
("0" means no expiration)
</div>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
<INPUT TYPE="TEXT" NAME="timeout_mins:int" SIZE="10" value="20">
......@@ -70,8 +76,11 @@ the Zope physical path to the method to be invoked to receive the notification
<TR>
<TD ALIGN="LEFT" VALIGN="TOP">
<div class="form-label">
<em>Script to call upon object add</em>
Script to call upon object add (optional)
</div>
<div class="form-help">
(e.g. "/somefolder/addScript")
</div>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
<INPUT TYPE="TEXT" NAME="addNotification" SIZE="40">
......@@ -81,8 +90,11 @@ the Zope physical path to the method to be invoked to receive the notification
<TR>
<TD ALIGN="LEFT" VALIGN="TOP">
<div class="form-label">
<em>Script to call upon object delete</em>
Script to call upon object delete (optional)
</div>
<div class="form-help">
(e.g. "/somefolder/delScript")
</div>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
<INPUT TYPE="TEXT" NAME="delNotification" SIZE="40">
......
......@@ -45,6 +45,9 @@ Transient data will persist, but only for a user-specified period of time
<div class="form-label">
Data object timeout value in minutes
</div>
<div class="form-help">
("0" means no expiration)
</div>
</td>
<td align="left" valign="top">
<input type="text" name="timeout_mins:int" size=10
......@@ -57,6 +60,9 @@ Transient data will persist, but only for a user-specified period of time
<div class="form-label">
Script to call when objects are added
</div>
<div class="form-help">
(e.g. "/somefolder/addScript")
</div>
</td>
<td align="left" valign="top">
<input type="text" name="addNotification"
......@@ -69,6 +75,9 @@ Transient data will persist, but only for a user-specified period of time
<div class="form-label">
Script to call when objects are deleted
</div>
<div class="form-help">
(e.g. "/somefolder/delScript")
</div>
</td>
<td align="left" valign="top">
<input type="text" name="delNotification"
......@@ -93,4 +102,4 @@ will be deleted when the data object timeout is changed.
<dtml-var manage_page_footer>
\ No newline at end of file
<dtml-var manage_page_footer>
......@@ -8,7 +8,7 @@ TransientObjectContainer - Add
Common Usages
A Transient Object Container is used by Session Data Mangers to store
A Transient Object Container is used by Session Data Managers to store
session data.
To create a Transient Object Container, specify the following:
......@@ -17,7 +17,9 @@ TransientObjectContainer - Add
The Zope id of the Transient Object Container.
- *Title*
- **Title**
*Optional*
The title of the object.
......@@ -26,8 +28,11 @@ TransientObjectContainer - Add
The minimum number of minutes that objects in the container will
persist for. Objects in the container are passively deleted, so
they may not be deleted exactly after this number of minutes elapses.
A setting of "0" indicates that objects should not expire.
- **Script to call when objects are added**
- *Script to call when objects are added*
*Optional*
The physical path of of a Zope script which will receive notifications
when objects are added to the Transient Object Container.
......@@ -36,7 +41,9 @@ TransientObjectContainer - Add
For more information, see "Add and Delete Scripts" below.
- *Script to call when objects are deleted*
- **Script to call when objects are deleted**
*Optional*
The physical path of a Zope script which will receive notifications
when objects are deleted from the Transient Object Container, either
......
......@@ -17,7 +17,9 @@ TransientObjectContainer - Manage
The Zope id of the Transient Object Container.
- *Title*
- **Title**
*Optional*
The title of the object.
......@@ -30,7 +32,11 @@ TransientObjectContainer - Manage
If you change the timeout value, all objects in the transient
container will be flushed.
- *Script to call when objects are added*
If the timeout value is "0", objects will not time out.
- **Script to call when objects are added**
*Optional*
The physical path of of a Zope script which will receive notifications
when objects are added to the Transient Object Container.
......@@ -39,7 +45,9 @@ TransientObjectContainer - Manage
For more information, see "Add and Delete Scripts" below.
- *Script to call when objects are deleted*
- **Script to call when objects are deleted**
*Optional*
The physical path of a Zope script which will receive notifications
when objects are deleted from the Transient Object Container, either
......
......@@ -79,7 +79,7 @@ Transient Objects
"""
class TransientObjectContainer(Interface.Base):
class TransientObjectContainer:
"""
TransientObjectContainers hold transient objects, most often,
session data.
......@@ -202,7 +202,7 @@ class TransientObjectContainer(Interface.Base):
"""
class TransientObject(Interface.Base):
class TransientObject:
"""
A transient object is a temporary object contained in a transient
object container.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment