[Checkins] SVN: bluebream/website/docs/v1.0/tutorial3.rst include configure directive

Baiju M baiju.m.mail at gmail.com
Tue Aug 17 03:27:26 EDT 2010


Log message for revision 115726:
  include configure directive
  

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

-=-
Modified: bluebream/website/docs/v1.0/tutorial3.rst
===================================================================
--- bluebream/website/docs/v1.0/tutorial3.rst	2010-08-17 07:21:54 UTC (rev 115725)
+++ bluebream/website/docs/v1.0/tutorial3.rst	2010-08-17 07:27:25 UTC (rev 115726)
@@ -132,17 +132,24 @@
 To register this you can use ``interface`` and ``utility`` directives in
 ``zope`` namespace.  Add this to ``src/tc/skin/configure.zcml``::
 
-  <interface
-      interface="tc.skin.interfaces.ITCSkin"
-      type="zope.publisher.interfaces.browser.IBrowserSkinType"
-      />
+  <configure
+     xmlns="http://namespaces.zope.org/zope"
+     xmlns:browser="http://namespaces.zope.org/browser"
+     i18n_domain="ticketcollector">
 
-  <utility
-      component="tc.skin.interfaces.ITCSkin"
-      provides="zope.publisher.interfaces.browser.IBrowserSkinType"
-      name="TCSkin"
-      />
+    <interface
+        interface="tc.skin.interfaces.ITCSkin"
+        type="zope.publisher.interfaces.browser.IBrowserSkinType"
+        />
 
+    <utility
+        component="tc.skin.interfaces.ITCSkin"
+        provides="zope.publisher.interfaces.browser.IBrowserSkinType"
+        name="TCSkin"
+        />
+
+  </configure>
+
 As a shortcut, you can also just use the ``interface`` directive and
 pass the ``name`` parameter.  The following one directive has the
 same effect as the two above regarding the skin registration::



More information about the checkins mailing list