Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
39a64462
Commit
39a64462
authored
Nov 05, 2001
by
matt@zope.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated help files
parent
8f9b6fe2
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
77 additions
and
4 deletions
+77
-4
lib/python/Products/Transience/dtml/addTransientObjectContainer.dtml
...Products/Transience/dtml/addTransientObjectContainer.dtml
+2
-2
lib/python/Products/Transience/dtml/manageImpExpTransientObjects.dtml
...roducts/Transience/dtml/manageImpExpTransientObjects.dtml
+5
-1
lib/python/Products/Transience/dtml/manageTransientObjectContainer.dtml
...ducts/Transience/dtml/manageTransientObjectContainer.dtml
+5
-1
lib/python/Products/Transience/help/Transience-change.stx
lib/python/Products/Transience/help/Transience-change.stx
+49
-0
lib/python/Products/Transience/help/Transience-export.stx
lib/python/Products/Transience/help/Transience-export.stx
+16
-0
No files found.
lib/python/Products/Transience/dtml/addTransientObjectContainer.dtml
View file @
39a64462
...
...
@@ -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">
...
...
lib/python/Products/Transience/dtml/manageImpExpTransientObjects.dtml
View file @
39a64462
<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
...
...
lib/python/Products/Transience/dtml/manageTransientObjectContainer.dtml
View file @
39a64462
<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">
...
...
lib/python/Products/Transience/help/Transience-change.stx
0 → 100644
View file @
39a64462
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
lib/python/Products/Transience/help/Transience-export.stx
0 → 100644
View file @
39a64462
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment