[Zope3-checkins] CVS: zopeproducts/demo/jobboard - configure.zcml:1.13

Guido van Rossum guido@python.org
Thu, 20 Mar 2003 15:37:04 -0500


Update of /cvs-repository/zopeproducts/demo/jobboard
In directory cvs.zope.org:/tmp/cvs-serv7956

Modified Files:
	configure.zcml 
Log Message:
Minimal job to make this work again.


=== zopeproducts/demo/jobboard/configure.zcml 1.12 => 1.13 ===
--- zopeproducts/demo/jobboard/configure.zcml:1.12	Wed Dec 25 13:36:35 2002
+++ zopeproducts/demo/jobboard/configure.zcml	Thu Mar 20 15:37:03 2003
@@ -1,63 +1,69 @@
 <zopeConfigure
-    xmlns='http://namespaces.zope.org/zope'
-    xmlns:browser='http://namespaces.zope.org/browser'
+    xmlns="http://namespaces.zope.org/zope"
+    xmlns:browser="http://namespaces.zope.org/browser"
 >
 
-<content class=".JobList.">
-  <factory title="Job List" permission="zope.ManageContent" />
-  <allow interface=".IJobList." />
+<content class=".JobList.JobList">
+  <factory
+      id="zopeproducts.demo.jobboard.JobList"
+      title="Job List"
+      permission="zope.ManageContent"
+      />
+  <allow interface=".IJobList.IJobList" />
   <implements interface="zope.app.interfaces.container.IItemContainer" />
 </content>
 
 <browser:menuItem
     menu="add_content"
-    for="zope.app.interfaces.container.IAdding."
+    for="zope.app.interfaces.container.IAdding"
     title="Job Board"
-    action=".JobList." />
+    description="A simple bulletin board for posting and searching jobs."
+    action="zopeproducts.demo.jobboard.JobList"
+    />
 
-<content class=".Job.">
-  <allow interface=".IJob." />
+<content class=".Job.Job">
+  <allow interface=".IJob.IJob" />
 </content>
 
-<browser:view
+<browser:page
     name="index.html"
-    for=".IJobList."
+    for=".IJobList.IJobList"
     template="JobListView.pt"
-    permission="zope.View" />
+    permission="zope.View"
+    />
 
-<browser:defaultView
-    for=".IJobList."
-    name="index.html" />
-
-<browser:view
-    for=".IJobList."
-    factory=".JobCreateView."
-    permission="zope.View">
+<browser:pages
+    for=".IJobList.IJobList"
+    class=".JobCreateView.JobCreateView"
+    permission="zope.View"
+    >
 
   <browser:page name="edit.html"     attribute="edit" />
   <browser:page name="preview.html"  attribute="preview" />
   <browser:page name="create.method" attribute="create" />
-</browser:view>
+</browser:pages>
 
-<browser:view
+<browser:page
     name="index.html"
-    for=".IJob."
+    for=".IJob.IJob"
     template="JobView.pt"
-    permission="zope.View" />
+    permission="zope.View"
+    />
 
-<browser:defaultView
-    for=".IJob."
-    name="index.html" />
-
-<browser:view
-    for=".IJobList."
-    factory=".ApproveJobsView."
-    permission="zope.ManageContent">
+<browser:pages
+    for=".IJobList.IJobList"
+    class=".ApproveJobsView.ApproveJobsView"
+    permission="zope.ManageContent"
+    >
 
   <browser:page name="review.html"    attribute="review" />
   <browser:page name="approve.method" attribute="approve" />
-</browser:view>
+</browser:pages>
 
-<browser:icon name="zmi_icon" for=".IJobList." file="joblist.gif" />
+<browser:icon
+  name="zmi_icon"
+  for=".IJobList.IJobList"
+  file="joblist.gif"
+  />
 
 </zopeConfigure>