[CMF-checkins] CVS: Products/CMFWiki - CMFWikiPage.py:1.17
Jens Vagelpohl
jens@zope.com
Tue, 23 Oct 2001 09:44:14 -0400
Update of /cvs-repository/Products/CMFWiki
In directory cvs.zope.org:/tmp/cvs-serv5756
Modified Files:
CMFWikiPage.py
Log Message:
replaced _getDefaultView with _getViewFor
changed link to wiki help in default frontpage content
=== Products/CMFWiki/CMFWikiPage.py 1.16 => 1.17 ===
import CMFWikiPermissions
from Products.CMFCore.PortalContent import PortalContent
+from Products.CMFCore.utils import _getViewFor
from Products.CMFDefault.SkinnedFolder import SkinnedFolder
from Products import CMFDefault
from Products.CMFDefault.DublinCore import DefaultDublinCoreImpl
@@ -130,7 +131,7 @@
'''
Invokes the default view.
'''
- view = self._getDefaultView()
+ view = _getViewFor( self )
if getattr(aq_base(view), 'isDocTemp', 0):
return apply(view, (self, REQUEST))
else: