[Zope3-Users] Re: worldcookery Christmas Dinner

2005-10-03 Thread Joel Moxley
I apologize for my replying to self, but I was re-reading Stephan's and then Philipp's book and realized that one portion of my email has been answered. Thus, I'm hoping to clarify my question to the list. Looking at the messageboard content class, I then did a grep on Philipp's worldcookery

Re: [Zope3-Users] Re: worldcookery Christmas Dinner

2005-10-03 Thread Duncan McGreggor
On Oct 3, 2005, at 12:32 AM, Joel Moxley wrote: * RecipeFolder Views. In a RecipeFolder page template file, how would you view both parameters on the parent RecipeFolder as well as specific child Recipes within the container? * RecipeFolder Controllers. How would you access an external

[Zope3-Users] Override a browser class

2005-10-03 Thread Johan Carlsson
Hi all, I want to replace the pasteable in zope.app.container.browser.contents.Contents for all content types. I've created a sub class to Contents which override the pasteable but I'm not sure how to configure it to override the default class (if possible)? Best Regards, Johan PS. The

[Zope3-Users] Advanced usage of Z3 schemas...

2005-10-03 Thread Andreas Jung
Hi, I am currently thinking about for a new version of PloneCollectorNG based on Zope 3. The currently implementation uses per-instances schemas (acquired from a parent object managing the schema). How would you do that in Zope 3? Another question: in Zope 3 we have FieldProperties that

[Zope3-Users] pau and zope.manager

2005-10-03 Thread Jim Washington
I want to use pau, with session (cookie) based authentication. No basic authentication. The problem is, when the pau is activated, the zope.manager defined in zcml seems to be no longer accessible, effectively locking me out of the zmi. What I think is happening is the pau appends a prefix

Re: [Zope3-Users] querying the catalog

2005-10-03 Thread Jim Fulton
Duncan McGreggor wrote: On Sep 30, 2005, at 11:31 PM, Alen Stanisic wrote: Not sure if it will help but whenever I had to look up a catalog I would only do zapi.getUtility(ICatalog) and I noticed you are also providing a name and context. Yeah, with or without the extra parameters, it

[Zope3-Users] stuffing the request object in zope3

2005-10-03 Thread Tim Middleton
I've done a few Zope 2 projects, and am trying to wrap my head around Zope 3 now. The style I evolved for putting together Zope 2 applications may not have been very orthodox. Basically I found that I disliked (and mistrusted, maybe because at the time I didn't understand the security wrappers

Re: [Zope3-Users] stuffing the request object in zope3

2005-10-03 Thread Gary Poster
On Oct 3, 2005, at 11:19 AM, Tim Middleton wrote: I've done a few Zope 2 projects, and am trying to wrap my head around Zope 3 now. The style I evolved for putting together Zope 2 applications may not have been very orthodox. Basically I found that I disliked (and mistrusted, maybe

Re: [Zope3-Users] User data / metadata

2005-10-03 Thread James Allwyn
You could do it directly. In fact, you could even have 'members' as regular content objects in the site and write an authentication utility which looks up those members and builds a security Principal object off of that. I believe this is what Schoolbell does. This sounds interesting - are

Re: [Zope3-Users] Advanced usage of Z3 schemas...

2005-10-03 Thread Stephan Richter
On Monday 03 October 2005 10:22, Gary Poster wrote: I am currently thinking about for a new version of PloneCollectorNG   based on Zope 3. The currently implementation uses per-instances   schemas (acquired from a parent object managing the schema). How   would you do that in Zope 3? It

Re: [Zope3-Users] object has no attribute '_SampleContainer__data'

2005-10-03 Thread Gary Poster
On Oct 3, 2005, at 9:29 PM, Leticia Larrosa wrote: AttributeError: 'Service' object has no attribute '_SampleContainer__data' Hi Leticia. It looks like your container overrides __init__ and, rather than deferring to the SampleContainer.__init__, you are trying to set the __data value in

RE: [Zope3-Users] object has no attribute '_SampleContainer__data'

2005-10-03 Thread Leticia Larrosa
Tom and Gary, thanks so much. Tom, was exactly the same problem !!!. Gary, I will review my knowledge about python following your advice ;) Regards, Leticia -Original Message- From: Tom Dossis [mailto:[EMAIL PROTECTED] Sent: Monday, October 03, 2005 8:09 PM To: Leticia Larrosa Cc:

[Zope3-Users] Re: stuffing the request object in zope3

2005-10-03 Thread Tim Middleton
Gary Poster wrote: FWIW, we're trying to reduce the frightening and magical aspect of the glue. :-) That said, glue still has its place, and I think zcml is actually working out pretty well overall. I take no small amount of comfort in strange frequency of finding Shane Hathaway's Zope 3

[Zope3-Users] 3.1 final zeo tests error message

2005-10-03 Thread Alen Stanisic
Hi, first of all thanks and congratulations to zope3 dev team on the release of 3.1. I gave it a try today and when running 'make check' got this message: The following test left new threads behind: checkAbortNotCommitting (ZEO.tests.testZEO.MappingStorageTests) New thread(s):