[Checkins]
SVN: five.customerize/branches/plone-3.0-branch/src/five/customerize/zpt.py
enable the customized template object to "remember" its name,
so otherwise matching registrations can be distinguished
Andreas Zeidler
az at zitc.de
Fri Aug 17 00:01:23 EDT 2007
Log message for revision 78893:
enable the customized template object to "remember" its name, so otherwise matching registrations can be distinguished
Changed:
U five.customerize/branches/plone-3.0-branch/src/five/customerize/zpt.py
-=-
Modified: five.customerize/branches/plone-3.0-branch/src/five/customerize/zpt.py
===================================================================
--- five.customerize/branches/plone-3.0-branch/src/five/customerize/zpt.py 2007-08-17 03:22:12 UTC (rev 78892)
+++ five.customerize/branches/plone-3.0-branch/src/five/customerize/zpt.py 2007-08-17 04:01:23 UTC (rev 78893)
@@ -23,9 +23,10 @@
) + ZopePageTemplate.manage_options[2:]
def __init__(self, id, text=None, content_type='text/html', strict=True,
- encoding='utf-8', view=None, permission=None):
+ encoding='utf-8', view=None, permission=None, name=None):
self.view = view
self.permission = permission
+ self.name = name
super(TTWViewTemplate, self).__init__(id, text, content_type, encoding,
strict)
More information about the Checkins
mailing list