Re: [Zope3-dev] Re: a plan for widgets?

2006-03-21 Thread Stephan Richter
On Monday 20 March 2006 16:29, Roger Ineichen wrote: It's important to have informative sugger in a configuration language like ZCML. Otherwise it get reduced to somewhat useless that I will hate to write but have to. That's how I feel as well. But until now I thought I have been a minority.

[Zope3-dev] Re: a plan for widgets?

2006-03-21 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff Shell wrote: On 3/20/06, Tres Seaver [EMAIL PROTECTED] wrote: So *don't use ZCML*; use Python: there is literally nothing which can be done in ZCML which cannot be done in Python. I wish that folks who don't like / need ZCML would quit

Re: [Zope3-dev] Re: a plan for widgets?

2006-03-20 Thread Jeff Shell
On 3/17/06, Fred Drake [EMAIL PROTECTED] wrote: On 3/17/06, Martijn Faassen [EMAIL PROTECTED] wrote: As far as I understood, vocabularies are on the way out in Zope 3.3: in zope.schema.interfaces: # BBB vocabularies are pending deprecation, hopefully in 3.3 That's correct. Gary and I

Re: [Zope3-dev] Re: a plan for widgets?

2006-03-20 Thread Stephan Richter
On Monday 20 March 2006 13:14, Jeff Shell wrote: And it's all incredibly confusing. Gluttony of choice they call it. I settled on Vocabularies for an interesting widget/requirement because they were documented in the book. Trying to translate doctest-speak to

Re: [Zope3-dev] Re: a plan for widgets?

2006-03-20 Thread Jeff Shell
On 3/17/06, Tres Seaver [EMAIL PROTECTED] wrote: Jeff Shell wrote: By the way, isn't it pretty easy to provide straight up values anyways for those quick drop-down situations? snip Python example You're missing the point -- the vocabulary is *not* software, and Python is *completely* the

Re: [Zope3-dev] Re: a plan for widgets?

2006-03-20 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff Shell wrote: On 3/17/06, Tres Seaver [EMAIL PROTECTED] wrote: Jeff Shell wrote: By the way, isn't it pretty easy to provide straight up values anyways for those quick drop-down situations? snip Python example You're missing the point -- the

Re: [Zope3-dev] Re: a plan for widgets?

2006-03-20 Thread Stephan Richter
On Monday 20 March 2006 13:50, Tres Seaver wrote: So *don't use ZCML*;  use Python:  there is literally nothing which can be done in ZCML which cannot be done in Python.  I wish that folks who don't like / need ZCML would quit trying to dictate how the rest of us use ZCML. I agree with this

Re: [Zope3-dev] Re: a plan for widgets?

2006-03-17 Thread Martijn Faassen
Jeff Shell wrote: Martijn Faassen wrote: * 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

CSV vocabularies (was Re: [Zope3-dev] Re: a plan for widgets?)

2006-03-17 Thread Gary Poster
On Mar 16, 2006, at 11:38 AM, Tres Seaver wrote: [...] 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 / We have something like this--except the

Re: [Zope3-dev] Re: a plan for widgets?

2006-03-17 Thread Fred Drake
On 3/17/06, Martijn Faassen [EMAIL PROTECTED] wrote: As far as I understood, vocabularies are on the way out in Zope 3.3: in zope.schema.interfaces: # BBB vocabularies are pending deprecation, hopefully in 3.3 That's correct. Gary and I invented vocabularies to solve some problems. Jim

[Zope3-dev] Re: a plan for widgets?

2006-03-16 Thread Tres Seaver
-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

Re: [Zope3-dev] Re: a plan for widgets?

2006-03-16 Thread Paul Winkler
On Thu, Mar 16, 2006 at 11:38:02AM -0500, Tres Seaver wrote: zcml:ktupema_necro_halogo eh? http://www.google.com/search?hl=enlr=q=ktupema+necro+halogobtnG=Search Your search - ktupema necro halogo - did not match any documents. -- Paul Winkler http://www.slinkp.com

[Zope3-dev] Re: a plan for widgets?

2006-03-16 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Winkler wrote: On Thu, Mar 16, 2006 at 11:38:02AM -0500, Tres Seaver wrote: zcml:ktupema_necro_halogo eh? http://www.google.com/search?hl=enlr=q=ktupema+necro+halogobtnG=Search Your search - ktupema necro halogo - did not match any

Re: [Zope3-dev] Re: a plan for widgets?

2006-03-16 Thread Jeff Shell
On 3/16/06, Tres Seaver [EMAIL PROTECTED] wrote: -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

Re: [Zope3-dev] Re: a plan for widgets?

2006-03-16 Thread Sidnei da Silva
On Thu, Mar 16, 2006 at 08:06:11PM -0700, Jeff Shell wrote: | By the way, isn't it pretty easy to provide straight up values anyways | for those quick drop-down situations? | | trip_type = zope.schema.Choice( | title=_(uTrip Type), | description=_(uTrip Type), |