[Zope3-checkins] CVS: zopeproducts/zwiki/browser - wikipage.py:1.10
Stephan Richter
srichter@cosmos.phy.tufts.edu
Thu, 31 Jul 2003 14:01:56 -0400
Update of /cvs-repository/zopeproducts/zwiki/browser
In directory cvs.zope.org:/tmp/cvs-serv11207/browser
Modified Files:
wikipage.py
Log Message:
Now that the renderer code moved to the core, we can remove it from here.
=== zopeproducts/zwiki/browser/wikipage.py 1.9 => 1.10 ===
--- zopeproducts/zwiki/browser/wikipage.py:1.9 Tue Jul 8 22:42:15 2003
+++ zopeproducts/zwiki/browser/wikipage.py Thu Jul 31 14:00:52 2003
@@ -100,7 +100,7 @@
def renderItems(self, value):
name = self.name
# get items
- types = getService(self.context, "WikiSourceTypeRegistry")
+ types = getService(self.context, "SourceTypeRegistry")
items = types.getAllTitles()
# check if we want to select first item
@@ -163,7 +163,7 @@
def render(self):
"""Render the wiki page source."""
- types = getService(self.context, "WikiSourceTypeRegistry")
+ types = getService(self.context, "SourceTypeRegistry")
source = types.createObject(self.context.type,
self.context.source)
view = getView(source, None, self.request)
@@ -316,7 +316,7 @@
class WikiPageComment:
def comment(self, comment):
- types = getService(self.context, "WikiSourceTypeRegistry")
+ types = getService(self.context, "SourceTypeRegistry")
source = types.createObject(self.context.type, self.context.source)
comment = source.createComment(
comment,