[Zope] Re: NamedTemplate.__call__ not returning anything

2008-01-14 Thread Maurits van Rees
Maurits van Rees, on 2008-01-14: Dieter Maurer, on 2008-01-14: Maurits van Rees wrote at 2008-1-13 23:32 +: I have some code where I try to get a named template and render it and if it fails I render a default template instead. But this fails, presumably because the __call__ method of

[Zope] forbiddenAttribute, annotation, __call__

2007-04-19 Thread J�rgen
I'm a little stuck here (And please forgive me, I don't really know what i'm doing)... Problem: Getting ForbiddenAttribute: ('__call__', on annotation I am trying to make a tabbed form which shows 'snapin-annotations' as tabs in the same form as the content In the form i look up the

Re: [Zope] with a __call__

2000-10-27 Thread Chris Withers
Max Møller Rasmussen wrote: I want to write my "index_html" method so that it returns a rendered version of "list.dtml" corresponding to the selected view, by the name of the folder holding the selected view. something like this (which doesn't work): def index_html(): return

Re: [Zope-dev] AttributeError: __call__

2000-10-05 Thread Chris Withers
knight wrote: I just installed a fresh copy of 2.2.1 also, and I'm getting the same issue. Any items starting with a subfolder has a __call__ AttributeError. What do you mean by 'starting with a subfolder'? Can you give some exampels and a full traceback? cheers, Chris

Re: [Zope-dev] AttributeError: __call__

2000-10-05 Thread knight
Chris, Ofcourse, the phenomina disappeared abruptly. However, I intend on using 2.2.2 again within minutes, so I will post a detailed message if the phenomina occurs again. Regards, Knight [EMAIL PROTECTED] On Thu, 5 Oct 2000, Chris Withers wrote: knight wrote: I just installed a

Re: [Zope-dev] more __call__ ...

2000-09-27 Thread Chris Withers
Jim Fulton wrote: http://a.site/folder/object/myobject myobject contains dtml-var standard_html_header standard_html_header contains dtml-var mynavigator Is myobject a DTMLMethod? Some kind of container? Sorry... a good example for myobject would be a DTML Document. I don't see how

Re: [Zope-dev] more __call__ ...

2000-09-26 Thread Toby Dickenson
On Tue, 26 Sep 2000 16:11:50 +0100, Chris Withers [EMAIL PROTECTED] wrote: So, if I give my product a class attribute of isDocTemp=1, what signature should I give my product's __call__ method so it picks up the DTML namespace? Interestingly, Ive just put a HowTo that does this

Re: [Zope-dev] more __call__ ...

2000-09-26 Thread Jim Fulton
mynavigator Is myobject a DTMLMethod? Some kind of container? I don't see how it can contain a var tag if it's not DTML. If it is DTML, I don't see where mynavigator fits in. __call__ is a method of the Navigator product, of which mynavigator is an instance. Anyway, in that __call__