[Zope3-dev] Re: a plan for widgets?
    Tres Seaver 
    tseaver at palladion.com
       
    Thu Mar 16 11:38:02 EST 2006
    
    
  
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martijn Faassen wrote:
<snip>
> * sources and terms are nice, but we should at least provide some basic
> sources and register some basic terms for them; that bit is completely
> missing in Zope 3 right now. People should be able to at make a simple
> drop-down widget happen without having to figure out how to tie all
> these components together - they should just import and use the right
> source, perhaps import, use, and register the right term, and there they
> go.
<zcml:ktupema_necro_halogo>
Hmm, another case where high-level ZCML support would be useful:
defining simple terms for a vocabulary.  Why should somebody who wants
to tweak a vocabulary have to edit software?  E.g.:
 <vocabulary name="philosophers">
  <term id="plato">Plato</term>
  <term id="aristotle">Aristotle</term>
  <term id="kant">Immanuel Kant</term>
 </vocabulary>
Of course, we could also keep the vocabularies in another data file, and
merely have the high-level directive "source" it:
 <zope:vocabulary
    name="philosophers"
    file="philosophers.csv"
    />
</zcml:ktupema_necro_halogo>
Tres.
- --
===================================================================
Tres Seaver          +1 202-558-7113          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFEGZRq+gerLs4ltQ4RAqfjAKCVsLoGMDkvqbZVu7r+lPQzqvu3zwCeKYbS
7TZXr/3VwH64Z/w9jbH20sY=
=ZUki
-----END PGP SIGNATURE-----
    
    
More information about the Zope3-dev
mailing list