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
6bf82fea
Commit
6bf82fea
authored
Jul 24, 1999
by
Amos Latteier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor changes to allow DOM access to DTMLMethod and DTML Document properties.
parent
c8ae5ffb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
lib/python/OFS/DTMLDocument.py
lib/python/OFS/DTMLDocument.py
+2
-2
lib/python/OFS/DTMLMethod.py
lib/python/OFS/DTMLMethod.py
+3
-2
No files found.
lib/python/OFS/DTMLDocument.py
View file @
6bf82fea
...
...
@@ -84,7 +84,7 @@
##############################################################################
"""DTML Document objects."""
__version__
=
'$Revision: 1.2
8
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.2
9
$'
[
11
:
-
2
]
from
DocumentTemplate.DT_Util
import
InstanceDict
,
TemplateDict
from
ZPublisher.Converters
import
type_converters
from
Globals
import
HTML
,
HTMLFile
,
MessageDialog
...
...
@@ -100,7 +100,7 @@ import Globals
done
=
'done'
class
DTMLDocument
(
DTMLMethod
,
PropertyManager
):
class
DTMLDocument
(
PropertyManager
,
DTMLMethod
):
"""DTML Document objects are DocumentTemplate.HTML objects that act
as methods whose 'self' is the DTML Document itself."""
...
...
lib/python/OFS/DTMLMethod.py
View file @
6bf82fea
...
...
@@ -84,7 +84,7 @@
##############################################################################
"""DTML Method objects."""
__version__
=
'$Revision: 1.3
0
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.3
1
$'
[
11
:
-
2
]
from
Globals
import
HTML
,
HTMLFile
,
MessageDialog
from
string
import
join
,
split
,
strip
,
rfind
,
atoi
,
lower
...
...
@@ -94,13 +94,14 @@ from DocumentTemplate.DT_Util import cDocument
from
PropertyManager
import
PropertyManager
from
AccessControl.Role
import
RoleManager
from
webdav.common
import
rfc1123_date
from
ZDOM
import
ElementWithTitle
from
DateTime.DateTime
import
DateTime
from
urllib
import
quote
import
ts_regex
,
Globals
,
sys
,
Acquisition
class
DTMLMethod
(
cDocument
,
HTML
,
Acquisition
.
Implicit
,
RoleManager
,
Item_w__name__
):
ElementWithTitle
,
Item_w__name__
):
"""DTML Method objects are DocumentTemplate.HTML objects that act
as methods of their containers."""
meta_type
=
'DTML Method'
...
...
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