[Zope3-checkins] CVS: Zope3/src/zope/app/publisher/browser - globalbrowsermenuservice.py:1.21.4.3

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Aug 14 19:47:08 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/publisher/browser
In directory cvs.zope.org:/tmp/cvs-serv24609/publisher/browser

Modified Files:
      Tag: dreamcatcher-ttwschema-branch
	globalbrowsermenuservice.py 
Log Message:
Everything works now. To demo it, do:

1. Create a Utility Service.

2. Create a Menu Service

3. Add a Browser Menu and register it as 'add_content'. This will be 
   automated.

4. Create a Persistent Schema Utility (this begs to be renamed). Call it
   'IDocument'. Add some fields.

5. Create a Content Component Defition. Call it 'Document'. 
   Find the IDocument schema and set it to the definitions schema. Make 
   security assertions as desired. Later I will also make all the menu 
   options adjustable.

6. Go to your Content space. There you should see a 'Document' object in 
   the list of available Content Objects. As usual, click on it to create 
   the object.

That's it.

Now it is time to clean up and write tests.


=== Zope3/src/zope/app/publisher/browser/globalbrowsermenuservice.py 1.21.4.2 => 1.21.4.3 ===
--- Zope3/src/zope/app/publisher/browser/globalbrowsermenuservice.py:1.21.4.2	Thu Aug 14 13:58:05 2003
+++ Zope3/src/zope/app/publisher/browser/globalbrowsermenuservice.py	Thu Aug 14 18:46:33 2003
@@ -15,7 +15,6 @@
 
 $Id$
 """
-
 from zope.interface import classProvides
 from zope.exceptions import DuplicationError, Unauthorized, Forbidden
 




More information about the Zope3-Checkins mailing list