[Zope3-checkins] CVS: ZopeProducts/HelloPackage - configure_bare.zcml:1.1 configure.zcml:1.2
Martijn Faassen
m.faassen@vet.uu.nl
Wed, 4 Dec 2002 16:34:03 -0500
Update of /cvs-repository/ZopeProducts/HelloPackage
In directory cvs.zope.org:/tmp/cvs-serv12672
Modified Files:
configure.zcml
Added Files:
configure_bare.zcml
Log Message:
Added version of the configure.zcml without comments, to demo how
much (or little) it really is.
=== Added File ZopeProducts/HelloPackage/configure_bare.zcml ===
<!-- See configure.zcml for this with a lot of comments. This is just
to demo how short it is without comments. -->
<zopeConfigure
xmlns="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser">
<content class=".HelloModule.HelloClass">
<factory
id="Hello"
permission="Zope.ManageContent"
title="Hello world"
<require
permission="Zope.View"
attributes="getHello" />
</content>
<browser:view
name="hello.html"
for=".IHelloModule.IHello"
template="hello.pt"
permission="Zope.View" />
<browser:defaultView
name="hello.html"
for=".IHelloModule.IHello" />
<browser:menuItem
menu="add_content"
for="Zope.App.OFS.Container.IAdding."
action="Hello"
title="Hello world"
description="An object for hello worlding." />
</zopeConfigure>
=== ZopeProducts/HelloPackage/configure.zcml 1.1 => 1.2 ===
--- ZopeProducts/HelloPackage/configure.zcml:1.1 Wed Dec 4 10:20:58 2002
+++ ZopeProducts/HelloPackage/configure.zcml Wed Dec 4 16:34:02 2002
@@ -1,3 +1,7 @@
+<!-- An extensively commented configure.zcml. If you want to see
+ the same file without any comments, check out 'configure_bare.zcml
+-->
+
<!--
zopeConfigure is the root element of the ZCML file.