[Zope3-checkins] CVS: Zope3/src/zope/app/presentation -
pagefolder.py:1.3 pagefolder.zcml:1.4 zpt.py:1.3 zpt.zcml:1.3
Stephan Richter
srichter at cosmos.phy.tufts.edu
Mon Mar 15 08:11:24 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/presentation
In directory cvs.zope.org:/tmp/cvs-serv12586/src/zope/app/presentation
Modified Files:
pagefolder.py pagefolder.zcml zpt.py zpt.zcml
Log Message:
Adjust package paths to new location of file representation interfaces.
=== Zope3/src/zope/app/presentation/pagefolder.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/presentation/pagefolder.py:1.2 Sat Mar 13 13:01:15 2004
+++ Zope3/src/zope/app/presentation/pagefolder.py Mon Mar 15 08:10:53 2004
@@ -41,7 +41,7 @@
from zope.publisher.interfaces.browser import IBrowserRequest
from zope.app.container.interfaces import IContainer
-from zope.app.interfaces.file import IDirectoryFactory
+from zope.app.filerepresentation.interfaces import IDirectoryFactory
from zope.fssync.server.interfaces import IObjectDirectory
from zope.app.registration.interfaces import IRegistrationManagerContainer
=== Zope3/src/zope/app/presentation/pagefolder.zcml 1.3 => 1.4 ===
--- Zope3/src/zope/app/presentation/pagefolder.zcml:1.3 Sat Mar 13 18:00:59 2004
+++ Zope3/src/zope/app/presentation/pagefolder.zcml Mon Mar 15 08:10:53 2004
@@ -27,14 +27,14 @@
<adapter
for=".pagefolder.IPageFolder"
- provides="zope.app.interfaces.file.IFileFactory"
+ provides="zope.app.filerepresentation.interfaces.IFileFactory"
factory=".zpt.ZPTFactory"
permission="zope.ManageServices"
/>
<adapter
for="zope.app.site.interfaces.ISiteManagementFolder"
- provides="zope.app.interfaces.file.IDirectoryFactory"
+ provides="zope.app.filerepresentation.interfaces.IDirectoryFactory"
factory=".pagefolder.PageFolderFactory"
permission="zope.ManageContent"
/>
=== Zope3/src/zope/app/presentation/zpt.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/presentation/zpt.py:1.2 Sat Mar 13 13:01:15 2004
+++ Zope3/src/zope/app/presentation/zpt.py Mon Mar 15 08:10:53 2004
@@ -11,7 +11,8 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Persistent PageTemplate-based View
+
$Id$
"""
import re
@@ -26,7 +27,8 @@
from zope.app.index.interfaces.text import ISearchableText
from zope.fssync.server.entryadapter import ObjectEntryAdapter, AttrMapping
from zope.fssync.server.interfaces import IObjectFile
-from zope.app.interfaces.file import IReadFile, IWriteFile, IFileFactory
+from zope.app.filerepresentation.interfaces import IReadFile, IWriteFile
+from zope.app.filerepresentation.interfaces import IFileFactory
from zope.app.pagetemplate.engine import AppPT
from zope.pagetemplate.pagetemplate import PageTemplate
=== Zope3/src/zope/app/presentation/zpt.zcml 1.2 => 1.3 ===
--- Zope3/src/zope/app/presentation/zpt.zcml:1.2 Sat Mar 13 18:00:59 2004
+++ Zope3/src/zope/app/presentation/zpt.zcml Mon Mar 15 08:10:53 2004
@@ -27,14 +27,14 @@
<adapter
for=".zpt.IZPTTemplate"
- provides="zope.app.interfaces.file.IReadFile"
+ provides="zope.app.filerepresentation.interfaces.IReadFile"
factory=".zpt.ReadFile"
permission="zope.ManageServices"
/>
<adapter
for=".zpt.IZPTTemplate"
- provides="zope.app.interfaces.file.IWriteFile"
+ provides="zope.app.filerepresentation.interfaces.IWriteFile"
factory=".zpt.WriteFile"
permission="zope.ManageServices"
/>
More information about the Zope3-Checkins
mailing list