[Zope3-Users] catalog indexing adapter interfaces

2005-10-19 Thread Alen Stanisic
Hi, I noticed that if I adapted a persistent content type and created a catalog with index on one of the fields provided by the adapter interface, the indexing worked for all of my content that was there at time of catalog creation. But any new content objects created after catalog creation would

[Zope3-Users] Re: folder list in a vocabulary

2005-10-19 Thread Michel Pelletier
Duncan McGreggor wrote: On Oct 19, 2005, at 12:35 PM, Michel Pelletier wrote: Note that I would strongly suggest using a relationship framework for this sort of use case. A good API is provided by ``schooltool.relationship`` and is heavily used in the SchoolTool code, so you have many exampl

Re: [Zope3-Users] Zope 3 recipe site?

2005-10-19 Thread Duncan McGreggor
On Oct 19, 2005, at 10:33 AM, Alec Munro wrote: If there isn't something already, I can probably create and host one. My thoughts were to just use a wiki, but perhaps something custom would be appropriate (perhaps that can be the first recipe?). What about zope labs? I'm sure the maintainer w

Re: [Zope3-Users] Re: folder list in a vocabulary

2005-10-19 Thread Duncan McGreggor
On Oct 19, 2005, at 12:35 PM, Michel Pelletier wrote: Note that I would strongly suggest using a relationship framework for this sort of use case. A good API is provided by ``schooltool.relationship`` and is heavily used in the SchoolTool code, so you have many examples. For a similar relat

[Zope3-Users] Re: folder list in a vocabulary

2005-10-19 Thread Michel Pelletier
Stephan Richter wrote: Note that I would strongly suggest using a relationship framework for this sort of use case. A good API is provided by ``schooltool.relationship`` and is heavily used in the SchoolTool code, so you have many examples. I've spent some time recently studying schooltool.

Re: [Zope3-Users] Zope 3 recipe site?

2005-10-19 Thread Stéphane Brunet
Hi, I totally agree with you. Concerning your Wiki initiative, you should look at this discussion thread which occurs quite recently on the Zope3-dev mailing list : http://mail.zope.org/pipermail/zope3-dev/2005-October/016050.html Regards, Stéphane Alec Munro wrote: Hi Stéphane, I have

Re: [Zope3-Users] Zope 3 recipe site?

2005-10-19 Thread Alec Munro
Hi Stéphane, I have both books, though the article is new to me, and I will certainly read it. However, we can't expect our community to rely entirely on these books, excellent though they are. The code changes, there are things they don't cover, and not everyone is willing to read(or buy) a book

Re: [Zope3-Users] Zope 3 recipe site?

2005-10-19 Thread Stéphane Brunet
Hi, Presenlty, most of the information is on the zope.org website ( http://www.zope.org/DevHome/Wikis/DevSite/Projects/ComponentArchitecture/FrontPage ). As a starter, may I suggest you these few references : - this zope3 article : http://zissue.berlios.de/z3/Zope3In30Minutes.html - the excel

Re: [Zope3-Users] Re: Interface tests: NotImplemented or NotImplementedError

2005-10-19 Thread Fred Drake
On 10/19/05, Chris Withers <[EMAIL PROTECTED]> wrote: > What's the correct use case for the NotImplemented singleton? A rich-comparison method should return NotImplemented to indicate that it doesn't implement the specific comparison; the response should be for Python to allow the other operand a

[Zope3-Users] Zope 3 recipe site?

2005-10-19 Thread Alec Munro
Hi all, I'm wondering if there is any site yet that houses a collection of Zope 3 recipes? I often see the same problems come up over and over again, in terms of simple things people wish to accomplish. Zope 3 is awesome in terms of providing tools to accomplish these things, but to many of us jus

Re: [Zope3-Users] Re: Interface tests: NotImplemented or NotImplementedError

2005-10-19 Thread Chris Withers
Fred Drake wrote: Definately! The similar naming of these two built-ins has been an endless cause for confussion. What's the correct use case for the NotImplemented singleton? Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk

Re: [Zope3-Users] is __docformat___ necessary in 3.1 onwards?

2005-10-19 Thread baiju m
On 10/19/05, Stephan Richter <[EMAIL PROTECTED]> wrote: > > Now I tried to login to wiki, but I cannot edit any pages? > > (my id is 'baijum') > > You have to become a power user. Please send Jim an E-mail. > > > Is it possible to use ReStructedText? > > No, not yet. But we are working on a new zop

Re: [Zope3-Users] is __docformat___ necessary in 3.1 onwards?

2005-10-19 Thread Stephan Richter
On Wednesday 19 October 2005 02:32, baiju m wrote: > Yes, Zope3 wiki will be the right place, there is already one FAQ. Just update the old FAQ. You can drastically change it to your liking. > Now I tried to login to wiki, but I cannot edit any pages? > (my id is 'baijum') You have to become a p