[Checkins] SVN: bluebream/website/docs/v1.0/tutorial1.rst bit cleanup

Baiju M baiju.m.mail at gmail.com
Sat Mar 6 13:08:01 EST 2010


Log message for revision 109711:
  bit cleanup
  

Changed:
  U   bluebream/website/docs/v1.0/tutorial1.rst

-=-
Modified: bluebream/website/docs/v1.0/tutorial1.rst
===================================================================
--- bluebream/website/docs/v1.0/tutorial1.rst	2010-03-06 18:05:42 UTC (rev 109710)
+++ bluebream/website/docs/v1.0/tutorial1.rst	2010-03-06 18:08:00 UTC (rev 109711)
@@ -835,10 +835,9 @@
 ~~~~~~~~~~~~~~~~~~~~~~
 
 Once the interfaces and its implementations are ready.  You can do
-the configuration in ZCML.
+the configuration in ZCML.  Open the ``src/tc/main/configure.zcml``
+file to edit, then mark the ``ICollector`` as a content component::
 
-Mark the ``ICollector`` as a content component::
-
   <interface
      interface="tc.main.interfaces.ICollector"
      type="zope.app.content.interfaces.IContentType"
@@ -887,7 +886,8 @@
 
 Now the content component is ready to use.  You need a web page from
 where we can add the ticket collector.  You can use ``zope.formlib``
-package to create a form::
+package to create a form.  You can add the view class definition
+inside ``src/tc/main/views.py`` like this::
 
   from zope.container.interfaces import INameChooser
   from zope.formlib import form
@@ -919,7 +919,7 @@
 directive is used for registering pages.  You can give the name as
 ``add_ticket_collector`` and register it for
 ``zope.site.interfaces.IRootFolder``.  Add these lines to
-``configure.zcml``::
+``src/tc/main/configure.zcml``::
 
   <browser:page
      for="zope.site.interfaces.IRootFolder"



More information about the checkins mailing list