[Zope3-checkins] CVS: Zope3/src/zope/app/publisher/browser -
__init__.py:1.3
Jim Fulton
jim at zope.com
Sun Sep 21 13:32:40 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/publisher/browser
In directory cvs.zope.org:/tmp/cvs-serv14523/src/zope/app/publisher/browser
Modified Files:
__init__.py
Log Message:
Provide BrowserView mixin that adds location support.
=== Zope3/src/zope/app/publisher/browser/__init__.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/publisher/browser/__init__.py:1.2 Wed Dec 25 09:13:09 2002
+++ Zope3/src/zope/app/publisher/browser/__init__.py Sun Sep 21 13:32:39 2003
@@ -1,2 +1,31 @@
+##############################################################################
#
-# This file is necessary to make this directory a package.
+# Copyright (c) 2003 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.
+#
+##############################################################################
+"""Provide zope app-server customizatioin of publisher browser facilities
+
+$Id$
+"""
+
+import zope.publisher.browser
+import zope.app.location
+
+class BrowserView(zope.publisher.browser.BrowserView,
+ zope.app.location.Location,
+ ):
+
+ def __init__(self, context, request):
+ self.context = context
+ self.request = request
+ self.__parent__ = context
+
+
More information about the Zope3-Checkins
mailing list