[Zope-Checkins] CVS: Zope/lib/python/Products/Transience/dtml - addTransientObjectContainer.dtml:1.6 manageTransientObjectContainer.dtml:1.5
Chris McDonough
chrism@zope.com
Sat, 17 Nov 2001 10:45:33 -0500
Update of /cvs-repository/Zope/lib/python/Products/Transience/dtml
In directory cvs.zope.org:/tmp/cvs-serv23584/dtml
Modified Files:
addTransientObjectContainer.dtml
manageTransientObjectContainer.dtml
Log Message:
Minor test, documentation, and appearance changes according to some of Amos' comments.
=== Zope/lib/python/Products/Transience/dtml/addTransientObjectContainer.dtml 1.5 => 1.6 ===
<p>
-Transient Object Containers support <b>Notification Targets</b> which
+Transient Object Containers support <b>Add and Delete Scripts</b> which
are methods which are invoked when transient objects are added or deleted
-from the container. A notification target is invoked with the item being
-operated upon, and the transient object container as arguments. For the add
-and delete notification targets, specify the Zope physical path to the
-method to be invoked to receive the notification
+from the container. A add/delete script is invoked with the item being
+operated upon and the transient object container as arguments. Specify
+the Zope physical path to the method to be invoked to receive the notification
(e.g. '/folder/add_notifier').
</p>
</div>
@@ -71,7 +70,7 @@
<TR>
<TD ALIGN="LEFT" VALIGN="TOP">
<div class="form-label">
- <em>Add Notification Target</em>
+ <em>Script to call upon object add</em>
</div>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
@@ -82,7 +81,7 @@
<TR>
<TD ALIGN="LEFT" VALIGN="TOP">
<div class="form-label">
- <em>Delete Notification Target</em>
+ <em>Script to call upon object delete</em>
</div>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
=== Zope/lib/python/Products/Transience/dtml/manageTransientObjectContainer.dtml 1.4 => 1.5 ===
<table cellspacing="2">
<form action="manage_changeTransientObjectContainer" method="post">
+<tr><td> </td></tr>
+<tr>
+<td class="form-help" colspan=2>
+Transient Object Containers are used to store transient data.
+Transient data will persist, but only for a user-specified period of time
+(the "data object timeout") after which it will be flushed.
+</td>
+</tr>
+<tr><td> </td></tr>
+
<tr>
<td align="left" valign="top">
<div class="form-label">
@@ -24,11 +34,13 @@
</div>
</td>
</tr>
+
<tr>
<td>
</td>
</tr>
+
<tr>
<td align="left" valign="top">
<div class="form-label">
@@ -36,7 +48,7 @@
</div>
</td>
<td align="left" valign="top">
- <input type="text" name="title" size=20 value="&dtml-title;">
+ <input type="text" name="title" size=30 value="&dtml-title;">
</td>
</tr>
<tr>
@@ -54,7 +66,7 @@
<tr>
<td align="left" valign="top">
<div class="form-label">
- Add Notification Target
+ Script to call when objects are added
</div>
</td>
<td align="left" valign="top">
@@ -66,7 +78,7 @@
<tr>
<td align="left" valign="top">
<div class="form-label">
- Delete Notification Target
+ Script to call when objects are deleted
</div>
</td>
<td align="left" valign="top">
@@ -82,7 +94,7 @@
</td>
</tr>
<tr>
- <td align="center" valign="top">
+ <td align="center" valign="top" colspan=2>
<input class="form-element" type=submit name=submit value=" Change ">
</td>
</tr>
@@ -92,7 +104,7 @@
</td>
</tr>
<tr>
- <td align="left" valign="top">
+ <td align="left" valign="top" colspan=2>
<div class="form-label">
<font color="red">WARNING!</font>
The data objects existing in this transient object container