Re: [Zope-dev] How to call methods of an istance in ZODB from Python product?

2000-11-21 Thread seb bacon
* Petr Knapek [EMAIL PROTECTED] [001121 09:25]: Hi Zopists, I would like to know how to call a method of an instance in ZODB from Python product class which is not class of that instance. something like: self.some_folder.some_sub_folder.instance.method(arg) seb

[Zope-dev] ZPatterns and ZCLasses

2000-11-21 Thread Joachim Schmitz
I have an existing ZClass/Data Structure like this RecruitingPlatform Company Recruiting Candidates Student Profiles Address Highschool IT Jobprefs ... I want to store the data in the ZClass instances, must each ZClass have the Base class

[Zope-dev] FSDump + 'diff -r' - Wow!

2000-11-21 Thread Tres Seaver
I was just able to scratch a *really* big itch: I used my FSDump product, plus 'diff -r -u', to generate a diff between the versions of DemoPortal (the "through-the-web" portion of the PTK) shipped with PTK 0.9.0 and 0.9.2:

[Zope-dev] Search Interface, maybe a Replace Interface

2000-11-21 Thread Chris Withers
I've read the Search and Replace thread on [EMAIL PROTECTED] with interest and it's stirred up a few things that interest me. 1. Is there a 'Search Interface' in Zope? I know we have the Catalog, which provides _a_ search interface, but it has some problems... Wouldn't it be great if there was a

Re: [Zope-dev] Conflict Errors

2000-11-21 Thread Chris Withers
Thanks for the reply :-) Chris McDonough wrote: It happens when more than one thread tries to modify the same object in storage at the same time. It's Zope's equivalent of record-locking... It's normal. There's no corruption or anything, it's telling you that it avoided a write that

[Zope-dev] Callable baseclass for ZClasses

2000-11-21 Thread Stefan H. Holek
Taking ideas from the Renderable product, the ZCallable baseclass (PTK) and the __call__ thread on this very list, I created a Callable baseclass intended as a mixin for ZClasses. class Callable: def render( self, client=None, REQUEST={}, RESPONSE=None, **kw ): '''Calls index_html, if it

Re: [Zope-dev] ZPatterns and ZCLasses

2000-11-21 Thread Phillip J. Eby
At 11:08 AM 11/21/00 +0100, Joachim Schmitz wrote: I have an existing ZClass/Data Structure like this RecruitingPlatform Company Recruiting Candidates Student Profiles Address Highschool IT Jobprefs ... I want to store the data in the ZClass

Re: [Zope-dev] Callable baseclass for ZClasses

2000-11-21 Thread Stefan H. Holek
Sorry, a DTML Method throws 'KeyError' not 'Unauthorized' But I have already seen posts on why *that* is the case (Hotfix IIRC) Stefan ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or

[Zope-dev] Last Call: Comments on Official Docs Process

2000-11-21 Thread Amos Latteier
We're getting close to finalizing the procedures for the development and maintenance of official Zope documentation. Have your say now, before we come to closure: http://dev.zope.org/Wikis/DevSite/Projects/DocumentationProcess The plan is to fine tune a little more and then weave the

[Zope-dev] ZPatterns Project Help!

2000-11-21 Thread bentzion
Another question... I want to have a GAP that will add some other Object to an attribute of my DataSkin. This is what I have tried with no success. fromexpr: accounts.getItem(self.account_id) attrsexprs: account_object=RESULT This way in my UI Methods in my DataSkin I can access (and change)