[Zope-CVS] CVS: Packages/JobBoardEx/Views/Browser - JobView.py:1.4

Barry Warsaw barry@wooz.org
Wed, 20 Mar 2002 17:29:36 -0500


Update of /cvs-repository/Packages/JobBoardEx/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv2140/Views/Browser

Modified Files:
	JobView.py 
Log Message:
Get rid of the back() method, since the form action now points to ..

Also, we have a hacky method called shared_display() which digs the
macro out of the JobView.pt.


=== Packages/JobBoardEx/Views/Browser/JobView.py 1.3 => 1.4 ===
     simpleView = PageTemplateFile('JobView.pt')
 
-    def back(self, REQUEST):
-        # This gets us back to the job summary view (i.e. JobListView)
-        return REQUEST.response('../')
+    def shared_display(self):
+        return self.simpleView.macros['shared_display']
 
     # Add accessor methods so the security framework can do assertion.  The
     # page template can't use the attributes on the Job object directly. :(