[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/ZPTPage - ZPTPage.py:1.10.2.1 configure.zcml:1.8.2.1

Jim Fulton jim@zope.com
Thu, 3 Oct 2002 18:17:22 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/ZPTPage
In directory cvs.zope.org:/tmp/cvs-serv27190/lib/python/Zope/App/OFS/Content/ZPTPage

Modified Files:
      Tag: ZopeDublinCore-branch
	ZPTPage.py configure.zcml 
Log Message:
Checking in still-unfinished dublin core work on
ZopeDublinCore-branch.

To do:

  - Make a number of existing tests work now that a lot of views 
    need to generate events. (Perhaps these will need to 
    be factored into adapters and views. Sigh.)

  - Make object events able to compute locations for there
    objects when an location hasn't been provided to the constructor.

  - Add some UI for editing at least some meta data.

Handling of lists (e.g. subjects, creators) may need some more thought
as these will often want to come from standard system-provided lists.




=== Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/ZPTPage.py 1.10 => 1.10.2.1 ===
--- Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/ZPTPage.py:1.10	Wed Sep 18 11:05:50 2002
+++ Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/ZPTPage.py	Thu Oct  3 18:16:51 2002
@@ -65,8 +65,7 @@
 class ZPTPage(AppPT, PageTemplate, Persistent):
 
     # XXX Putting IFileContent at the end gives an error!
-    __implements__ = IFileContent, IZPTPage, IRenderZPTPage, \
-                     IAnnotatable
+    __implements__ = IFileContent, IZPTPage, IRenderZPTPage
 
     def getSource(self):
         '''See interface Zope.App.OFS.ZPTPage.ZPTPage.IZPTPage'''


=== Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/configure.zcml 1.8 => 1.8.2.1 ===
--- Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/configure.zcml:1.8	Thu Aug  1 12:06:41 2002
+++ Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/configure.zcml	Thu Oct  3 18:16:51 2002
@@ -15,13 +15,11 @@
                       interface=".ZPTPage.IZPTPage" />
     <require permission="Zope.View"
                       interface=".ZPTPage.IRenderZPTPage" />
-  </content>
 
+    <implements interface="Zope.App.OFS.Annotation.IAttributeAnnotatable." />
+    <implements interface="Zope.App.DublinCore.IZopeDublinCoreAnnotatable." />
+  </content>
 
-  <adapter
-      factory="Zope.App.OFS.Annotation.AttributeAnnotations."
-      provides="Zope.App.OFS.Annotation.IAnnotations."
-      for=".ZPTPage.IZPTPage" />
 
 
   <include package=".Views" />