[Zope3-checkins]
SVN: Zope3/branches/roger-contentprovider/src/zope/contentprovider/
intermediate state for tales and manager
Helmut Merz
helmutm at cy55.de
Thu Oct 6 16:32:45 EDT 2005
Log message for revision 38829:
intermediate state for tales and manager
Changed:
U Zope3/branches/roger-contentprovider/src/zope/contentprovider/README.txt
U Zope3/branches/roger-contentprovider/src/zope/contentprovider/tales.py
-=-
Modified: Zope3/branches/roger-contentprovider/src/zope/contentprovider/README.txt
===================================================================
--- Zope3/branches/roger-contentprovider/src/zope/contentprovider/README.txt 2005-10-06 20:32:26 UTC (rev 38828)
+++ Zope3/branches/roger-contentprovider/src/zope/contentprovider/README.txt 2005-10-06 20:32:45 UTC (rev 38829)
@@ -547,7 +547,7 @@
On the other hand, it is as easy to remove a column:
- >>> showColumns = ['name', 'size']
+ >>> showColumns = ['name']
>>> print view().strip()
<html>
<body>
Modified: Zope3/branches/roger-contentprovider/src/zope/contentprovider/tales.py
===================================================================
--- Zope3/branches/roger-contentprovider/src/zope/contentprovider/tales.py 2005-10-06 20:32:26 UTC (rev 38828)
+++ Zope3/branches/roger-contentprovider/src/zope/contentprovider/tales.py 2005-10-06 20:32:45 UTC (rev 38829)
@@ -67,13 +67,11 @@
if cpManagerClass is not None:
cpManager = cpManager(context, request, view, region)
-
if cpManager is None:
cpManager = manager.DefaultContentProviderManager(
context, request, view, region)
-
- providers = cpManager.values(region)
+ providers = cpManager.values()
#providers = cpManager.values()
# Insert the data gotten from the context
@@ -116,7 +114,7 @@
cpManager = manager.DefaultContentProviderManager(
context, request, view, region)
- provider = cpManager.__getitem__(self._name, region)
+ provider = cpManager.__getitem__(self._name)
#provider = cpManager[self._name]
# Insert the data gotten from the context
More information about the Zope3-Checkins
mailing list