[Checkins] SVN: bluebream/website/docs/v1.0/tutorial1.rst clarify where to add ZCML snippet
Baiju M
baiju.m.mail at gmail.com
Mon May 3 09:09:42 EDT 2010
Log message for revision 111890:
clarify where to add ZCML snippet
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-05-03 12:43:51 UTC (rev 111889)
+++ bluebream/website/docs/v1.0/tutorial1.rst 2010-05-03 13:09:42 UTC (rev 111890)
@@ -914,11 +914,17 @@
file for editing and enter the following to declare ``ICollector`` a
content component::
+ <configure
+ xmlns="http://namespaces.zope.org/zope"
+ xmlns:browser="http://namespaces.zope.org/browser">
+
<interface
interface="tc.collector.interfaces.ICollector"
type="zope.app.content.interfaces.IContentType"
/>
+ </configure>
+
The ``zope.app.content.interfaces.IContentType`` represents a content
type. If an **interface** provides the ``IContentType`` interface
type, then all objects providing the **interface** are considered to
@@ -933,7 +939,8 @@
particular object belongs to a special type without requiring the
presence of any attributes or methods.
-::
+In the same file (``src/tc/collector/configure.zcml``) before the
+``</configure>`` add these lines::
<class class="tc.collector.ticketcollector.Collector">
<implements
More information about the checkins
mailing list