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
e30d5559
Commit
e30d5559
authored
Nov 06, 1997
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modified to pass access radio box settings into add templates.
parent
4d43147b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
lib/python/OFS/ObjectManager.py
lib/python/OFS/ObjectManager.py
+12
-4
No files found.
lib/python/OFS/ObjectManager.py
View file @
e30d5559
__doc__
=
"""Object Manager
__doc__
=
"""Object Manager
$Id: ObjectManager.py,v 1.1
4 1997/11/05 16:39:10 brian
Exp $"""
$Id: ObjectManager.py,v 1.1
5 1997/11/06 15:39:30 jim
Exp $"""
__version__
=
'$Revision: 1.1
4
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
5
$'
[
11
:
-
2
]
from
SingleThreadedTransaction
import
Persistent
from
SingleThreadedTransaction
import
Persistent
...
@@ -242,10 +242,15 @@ class ObjectManager(Acquirer,Management,Persistent):
...
@@ -242,10 +242,15 @@ class ObjectManager(Acquirer,Management,Persistent):
"""Add a subordinate object"""
"""Add a subordinate object"""
for
t
in
self
.
meta_types
:
for
t
in
self
.
meta_types
:
if
t
[
'name'
]
==
type
:
if
t
[
'name'
]
==
type
:
return
getattr
(
self
,
t
[
'action'
])(
self
,
REQUEST
)
return
getattr
(
self
,
t
[
'action'
])(
self
,
REQUEST
,
aclEChecked
=
''
,
aclAChecked
=
' CHECKED'
,
aclPChecked
=
''
)
for
t
in
self
.
dynamic_meta_types
:
for
t
in
self
.
dynamic_meta_types
:
if
t
[
'name'
]
==
type
:
if
t
[
'name'
]
==
type
:
return
getattr
(
self
,
t
[
'action'
])(
self
,
REQUEST
)
return
getattr
(
self
,
t
[
'action'
])(
self
,
REQUEST
,
aclEChecked
=
''
,
aclAChecked
=
' CHECKED'
,
aclPChecked
=
''
)
raise
'BadRequest'
,
'Unknown object type: %s'
%
type
raise
'BadRequest'
,
'Unknown object type: %s'
%
type
def
manage_delObjects
(
self
,
ids
,
REQUEST
):
def
manage_delObjects
(
self
,
ids
,
REQUEST
):
...
@@ -394,6 +399,9 @@ class ObjectManager(Acquirer,Management,Persistent):
...
@@ -394,6 +399,9 @@ class ObjectManager(Acquirer,Management,Persistent):
##############################################################################
##############################################################################
#
#
# $Log: ObjectManager.py,v $
# $Log: ObjectManager.py,v $
# Revision 1.15 1997/11/06 15:39:30 jim
# Modified to pass access radio box settings into add templates.
#
# Revision 1.14 1997/11/05 16:39:10 brian
# Revision 1.14 1997/11/05 16:39:10 brian
# Style fix
# Style fix
#
#
...
...
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