[Zope-CVS] CVS: Packages/JobBoardEx - JobListView.py:1.14
Guido van Rossum
guido@python.org
Tue, 26 Mar 2002 17:39:21 -0500
Update of /cvs-repository/Packages/JobBoardEx
In directory cvs.zope.org:/tmp/cvs-serv27523
Modified Files:
JobListView.py
Log Message:
Use new publisher API.
=== Packages/JobBoardEx/JobListView.py 1.13 => 1.14 ===
self.joblist = joblist
- def browser_traverse(self, request, name):
+ def publishTraverse(self, request, name):
job = None
if name == "new":
# Special case: editing a new job
@@ -49,7 +49,7 @@
contact = request.get('contact')
return Job(submitter, summary, description, contact)
- def browser_default(self, request):
+ def browserDefault(self, request):
default_name = getRequestDefaultViewName(self.joblist, request)
return self.joblist, [default_name]