Re: [Zope-dev] ZPatterns: Methods of specialits

2000-11-22 Thread Phillip J. Eby
At 12:41 PM 11/22/00 +0200, Roch'e Compaan wrote: >I have a specialist Contacts and for Contacts I have a method >getAllContactsForCustomer. Whenever I want to call this method I have to >pass on the whole namespace and the object itself to get it to work eg: >getAllContactsForCustomer(this(), _,

Re: [Zope-dev] ZPatterns: Methods of specialits

2000-11-22 Thread Steve Spicklemire
Hi Roch'e, I'm guessing that getAllContactsForCustomer is a "DTML Method". If I remember correctly the third argument is a 'mapping object' that can be used to augment the effective namespace available to the method. Passing _.None should do nothing (I'm guessing you could just use "getAllCo

[Zope-dev] ZPatterns: Methods of specialits

2000-11-22 Thread Roch'e Compaan
I have a specialist Contacts and for Contacts I have a method getAllContactsForCustomer. Whenever I want to call this method I have to pass on the whole namespace and the object itself to get it to work eg: getAllContactsForCustomer(this(), _, _.None). Why is this the case? And what does _.None