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
4c2e25b0
Commit
4c2e25b0
authored
Sep 07, 2000
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merged fixes for 1594/1595 from 2.2 branch
parent
35168295
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
lib/python/App/FactoryDispatcher.py
lib/python/App/FactoryDispatcher.py
+7
-1
No files found.
lib/python/App/FactoryDispatcher.py
View file @
4c2e25b0
...
@@ -114,6 +114,8 @@ class FactoryDispatcher(Acquisition.Implicit):
...
@@ -114,6 +114,8 @@ class FactoryDispatcher(Acquisition.Implicit):
"""Provide a namespace for product "methods"
"""Provide a namespace for product "methods"
"""
"""
_owner
=
UnownableOwner
def
__init__
(
self
,
product
,
dest
,
REQUEST
=
None
):
def
__init__
(
self
,
product
,
dest
,
REQUEST
=
None
):
if
hasattr
(
product
,
'aq_base'
):
product
=
product
.
aq_base
if
hasattr
(
product
,
'aq_base'
):
product
=
product
.
aq_base
self
.
_product
=
product
self
.
_product
=
product
...
@@ -135,7 +137,11 @@ class FactoryDispatcher(Acquisition.Implicit):
...
@@ -135,7 +137,11 @@ class FactoryDispatcher(Acquisition.Implicit):
def
DestinationURL
(
self
):
def
DestinationURL
(
self
):
"Return the URL for the destination for factory output"
"Return the URL for the destination for factory output"
return
self
.
_u
url
=
getattr
(
self
,
'_u'
,
None
)
if
url
is
None
:
url
=
self
.
Destination
().
absolute_url
()
return
url
DestinationURL__roles__
=
None
DestinationURL__roles__
=
None
def
__getattr__
(
self
,
name
):
def
__getattr__
(
self
,
name
):
...
...
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