Re: [Zope-dev] Keyword Indexes causing Keyerrors

2000-12-21 Thread Itamar Shtull-Trauring
Here's what was causing my KeyErrors, and how I solved it, and why I think KeywordIndexes broke. I have a keyword index on the "categories" property of my CatalogAware object. "categories" is a list. def manage_removeItems(self, ids=[]): """ Remove listed items from this category """

RE: [Zope-dev] RE: objectIds accessiblilty & and a proposal

2000-12-21 Thread Toby Dickenson
> -Original Message- > From: Dieter Maurer [mailto:[EMAIL PROTECTED]] > Toby Dickenson writes: > > > ... protocol specific access rights ... > > Please No. > > > > Zope security is complex enough without having to worry about > > different security settings depending on how a method

Re: [Zope-dev] 'Subclassing' another product

2000-12-21 Thread Morten W. Petersen
[Steve Spicklemire] | does that help? Yep. Thanks & Cheers, Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/

Re: [Zope-dev] ZPatterns, ZClasses, Specialists: Assigning responsibilities

2000-12-21 Thread Phillip J. Eby
At 05:13 PM 12/21/00 +1100, Itai Tavor wrote: >> >>I think you're right about this being an OrderLineItem. A couple of fine >>points, however... First, I don't think there needs to be an >>"OrderLineItemsWithGraphic" specialist, since there is nothing else that >>would talk to it. It's fine in

Re: [Zope-dev] urllib not available in Python Scripts?

2000-12-21 Thread Chris Withers
Ken Manheimer wrote: > > The benefit of having an explicit name for "enable" is marginal, but would > become significant if there were other access modes besides ENABLE and > DISABLE - eg, "ENABLE_METHODS", "ENABLE_ATTRIBUTES", etc... I'm sure Brian said this kind of thing was "a good thing" a w

Re: [Zope-dev] Catalog class--does it support boolean queries?

2000-12-21 Thread Chris Withers
Casey Duncan wrote: > > 2.3.0a1 seems to be a bit more friendly toward near, and parens and > quoted phrase searches. I will be looking into this further. Perhaps a > howto is in order? That'd be great :-) thanks, Chris ___ Zope-Dev maillist - [EM

[Zope-dev] LoginManager and PTK

2000-12-21 Thread Morten W. Petersen
Hi guys, I previously posted a couple of functions that enables users to login at a lower level in the tree-structre than where the actual user folder is. I.e., a user could enter username and password at /a and get redirected to /a/a/a/a/b (the acl_users folder would be loc

Re: [Zope-dev] calling SQL from External Method and using acquisition

2000-12-21 Thread Dieter Maurer
Andy McKay writes: > This is just an annoying namespace issue: > - I'm calling SQL methods from External Methods by create_index_ext>. > - I can then call a SQL method by calling self.sql_method() You can pass to a Z SQL method either a single dictionary (positional) argument or a sequence of