[Zope-CVS] CVS: Packages/JobBoardEx - Tutorial.html:1.22

Steve Alexander steve@cat-box.net
Tue, 18 Jun 2002 08:13:24 -0400


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

Modified Files:
	Tutorial.html 
Log Message:
Updated zcml example fragments to follow the zcml coding style and be
consistent with the configure.zcml file.


=== Packages/JobBoardEx/Tutorial.html 1.21 => 1.22 ===
 
 <pre>
-&lt;browser:view name="index.html"
-              for=".IJob."
-              template="JobView.pt"
-              permission="Zope.View" 
-              />
+&lt;browser:view
+    name="index.html"
+    for=".IJob."
+    template="JobView.pt"
+    permission="Zope.View" />
 </pre>
 
 <p>This tells Zope that there is a view named index.html which applies
@@ -164,9 +164,7 @@
 view for such objects:
 
 <pre>
-&lt;browser:defaultView for=".IJob."
-                     name="index.html"
-                     />
+&lt;browser:defaultView for=".IJob." name="index.html" />
 </pre>
 
 
@@ -223,15 +221,13 @@
 by the following configuration directives:
 
 <pre>
-&lt;browser:view name="index.html"
-              for=".IJobList."
-              template="JobListView.pt"
-              permission="Zope.View" 
-              />
-
-&lt;browser:defaultView for=".IJobList."
-                     name="index.html"
-                     />
+&lt;browser:view
+    name="index.html"
+    for=".IJobList."
+    template="JobListView.pt"
+    permission="Zope.View"  />
+
+&lt;browser:defaultView for=".IJobList." name="index.html" />
 </pre>
 
 
@@ -328,15 +324,14 @@
 following configuration directives:
 
 <pre>
-&lt;browser:view for=".IJobList."
-              factory=".JobCreateView."
-              permission="Zope.ManageContent"
-              >
+&lt;browser:view
+    for=".IJobList."
+    factory=".JobCreateView."
+    permission="Zope.ManageContent">
 
   &lt;browser:page name="edit.html"     attribute="edit" />
   &lt;browser:page name="preview.html"  attribute="preview" />
   &lt;browser:page name="create.method" attribute="create" />
-
 &lt;/browser:view>
 </pre>
 
@@ -387,14 +382,13 @@
 directives for a change:
 
 <pre>
-&lt;browser:view for=".IJobList."
-              factory=".ApproveJobsView."
-              permission="Zope.ManageContent"
-              >
+&lt;browser:view
+    for=".IJobList."
+    factory=".ApproveJobsView."
+    permission="Zope.ManageContent">
 
   &lt;browser:page name="review.html"    attribute="review" />
   &lt;browser:page name="approve.method" attribute="approve" />
-
 &lt;/browser:view>
 </pre>