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
f693e300
Commit
f693e300
authored
Jul 10, 2010
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unhelpful bindings explanation
parent
c7b77615
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
38 deletions
+1
-38
src/Products/PythonScripts/help/Bindings.stx
src/Products/PythonScripts/help/Bindings.stx
+0
-36
src/Shared/DC/Scripts/BindingsUI.py
src/Shared/DC/Scripts/BindingsUI.py
+1
-2
No files found.
src/Products/PythonScripts/help/Bindings.stx
deleted
100644 → 0
View file @
c7b77615
Bindings View: View/Change Script Bindings
Description
This view allows you to set "bindings" (associations between a
name and a Zope object) in the context of a single Script.
These names can be used within the Script to refer to objects
outside the script.
Controls
'Context' -- associate a name with the acqusition parent of
the script when it is invoked. The default name for this
binding is "context".
'Container' -- associate a name with the physical parent
container of the script when it is invoked. The default name
for this binding is "container".
'Script' -- associate a name with the script object itself.
There is no default name for this binding.
'Namespace' -- associate a name with the DTML "namespace"
object. When this script is called from DTML, the namespace
name will be bound to the DTML namespace object, otherwise it
will be bound to an empty namespace. There is no default name
for this binding.
'Subpath' -- associate a name with the portion of the URL path
after the script's name if the script is called directly via a
URL. The subpath is represented as a list of strings split a
slash separators if the script is called directly from a URL.
Otherwise, the subpath is an empty list. The default name for
this binding is "traverse_subpath".
'Save Changes' -- saves changes made to the elements of this form.
src/Shared/DC/Scripts/BindingsUI.py
View file @
f693e300
...
...
@@ -25,8 +25,7 @@ class BindingsUI(Bindings):
manage_options
=
(
{
'label'
:
'Bindings'
,
'action'
:
'ZBindingsHTML_editForm'
,
'help'
:(
'PythonScripts'
,
'Bindings.stx'
)},
'action'
:
'ZBindingsHTML_editForm'
},
)
security
.
declareProtected
(
view_management_screens
,
...
...
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