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
e218383f
Commit
e218383f
authored
Jul 23, 1999
by
cathi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DOM Implementation in Zope
parent
ef4bdd2d
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
422 additions
and
5 deletions
+422
-5
lib/python/OFS/PropertyManager.py
lib/python/OFS/PropertyManager.py
+3
-2
lib/python/OFS/SimpleItem.py
lib/python/OFS/SimpleItem.py
+5
-3
lib/python/OFS/ZDOM.py
lib/python/OFS/ZDOM.py
+414
-0
No files found.
lib/python/OFS/PropertyManager.py
View file @
e218383f
...
...
@@ -84,9 +84,10 @@
##############################################################################
"""Property management"""
__version__
=
'$Revision: 1.1
5
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
6
$'
[
11
:
-
2
]
import
ExtensionClass
,
Globals
import
ZDOM
from
PropertySheets
import
DefaultPropertySheets
,
vps
from
ZPublisher.Converters
import
type_converters
from
Globals
import
HTMLFile
,
MessageDialog
...
...
@@ -98,7 +99,7 @@ from DateTime import DateTime
class
PropertyManager
(
ExtensionClass
.
Base
):
class
PropertyManager
(
ExtensionClass
.
Base
,
ZDOM
.
ElementWithAttributes
):
"""
The PropertyManager mixin class provides an object with
transparent property management. An object which wants to
...
...
lib/python/OFS/SimpleItem.py
View file @
e218383f
...
...
@@ -89,8 +89,8 @@ Aqueduct database adapters, etc.
This module can also be used as a simple template for implementing new
item types.
$Id: SimpleItem.py,v 1.6
1 1999/07/21 13:17:43 jim
Exp $'''
__version__
=
'$Revision: 1.6
1
$'
[
11
:
-
2
]
$Id: SimpleItem.py,v 1.6
2 1999/07/23 13:58:27 cathi
Exp $'''
__version__
=
'$Revision: 1.6
2
$'
[
11
:
-
2
]
import
regex
,
sys
,
Globals
,
App
.
Management
,
Acquisition
from
webdav.Resource
import
Resource
...
...
@@ -104,10 +104,12 @@ from urllib import quote
import
App.Common
import
marshal
import
ZDOM
HTML
=
Globals
.
HTML
class
Item
(
Base
,
Resource
,
CopySource
,
App
.
Management
.
Tabs
):
class
Item
(
Base
,
Resource
,
CopySource
,
App
.
Management
.
Tabs
,
ZDOM
.
Element
):
"""A simple Principia object. Not Folderish."""
isPrincipiaFolderish
=
0
isTopLevelPrincipiaApplicationObject
=
0
...
...
lib/python/OFS/ZDOM.py
0 → 100644
View file @
e218383f
This diff is collapsed.
Click to expand it.
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