Re: [Zope3-Users] Re: Zope 3.4.0a1 released

2007-04-20 Thread Christian Theune
Am Donnerstag, den 19.04.2007, 19:51 -0400 schrieb Robert Hicks: Martin Aspeli wrote: Robert Hicks wrote: Is this series targeting Python 2.5? No. Martin Thanks, I was just checking and didn't see anything either way. The release announcement refers to Python 2.4, however, I

[Zope3-Users] Single formlib widget for several fields

2007-04-20 Thread Thierry Florac
Hi, I'd like to create a custom formlib widget which could handle several fields at once ; for example, I'd like a set of fields like month and year to be handled in a single widget which could display two combo-boxes. Do I have to join these fields in a single interface, for which I can

[Zope3-Users] MultiCheckBoxWidget: for which schema field?

2007-04-20 Thread Christophe Combelles
Hello, Sometimes I have difficulties to find out which schema fields are associated to which widgets. Let's take the example of the MultiCheckBoxWidget: I could make it work with a List(...value-type=Choice(...)) but I don't know what fields it should normally be associated with. Is there a

Re: [Zope3-Users] Interfaces in Schemas

2007-04-20 Thread Hermann Himmelbauer
Am Donnerstag, 19. April 2007 17:06 schrieb Sascha Ottolski: Am Donnerstag 19 April 2007 schrieb Hermann Himmelbauer:  Tried it out and it seems to work for Objects() in the schema. However, for Lists(value_type=Object()), I get permission problems: not a real answer, but another hint:

[Zope3-Users] Including overrides in buildout in site.zcml for zc.zope3recipes:app

2007-04-20 Thread David Pratt
I am wondering what to do about including overrides that would have normally gone into my /etc to be used in a globally. I am using the zope3recipes. It defines an app part with an explcit site.zcml. site.zcml is used verbatim in the buildout but is also need it a layer to run functional

Re: [Zope3-Users] session start/end

2007-04-20 Thread FB
Hi, On Thu, Apr 19, 2007 at 12:40:54PM +0200, Sascha Ottolski wrote: Hi, reading through zope.app.session, I couldn't find any built-in support for session_start and session_end events, similar to what existed in Zope2. Are there any recipies for such a use case? Searching the web

Re: [Zope3-Users] Re: zope.intid and UUIDs

2007-04-20 Thread Benji York
I really like Gary's suggestions here, which I'll paraphrase: First create interfaces that content can be adapted to to get a UUID, so other people can provide different implementations and those can interoperate. Then, create default implementations that work however you like. Then if

Re: [Zope3-Users] Re: zope.intid and UUIDs

2007-04-20 Thread Stephan Richter
On Friday 20 April 2007 10:01, Benji York wrote: First create interfaces that content can be adapted to to get a UUID, so other people can provide different implementations and those can interoperate.  Then, create default implementations that work however you like. This is actually a pattern

Re: [Zope3-Users] Including overrides in buildout in site.zcml for zc.zope3recipes:app

2007-04-20 Thread David Pratt
Hi. Tried putting overrides.zcml in my app package. To site.zcml in my buildout I added and includeOverrides to link to the overrides.zcml in the app package with something like this. includeOverrides package=ns.myapp / I have the same packages working a regular zope with a global overrides

Re: [Zope3-Users] Including overrides in buildout in site.zcml for zc.zope3recipes:app

2007-04-20 Thread David Pratt
My bad. This seems to do the trick. includeOverrides package=ns.myapp file=overrides.zcml / I incorrectly assumed includeOverrides would pick up the overrides file. Regards, David David Pratt wrote: Hi. Tried putting overrides.zcml in my app package. To site.zcml in my buildout I added and