[Zope3-checkins] CVS: zopeproducts/friendlyfolder - __init__.py:1.2 configure.zcml:1.2 interfaces.py:1.2

Vincenzo Di Somma vincenzo@reflab.it
Tue, 24 Jun 2003 09:25:38 -0400


Update of /cvs-repository/zopeproducts/friendlyfolder
In directory cvs.zope.org:/tmp/cvs-serv28085

Modified Files:
	__init__.py configure.zcml interfaces.py 
Log Message:
swtiched to factory instead of class

=== zopeproducts/friendlyfolder/__init__.py 1.1 => 1.2 ===
--- zopeproducts/friendlyfolder/__init__.py:1.1	Mon Jun 23 13:32:25 2003
+++ zopeproducts/friendlyfolder/__init__.py	Tue Jun 24 09:25:06 2003
@@ -27,6 +27,7 @@
 from zope.app.content.folder import Folder
 from zopeproducts.friendlyfolder.interfaces import ICaseInsensitiveFolder
 from zopeproducts.friendlyfolder.interfaces import IFriendlyContainerTraverser
+from zope.component import getDefaultViewName
 
 __metaclass__ = type
 


=== zopeproducts/friendlyfolder/configure.zcml 1.1 => 1.2 ===
--- zopeproducts/friendlyfolder/configure.zcml:1.1	Mon Jun 23 13:32:25 2003
+++ zopeproducts/friendlyfolder/configure.zcml	Tue Jun 24 09:25:06 2003
@@ -1,43 +1,5 @@
 <zopeConfigure xmlns="http://namespaces.zope.org/zope">
 
-<!--
-<content class=".CaseInsensitiveFolder">
-
-  <implements interface="zope.app.interfaces.container.IContentContainer" />
-
-  <implements
-     interface="zope.app.interfaces.annotation.IAttributeAnnotatable"
-     />
-
-  <factory
-      id="CaseInsensitiveFolder"
-      permission="zope.ManageContent"
-      title="Case insensitive folder"
-      description="Case insensitive folder" 
-      />
-
-  <allow
-      interface="zope.app.interfaces.services.service.Read"
-      />
-
-  <require
-      permission="zope.ManageServices"
-      interface="zope.app.interfaces.services.service.Write"
-      />
-
-  <require
-      permission="zope.View"
-      interface="zope.app.interfaces.container.IReadContainer" 
-      />
-
-  <require
-      permission="zope.ManageContent"
-      interface="zope.app.interfaces.container.IWriteContainer"
-      />
-</content>
-
--->
-
   <factory
       id="CaseInsensitiveFolder"
       permission="zope.ManageContent"


=== zopeproducts/friendlyfolder/interfaces.py 1.1 => 1.2 ===
--- zopeproducts/friendlyfolder/interfaces.py:1.1	Mon Jun 23 13:32:25 2003
+++ zopeproducts/friendlyfolder/interfaces.py	Tue Jun 24 09:25:06 2003
@@ -21,6 +21,7 @@
 from zope.publisher.interfaces.xmlrpc import IXMLRPCPublisher
 from zope.app.interfaces.content.folder import IFolder
 
+
 class IFriendlyContainerTraverser(IBrowserPublisher, IXMLRPCPublisher):
     """Friendly Traverser"""