[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content - IFileContent.py:1.2 __init__.py:1.2 content.zcml:1.2
Jim Fulton
jim@zope.com
Mon, 10 Jun 2002 19:28:28 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content
In directory cvs.zope.org:/tmp/cvs-serv17445/lib/python/Zope/App/OFS/Content
Added Files:
IFileContent.py __init__.py content.zcml
Log Message:
Merged Zope-3x-branch into newly forked Zope3 CVS Tree.
=== Zope3/lib/python/Zope/App/OFS/Content/IFileContent.py 1.1 => 1.2 ===
+#
+# Copyright (c) 2002 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE
+#
+##############################################################################
+"""
+
+Revision information:
+$Id$
+"""
+from Interface import Interface
+
+class IFileContent(Interface):
+ """Marker interface for content that is managed as files
+
+ The default view for file content has effective URLs that don't end in
+ /. In particular, if the content inclused HTML, relative links in
+ the HTML are relative to the container the content is in.
+
+ """
=== Zope3/lib/python/Zope/App/OFS/Content/__init__.py 1.1 => 1.2 ===
+#
+# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Container package for TTW content-component implementations.
+
+Each content should be in a subpackages. Each content subpackage
+should have a Views subpackages with sub-packages for each view type
+containing the views for the content.
+
+"""
+
=== Zope3/lib/python/Zope/App/OFS/Content/content.zcml 1.1 => 1.2 ===
+ xmlns='http://namespaces.zope.org/zope'
+>
+
+ <include package=".File" file="file.zcml" />
+ <include package=".Folder" file="folder.zcml" />
+ <include package=".Image" file="image.zcml" />
+ <include package=".ZPTPage" file="zptpage.zcml" />
+
+</zopeConfigure>