Re: [Zope-dev] searching for __call__

2000-11-13 Thread Chris Withers
Stephen Simmons wrote: P.S. ChrisW, searching NIP for "__call__" returns every message with 'call' in it, which is not quite the same thing! That's not my experience :-S cheers, Chris ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope-dev] CatalogTNG

2000-11-13 Thread Chris Withers
Christopher Petrilli wrote: Chris Petrilli is working on a fishbowl proposal for CatalogNG; I'm pretty sure he intends to adopt some kind of observer/event scheme to make it work. CatalogTNG is definately going to be top down, rather than bottom up (its current design). I'm trying to

Re: [Zope-dev] ZCatalog + ZCatalog

2000-11-13 Thread Chris Withers
Casey Duncan wrote: OK, what this patch does is allow you to concatenate ZCatalog result sequences (Lazy sequences) without loading the whole enchilada into memory. It also dispenses with the funky workaround/hack notation that currently exists (although it still works AFAIK). Once this

[Zope-dev] how do i check if it is an array

2000-11-13 Thread Veiko Schnabel
i use a form with different input-fields like form method="" action="" first place for field_1br input type="text" name="field_1"br input type="text" name="field_2"br input type="text" name="field_3"br input type="text" name="field_4"br br images/tables second place for field_1br input

Re: [Zope-dev] how do i check if it is an array

2000-11-13 Thread Morten W. Petersen
[Veiko Schnabel] | how do i check out if any of my fields are arrays or strings | is there a function like php: is_array() I can't think of any clean way to do this; zope developers, why isn't the type() function available from DTML? On the other hand, you can explicitly cast all your form

[Zope-dev] ZPatterns: Dataskin property sheets

2000-11-13 Thread Roch'e Compaan
I'm not as clear as I'd like to be on when to use Dataskin property sheets and when to use common instance property sheets. I understand that with a Dataskin Property Sheet attributes are stored in way that is compatible with attribute providers making overriding of default values possible. If

Re: [Zope-dev] PythonMethods: Can't Slice context.REQUEST.PARENTS

2000-11-13 Thread Evan Simpson
From: The Doctor What [EMAIL PROTECTED] Using context.this().id, self.this().id, m_self.this().id all get me the same things: Folder, Zope, and my method. None give me the DTML Document foo_html. This would seem to be an important thing. The only information about your caller that you can

[Zope-dev] Re: [Zope] FIX for the infamous __call__ bug - testers needed!

2000-11-13 Thread Chris Withers
Brian Lloyd wrote: Hi all - One of the things I _really_ _really_ wanted to fix for the upcoming 2.2.3 release is the infamous "__call__" bug. I have a fix that works according to my limited testing - what I really need is for a few volunteers familiar with the problem to take a few

[Zope-dev] Membership and latest LoginManager

2000-11-13 Thread Dan L. Pierson
I've been trying to get Membership 0.7.6 working with LoginManager-0-8-8b1 (and it's associated ZPatterns) under Zope 2.2.2 on RedHat 6.2. After probing around it seems that there is a problem storing member passwords. The following trace from print statements inserted in PersistentUserSource

Re: [Zope-dev] License issues

2000-11-13 Thread Lalo Martins
On Mon, Nov 13, 2000 at 06:40:31PM +0100, Juan David Ibáñez Palomar wrote: has come to my ears that there's people who doesn't use Zope because its license is GPL-incompatible, more info here: http://www.fsf.org/philosophy/license-list.html#GPLIncompatibleLicenses They say it's an

Re: [Zope-dev] FIX for the infamous __call__ bug - testers needed!

2000-11-13 Thread Steve Alexander
Brian Lloyd wrote: Attached is an updated version of cDocumentTemplate.c. You can drop this into the lib/python/DocumentTemplate directory of your installation and rebuild it - after restarting the Zope site, the __call__ problem should be gone. I'd really like to hear from some

Re: [Zope-dev] ZPatterns: Remapping object from on to another specialist

2000-11-13 Thread Phillip J. Eby
At 05:51 PM 11/13/00 +0200, Roch'e Compaan wrote: Should I still set up a rack and set it's storage to the Customer ZClass and add a skinscript method to copy attributes from the Customer specialist? or Should I simply write a method for Requester, getRequester, which asks the Customers

Re: [Zope-dev] Membership and latest LoginManager

2000-11-13 Thread Phillip J. Eby
At 01:37 PM 11/13/00 -0500, Dan L. Pierson wrote: I've been trying to get Membership 0.7.6 working with LoginManager-0-8-8b1 (and it's associated ZPatterns) under Zope 2.2.2 on RedHat 6.2. After probing around it seems that there is a problem storing member passwords. The following trace from

[Zope-dev] OracleStorage, and possibly others

2000-11-13 Thread Lalo Martins
Well, two betas of OracleStorage in one day, then a month and a half of silence. What's the status? What about the other Storage projects? BerkeleyStorage has been dead for an year, and I heard pretty nasty words about InterbaseStorage. What about someone who wanted to try to port OracleStorage

Re: [Zope-dev] Membership and latest LoginManager

2000-11-13 Thread Dan L. Pierson
"Phillip J. Eby" [EMAIL PROTECTED] writes: At 01:37 PM 11/13/00 -0500, Dan L. Pierson wrote: I've been trying to get Membership 0.7.6 working with LoginManager-0-8-8b1 (and it's associated ZPatterns) under Zope 2.2.2 on RedHat 6.2. After probing around it seems that there is a problem

[Zope-dev] FW: Mailman results for Zope-Dev

2000-11-13 Thread T.J. Mannos
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, November 13, 2000 2:31 PM To: [EMAIL PROTECTED] Subject: Mailman results for Zope-Dev unsubscribe 23007790 An unknown Mailman error occured. Please forward on your request to [EMAIL

[Zope-dev] ZPatterns: Remapping object from on to another specialist

2000-11-13 Thread jimbo
Now that the subject is on object remapping with Zpatterns. I'm not getting anywhere mapping between objects. I have a product folder EmployZ-Folder EmployZManager-Specialist WhoZ-Specialist Data Plug-ins myssMethod EmployZ-Zclass The EmployZManager just keeps a database of employee

[Zope-dev] unbuffered html from external method

2000-11-13 Thread Andy McKay
Is it possible to print unbuffered html output to the user from an external method. It looks to me like I can't, output occurs upon the return and I cant see a way of getting around that. (I have a very long running and expensive external method, I'd like to print out status to the user) TIA.

[Zope-dev] Specialists, Racks, and Objects, oh my!

2000-11-13 Thread Bill Anderson
I want a specialist to have two (or more hypotheticaly) racks, and each rack is to contain one type of object. I then want to be able to add objects. I have the two racks set up, but I am unclear as to how to specify that I want to add an item of a certain type, or to a certain rack. Ideas

[Zope-dev] unbuffered html from external method

2000-11-13 Thread jimbo
Don't know if this helps. http://www.zope.org/Members/SeanT/NoBufferHTTP ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists -

[Zope-dev] Specialists, Racks, and Objects, oh my!

2000-11-13 Thread jimbo
You might want to check this thread. http://lists.zope.org/pipermail/zope-dev/2000-November/007775.html Hopefully SteveS is close to finishing his simple example to maybe include two or more racks ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope-dev] Zpatterns, and ttw products distribution

2000-11-13 Thread jimbo
. I've managed to change the simple ttw example into a product. Are you suppose to be able to distribute ttw type programs like that? When I create the tar file its empty. Latest everything on win98 ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] unbuffered html from external method

2000-11-13 Thread Morten W. Petersen
[Andy McKay] | Is it possible to print unbuffered html output to the user from an external | method. It looks to me like I can't, output occurs upon the return and I | cant see a way of getting around that. Try hacking the BaseResponse, located in lib/python/ZPublisher. (implement the flush

Re: [Zope-dev] Specialists, Racks, and Objects, oh my!

2000-11-13 Thread Phillip J. Eby
At 04:14 PM 11/13/00 -0700, Bill Anderson wrote: I want a specialist to have two (or more hypotheticaly) racks, and each rack is to contain one type of object. I then want to be able to add objects. I have the two racks set up, but I am unclear as to how to specify that I want to add an item

Re: [Zope-dev] ZPatterns: Remapping object from on to another specialist

2000-11-13 Thread Steve Spicklemire
Hi Jimbo, I'm not sure what you mean by 'not getting anywhere...' but I've generally found it useful to work on problems like this one little step at a time. I might be tempted to just try: WITH EmployZManager.getItem(self.id) COMPUTE original_object = (RESULT is _.None) and NOT_FOUND or

Re: [Zope-dev] Specialists, Racks, and Objects, oh my!

2000-11-13 Thread Steve Spicklemire
Hi Bill, The 'type' of object is set in the Storage tab of the rack. The specialist can decide which rack to use based on circumstances that dicate one type of object or another. -steve "Bill" == Bill Anderson [EMAIL PROTECTED] writes: Bill I want a specialist to have two (or more

[Zope-dev] ZPatters: Roles and remapping

2000-11-13 Thread Roch'e Compaan
An Organisation can play the role of Customer and of Requester. In this case the Requester specialist will remap from the Customer specialist. In terms of roles all Customers do not play the role of Requester. Would it be correct to say that the remapping to Requester only occurs at that point

[Zope-dev] FIX for the infamous __call__ bug - testers needed!

2000-11-13 Thread Brian Lloyd
Hi all - One of the things I _really_ _really_ wanted to fix for the upcoming 2.2.3 release is the infamous "__call__" bug. I have a fix that works according to my limited testing - what I really need is for a few volunteers familiar with the problem to take a few minutes to verify the fix

[Zope-dev] strange error on first load of zope page

2000-11-13 Thread Toby Sargeant
The first page I try and load after restarting the zserver invariably contains the following error. It always occurs *after* the page has successfully been rendered (I have added debugging so that I can see the path traversal, and SQL statements executed). Hitting reload will then display the