Commit 39a64462 authored by matt@zope.com's avatar matt@zope.com

Updated help files

parent 8f9b6fe2
......@@ -2,8 +2,8 @@
<dtml-var "manage_form_title(this(), _,
form_title='Add Transient Object Container',
help_product='Zope Help',
help_topic='Transience.stx'
help_product='Transience',
help_topic='Transience-add.stx'
)">
<FORM ACTION="constructTransientObjectContainer" METHOD="POST">
......
<dtml-var manage_page_header>
<dtml-var manage_tabs>
<dtml-var "manage_tabs(this(), _,
form_title='Change Transient Object Container',
help_product='Transience',
help_topic='Transience-export.stx'
)">
<div class="form-help">
Transient object data will be imported/exported to/from the file
'var/transientobjects.zexp' on your server's hard disk in your Zope
......
<dtml-var manage_page_header>
<dtml-var manage_tabs>
<dtml-var "manage_tabs(this(), _,
form_title='Change Transient Object Container',
help_product='Transience',
help_topic='Transience-change.stx'
)">
<table cellspacing="2">
<form action="manage_changeTransientObjectContainer" method="post">
......
TransientObjectContainer - Change
Transient Object Containers
A TransientObjectContainer contains objects which will expire after
a given period of time. A TransientObjectContainer is used by
SessionDataMangers to store session information.
To change a TransientObjectContainer, specify the following:
- *title*
The title of the object.
- **timeout_minutes**
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 timeout_minutes elapses.
- *addNotification*
The name of an object to receive notifications when objects are
added to the TransientObjectContainer. See NotificationTargets.
- *delNotification*
The name of an object to receive notifications when objects are
deleted from the TransientObjectContainer. See NotificationTargets.
Notification Targets
A NotificationTarget is a callable (a bound method, function, or
named Zope object) which is called when an object is added or removed
from a TransientObjectContainer.
NotificationTargets are called with two arguments, the first being
the item being added or removed from the container, and the second
being the container itself. Within Zope, the container will be
acquisition wrapped, allowing the container to be used as a context
to reference other Zope objects.
See Also
- "Transient Objects":Transience.stx
- "Transience API":TransienceInterfaces.py
TransientObjectContainer - Import/Export
You may import or export transient objects *inside* a transient object
container.
For exporting, click the **Export Transient Objects** button.
The data in the transient object container will be saved to a special
file 'var/transientobjects.zexp' in your Zope directory.
For importing, click the **Import Transient Objects** button.
The data in the special file 'var/transientobjects.zexp' will be read,
creating the transient objects in your transient object container.
See Also
- "Transient Object Containers":Transience.stx
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