[Checkins] SVN: five.customerize/branches/plone-3.0-branch-with-viewlet-support/src/five/customerize/zpt.py `findViewletTemplate` isn't used when rendering at the moment

Andreas Zeidler az at zitc.de
Thu Aug 16 10:14:20 EDT 2007


Log message for revision 78883:
  `findViewletTemplate` isn't used when rendering at the moment

Changed:
  U   five.customerize/branches/plone-3.0-branch-with-viewlet-support/src/five/customerize/zpt.py

-=-
Modified: five.customerize/branches/plone-3.0-branch-with-viewlet-support/src/five/customerize/zpt.py
===================================================================
--- five.customerize/branches/plone-3.0-branch-with-viewlet-support/src/five/customerize/zpt.py	2007-08-16 14:11:40 UTC (rev 78882)
+++ five.customerize/branches/plone-3.0-branch-with-viewlet-support/src/five/customerize/zpt.py	2007-08-16 14:14:19 UTC (rev 78883)
@@ -8,7 +8,6 @@
 from zope.interface import implements
 
 from five.customerize.interfaces import ITTWViewTemplate
-from five.customerize.utils import findViewletTemplate
 
 
 class TTWViewTemplate(ZopePageTemplate):
@@ -120,11 +119,7 @@
 
     def render(self, *args, **kwargs):
         """ render the viewlet using the customized template """
-        attr, tmpl = findViewletTemplate(self.view)
         view = self._getViewlet()
-
-        # TODO: the bound names still have to be fixed here...
-
         # we need to override the template's context and request as
         # they generally point to the wrong objects (a template's
         # context usually is what it was acquired from, which isn't



More information about the Checkins mailing list