[Zope-CVS] CVS: Packages/JobBoardEx - JobList.zcml:1.18 JobListView.py:1.15

Steve Alexander steve@cat-box.net
Tue, 28 May 2002 11:24:51 -0400


Update of /cvs-repository/Packages/JobBoardEx
In directory cvs.zope.org:/tmp/cvs-serv28373

Modified Files:
	JobList.zcml JobListView.py 
Log Message:
brought zcml up to date with current zope 3 stuff.
fixed import of PageTemplateFile


=== Packages/JobBoardEx/JobList.zcml 1.17 => 1.18 ===
         class=".JobView.CreateJobView"
         permission_id="Zope.Public"
-        methods="index, action, preview, cancel"
+        names="index, action, preview, cancel"
 />
 
 <!-- JobListTraverser -->
@@ -76,9 +76,9 @@
 />
 
 <security:protectClass
-        name=".JobListView.JobListSummaryView"
+        class=".JobListView.JobListSummaryView"
         permission_id="Zope.Public"
-        methods="index, getApprovedJobs"
+        names="index, getApprovedJobs"
 />
 
 <!-- JobView -->
@@ -92,13 +92,13 @@
 <browser:defaultView
         for=".IJob."
         name="display"
-        factory=".JobView.JobView"
+        factory=".JobView."
 />
 
 <security:protectClass
         class=".JobView."
         permission_id="Zope.View"
-        methods="index, getSubmitter, getSummary, getDescription, getContact"
+        names="index, getSubmitter, getSummary, getDescription, getContact"
 />
 
 <!-- JobEditView -->
@@ -112,7 +112,7 @@
 <security:protectClass
         class=".JobView.JobEditView"
         permission_id="Zope.Public"
-        methods="index, preview, cancel, edit, submit"
+        names="index, preview, cancel, edit, submit"
 />
 
 
@@ -129,7 +129,7 @@
 <security:protectClass
         class=".ApproveJobs."
         permission_id="Zope.View"
-        methods="index, back, submit, getPendingJobs"
+        names="index, back, submit, getPendingJobs"
 />
 
 </zopeConfigure>


=== Packages/JobBoardEx/JobListView.py 1.14 => 1.15 ===
-from Zope.PageTemplate import PageTemplateFile
+from Zope.PageTemplate.PageTemplateFile import PageTemplateFile
 from Zope.Publisher.Browser.IBrowserPublisher import IBrowserPublisher
 from Zope.ComponentArchitecture \
      import getRequestView, getRequestDefaultViewName