[Zope-CVS] CVS: Packages/JobBoardEx - ApproveJobsView.py:1.9 IJob.py:1.11 IJobList.py:1.9 Job.py:1.9 JobCreateView.py:1.10 JobList.py:1.21 configure.zcml:1.12

Guido van Rossum guido@python.org
Wed, 25 Dec 2002 13:36:35 -0500


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

Modified Files:
	ApproveJobsView.py IJob.py IJobList.py Job.py JobCreateView.py 
	JobList.py configure.zcml 
Log Message:
Renamed to the point of being able to start Zope with this configured.
However, the default view seems gone...


=== Packages/JobBoardEx/ApproveJobsView.py 1.8 => 1.9 ===
--- Packages/JobBoardEx/ApproveJobsView.py:1.8	Tue Jun 18 13:38:20 2002
+++ Packages/JobBoardEx/ApproveJobsView.py	Wed Dec 25 13:36:35 2002
@@ -1,5 +1,5 @@
-from Zope.App.PageTemplate.ViewPageTemplateFile import ViewPageTemplateFile
-from Zope.Publisher.Browser.BrowserView import BrowserView
+from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
+from zope.publisher.browser import BrowserView
 
 class ApproveJobsView(BrowserView):
 


=== Packages/JobBoardEx/IJob.py 1.10 => 1.11 ===
--- Packages/JobBoardEx/IJob.py:1.10	Mon Jun 17 10:02:06 2002
+++ Packages/JobBoardEx/IJob.py	Wed Dec 25 13:36:35 2002
@@ -2,8 +2,8 @@
 IJob.py
 """
 
-from Interface import Interface
-from Interface.Attribute import Attribute
+from zope.interface import Interface
+from zope.interface import Attribute
 
 class IJob(Interface):
     """Interface for the basic Job"""


=== Packages/JobBoardEx/IJobList.py 1.8 => 1.9 ===
--- Packages/JobBoardEx/IJobList.py:1.8	Mon Jun 17 15:45:30 2002
+++ Packages/JobBoardEx/IJobList.py	Wed Dec 25 13:36:35 2002
@@ -1,4 +1,4 @@
-from Interface import Interface
+from zope.interface import Interface
 
 class IJobList(Interface):
 


=== Packages/JobBoardEx/Job.py 1.8 => 1.9 ===
--- Packages/JobBoardEx/Job.py:1.8	Thu Jun 13 16:09:46 2002
+++ Packages/JobBoardEx/Job.py	Wed Dec 25 13:36:35 2002
@@ -3,7 +3,7 @@
 """
 
 from IJob import IJob, JobState
-from Persistence import Persistent
+from persistence import Persistent
 
 
 class Job(Persistent):


=== Packages/JobBoardEx/JobCreateView.py 1.9 => 1.10 ===
--- Packages/JobBoardEx/JobCreateView.py:1.9	Mon Jun 17 23:51:10 2002
+++ Packages/JobBoardEx/JobCreateView.py	Wed Dec 25 13:36:35 2002
@@ -1,5 +1,5 @@
-from Zope.App.PageTemplate.ViewPageTemplateFile import ViewPageTemplateFile
-from Zope.Publisher.Browser.BrowserView import BrowserView
+from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
+from zope.publisher.browser import BrowserView
 from Job import Job
 
 class JobCreateView(BrowserView):


=== Packages/JobBoardEx/JobList.py 1.20 => 1.21 ===
--- Packages/JobBoardEx/JobList.py:1.20	Tue Aug  6 13:38:35 2002
+++ Packages/JobBoardEx/JobList.py	Wed Dec 25 13:36:35 2002
@@ -1,5 +1,5 @@
-from Persistence import Persistent
-from Persistence.PersistentDict import PersistentDict
+from persistence import Persistent
+from persistence.dict import PersistentDict
 
 from IJobList import IJobList
 from IJob import JobState


=== Packages/JobBoardEx/configure.zcml 1.11 => 1.12 ===
--- Packages/JobBoardEx/configure.zcml:1.11	Thu Nov 14 10:07:48 2002
+++ Packages/JobBoardEx/configure.zcml	Wed Dec 25 13:36:35 2002
@@ -4,14 +4,14 @@
 >
 
 <content class=".JobList.">
-  <factory title="Job List" permission="Zope.ManageContent" />
+  <factory title="Job List" permission="zope.ManageContent" />
   <allow interface=".IJobList." />
-  <implements interface="Zope.App.OFS.Container.IContainer.IItemContainer" />
+  <implements interface="zope.app.interfaces.container.IItemContainer" />
 </content>
 
 <browser:menuItem
     menu="add_content"
-    for="Zope.App.OFS.Container.IAdding."
+    for="zope.app.interfaces.container.IAdding."
     title="Job Board"
     action=".JobList." />
 
@@ -23,7 +23,7 @@
     name="index.html"
     for=".IJobList."
     template="JobListView.pt"
-    permission="Zope.View" />
+    permission="zope.View" />
 
 <browser:defaultView
     for=".IJobList."
@@ -32,7 +32,7 @@
 <browser:view
     for=".IJobList."
     factory=".JobCreateView."
-    permission="Zope.View">
+    permission="zope.View">
 
   <browser:page name="edit.html"     attribute="edit" />
   <browser:page name="preview.html"  attribute="preview" />
@@ -43,7 +43,7 @@
     name="index.html"
     for=".IJob."
     template="JobView.pt"
-    permission="Zope.View" />
+    permission="zope.View" />
 
 <browser:defaultView
     for=".IJob."
@@ -52,7 +52,7 @@
 <browser:view
     for=".IJobList."
     factory=".ApproveJobsView."
-    permission="Zope.ManageContent">
+    permission="zope.ManageContent">
 
   <browser:page name="review.html"    attribute="review" />
   <browser:page name="approve.method" attribute="approve" />