[Zope3-Users] zc.relationship or hurry.query and global intid utility

2007-01-06 Thread Gabi Shaar
hi. i am trying to use zope 3.3.0 first somebody correct me if i'm wrong. getUtility(IIntIds) looks for an intid utility registerd in the global site manager. if i supply a context, then it looks in the local site. i am trying to use zc.relationship and hurry.query. both seem to look for a g

Re: [Zope3-Users] zc.relationship or hurry.query and global intid utility

2007-01-06 Thread FB
On Sat, Jan 06, 2007 at 08:14:52PM +0200, Gabi Shaar wrote: > hi. > i am trying to use zope 3.3.0 > > first somebody correct me if i'm wrong. > > getUtility(IIntIds) looks for an intid utility registerd in the global site > manager. > if i supply a context, then it looks in the local site. > >

Re: [Zope3-Users] question about a constraint conflict

2007-01-06 Thread FB
Hi, On Sat, Jan 06, 2007 at 01:35:35AM +0100, Christophe Combelles wrote: > Hello > > I define the following interfaces: > > class IFoo(Interface): > pass > class IBar(Interface): > pass > > class IFooContainer(IContainer): > contains(IFoo) > class IBarContainer(IContainer): > contains(

Re: [Zope3-Users] zc.relationship or hurry.query and global intid utility

2007-01-06 Thread Stephan Richter
On Saturday 06 January 2007 13:14, Gabi Shaar wrote: > could somebody point me at a simple example of how to create the intid > utility these packages are looking for ? Here is some code registering the stuff programmatically. Frank already told you the correct solution for doing this via the ZMI