[Zope3-checkins] CVS: Zope3/src/zope/app - configure.zcml:1.27 meta.zcml:1.13

Stephan Richter srichter@cosmos.phy.tufts.edu
Tue, 22 Jul 2003 00:25:59 -0400


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

Modified Files:
	configure.zcml meta.zcml 
Log Message:
okay, I actually hooked up the vocabulary directive and registry, so that 
we can do actual useful things with vocabularies. 

I also had to fix a call that could not be run due to a context wrapper, so
I had to remove all proxies, which is probably not the right thing to do.
Fred, could you look at this?

Finally, it seems that I am the first one that seriously plays with 
vocabularies, since it is impossible that vocabularies are usable as they 
were before this checkin. Furthermore, many parts of the framework are in 
a sorry state; for example the widget for the IVocabularyField requires 
really an implementation of ITokenizedVocabularyField and ITokenizedTerm. 
Why? This beats the heck out of me.

I really thought that after so many people told me they studied 
vocabularies and that I should have a look, that they also wrote some semi-
serious code in it. But this cannot have been the case. I think studying
means "I read the docs." in this case.

Vocabularies are definitely not in a ready state for the first beta and
need to be added to the to do. (I will do that, as soon as I have the bug 
tracker setup.)

Finally, I will check in some code tomorrow, which demonstrates how 
vocabularies work, in one of the most common use cases (in my opinion).


=== Zope3/src/zope/app/configure.zcml 1.26 => 1.27 ===
--- Zope3/src/zope/app/configure.zcml:1.26	Mon Jul 14 11:28:20 2003
+++ Zope3/src/zope/app/configure.zcml	Tue Jul 22 00:25:23 2003
@@ -91,6 +91,7 @@
   <include package="zope.app.content" />
   <include package="zope.app.services" />
   <include package="zope.app.applicationcontrol" />
+  <include package="zope.app.schema" />
 
   <include package="zope.app.i18n" />
   <include package="zope.app.publisher" />


=== Zope3/src/zope/app/meta.zcml 1.12 => 1.13 ===
--- Zope3/src/zope/app/meta.zcml:1.12	Mon Jul  7 13:14:44 2003
+++ Zope3/src/zope/app/meta.zcml	Tue Jul 22 00:25:23 2003
@@ -20,5 +20,6 @@
 <include package="zope.app.workflow" file="meta.zcml" />
 <include package="zope.app.dav" file="meta.zcml" />
 <include package="zope.app.rdb" file="meta.zcml" />
+<include package="zope.app.schema" file="meta.zcml" />
 
 </zopeConfigure>