[Checkins] SVN: zope3book/trunk/ - Cleanup content-components

Baiju M baiju.m.mail at gmail.com
Tue Feb 24 07:12:57 EST 2009


Log message for revision 97201:
  - Cleanup content-components
  - copy stage1 to stage2
  

Changed:
  A   zope3book/trunk/code/10_content_components/stage2/
  A   zope3book/trunk/code/10_content_components/stage2/ticketcollector/src/ticketcollector/browser/
  U   zope3book/trunk/source/content-components.rst

-=-

Property changes on: zope3book/trunk/code/10_content_components/stage2
___________________________________________________________________
Added: svn:mergeinfo
   + 

Modified: zope3book/trunk/source/content-components.rst
===================================================================
--- zope3book/trunk/source/content-components.rst	2009-02-24 11:43:00 UTC (rev 97200)
+++ zope3book/trunk/source/content-components.rst	2009-02-24 12:12:57 UTC (rev 97201)
@@ -480,7 +480,7 @@
       xmlns="http://namespaces.zope.org/browser">
 
     <addMenuItem
-        class="collector.ticketcollector.Collector"
+        class="ticketcollector.ticketcollector.Collector"
         title="Collector"
         description="A Collector"
         permission="zope.ManageContent"
@@ -491,7 +491,7 @@
 The ``class`` attribute specifies the module path for the class, a
 leading dot means to make the import relative to the package
 containing the ZCML file.  Therefore in this case Zope will import
-the collector.ticketcollector module, then import "Collector" from
+the ticketcollector.ticketcollector module, then import "Collector" from
 that module.
 
 The ``title`` attribute provides the title to display in the add
@@ -514,10 +514,6 @@
 content type by clicking on "Add Collector" and entering a name for
 our object; name it "MyCollector".
 
-Now restart Zope and visit http://localhost:8080/manage .  You can
-add collector from menu.
-
-
 Views
 -----
 
@@ -525,5 +521,8 @@
 Functional testing
 ------------------
 
+
 Summary
 -------
+
+This chapter introduced content components.



More information about the Checkins mailing list