[Zope3-checkins] CVS: Products3/demo/messageboard/step2/browser - __init__.py:1.1 configure.zcml:1.1

Stephan Richter srichter@cbu.edu
Sat, 7 Jun 2003 07:24:52 -0400


Update of /cvs-repository/Products3/demo/messageboard/step2/browser
In directory cvs.zope.org:/tmp/cvs-serv11446/messageboard/step2/browser

Added Files:
	__init__.py configure.zcml 
Log Message:
Initial checkin of the Zope 3 Cookbook example code. Currently only step1
is completed and step2 is merely a copy right now. This product will be 
updated as I am developing the recipes.

Note: Please do not make modifications to the code, unless you are willing
      to spend the time modifying the recipes as well. At some point I will
      add a final step, which can become the playground for developers and 
      will not mirror any recipe.


=== Added File Products3/demo/messageboard/step2/browser/__init__.py ===


=== Added File Products3/demo/messageboard/step2/browser/configure.zcml ===
<zopeConfigure
   xmlns="http://namespaces.zope.org/zope"
   xmlns:browser="http://namespaces.zope.org/browser">

  <browser:addform
      label="Add Message Board"
      name="AddMessageBoard"
      schema="zopeproducts.messageboard.interfaces.IMessageBoard"
      content_factory="zopeproducts.messageboard.messageboard.MessageBoard"
      permission="zope.ManageContent"
      menu="add_content" title="Message Board"/>

  <browser:editform
      schema="zopeproducts.messageboard.interfaces.IMessageBoard"
      for="zopeproducts.messageboard.interfaces.IMessageBoard"
      label="Change Message Board"
      name="edit.html"
      permission="zope.ManageContent"
      menu="zmi_views" title="Edit" />

  <browser:addform
      label="Add Message"
      name="AddMessage"
      schema="zopeproducts.messageboard.interfaces.IMessage"
      content_factory="zopeproducts.messageboard.message.Message"
      permission="zope.ManageContent"
      menu="add_content" title="Message"/>

  <browser:editform
      schema="zopeproducts.messageboard.interfaces.IMessage"
      for="zopeproducts.messageboard.interfaces.IMessage"
      label="Change Message"
      name="edit.html"
      permission="zope.ManageContent"
      menu="zmi_views" title="Edit" />

</zopeConfigure>