Re: [Zope-dev] Bug in OFS/Traversable.py

2000-09-12 Thread Chris Withers
David Alexander Ranvig wrote: The unrestrictedTraverse method creates a fake REQUEST "object" (really a dictionary) and sends this to a __bobo_traverse__. If this __bobo_traverse__ uses the object properties of the REQUEST object, or needs the real REQUEST object it will fail. I chuck that

Re: [Zope-dev] Custom dtml tag

2000-09-12 Thread Andy McKay
Hmm well ive found i have TemplateDict object and of course my self. Perhaps there is a pythonism I have to research here. - Original Message - From: "Andy McKay" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 11, 2000 4:03 PM Subject: [Zope-dev] Custom dtml tag Im

Re: [Zope-dev] Custom dtml tag

2000-09-12 Thread Brett Carter
"Andy" == Andy McKay [EMAIL PROTECTED] writes: Andy - see the thread I started called 'Acqusition in a DTML tag' I have a similar question. -Brett Andy Hmm well ive found i have TemplateDict object and of Andy course my self. Perhaps there is a pythonism I have to Andy research

Re: [Zope-dev] Acquisition in a DTML Tag

2000-09-12 Thread Brett Carter
"Shane" == Shane Hathaway [EMAIL PROTECTED] writes: Shane Brett Carter wrote: "Brett" == Brett Carter [EMAIL PROTECTED] writes: Brett I've defined my own dtml tag (i.e. dtml-foo/dtml-foo) Brett and I am trying to look up an object depending on the Brett arguments

Re: [Zope-dev] Acquisition in a DTML Tag

2000-09-12 Thread Martijn Pieters
On Tue, Sep 12, 2000 at 10:57:57AM -0700, Brett Carter wrote: "Shane" == Shane Hathaway [EMAIL PROTECTED] writes: Shane Brett Carter wrote: "Brett" == Brett Carter [EMAIL PROTECTED] writes: Brett I've defined my own dtml tag (i.e. dtml-foo/dtml-foo) Brett and I

Re: [Zope-dev] Custom dtml tag

2000-09-12 Thread Martijn Pieters
On Tue, Sep 12, 2000 at 09:26:49AM -0700, Andy McKay wrote: Hmm well ive found i have TemplateDict object and of course my self. Perhaps there is a pythonism I have to research here. - Original Message - From: "Andy McKay" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday,

Re: [Zope-dev] Custom dtml tag

2000-09-12 Thread Andy McKay
I can see how this would be useful in a situation where I dont have an instance of self. But in this case I do, so Im not sure how this helps. I guess you're saying once I have self I can find out what called the function. More fiddling I guess. - Original Message - From: "Martijn

Re: [Zope-dev] Custom dtml tag

2000-09-12 Thread Brett Carter
Andy: here's what I've gleaned - in a dtml tag's render() method, you get passed in self and a template dict, in my example let's call it 'md'. md is essentially a stack/dictionaryish object of the *current* namespace - and one of the handy things that's always around in the namespace is the

Re: [Zope-dev] Custom dtml tag

2000-09-12 Thread Andy McKay
Really? Ive looked up this and get nothing (an attribute error actually) and its not in globals. If that would work that would be great - but a it certainly doesnt seem to on a standard DTMLDocument / Method. - Original Message - From: "Brett Carter" [EMAIL PROTECTED] To: "Andy McKay"

[Zope-dev] Zdebug not working with mailhost and PTK

2000-09-12 Thread James Johnson
I can't send mail using Zdebug and PTK latest versions. Here is the error. exceptions.TypeError Error value: len() of unsized object this part was highlighted as the problem dtml-sendmail mailhost="MailHost" Any suggestions? Get your Free E-mail at http://tacoma.zzn.com