[Zope-Checkins] CVS: Zope/lib/python/Products/PageTemplates -
PageTemplateFile.py:1.29.14.1
Stuart Bishop
zen at shangri-la.dropbear.id.au
Sat Dec 13 01:07:11 EST 2003
Update of /cvs-repository/Zope/lib/python/Products/PageTemplates
In directory cvs.zope.org:/tmp/cvs-serv3046/lib/python/Products/PageTemplates
Modified Files:
Tag: zen-fix__name__-branch
PageTemplateFile.py
Log Message:
Added getId() to Item_w__name__, since the one inherited from Item
has broken __name__ handling.
PageTemplateFile now using Item_w__name__ mixin, making getId()
and absolute_url() actually work.
=== Zope/lib/python/Products/PageTemplates/PageTemplateFile.py 1.29 => 1.29.14.1 ===
--- Zope/lib/python/Products/PageTemplates/PageTemplateFile.py:1.29 Sat Oct 4 14:56:58 2003
+++ Zope/lib/python/Products/PageTemplates/PageTemplateFile.py Sat Dec 13 01:06:41 2003
@@ -29,8 +29,9 @@
from ComputedAttribute import ComputedAttribute
from Acquisition import aq_parent, aq_inner
from App.config import getConfiguration
+from OFS.SimpleItem import Item_w__name__
-class PageTemplateFile(Script, PageTemplate, Traversable):
+class PageTemplateFile(Item_w__name__, Script, PageTemplate, Traversable):
"Zope wrapper for filesystem Page Template using TAL, TALES, and METAL"
meta_type = 'Page Template (File)'
More information about the Zope-Checkins
mailing list