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