Re: [Zope] view DTML source

2000-11-27 Thread The Doctor What
Anders Eriksson ([EMAIL PROTECTED]) asked about view_source I'm not sure exactly what's going on there (others have posted possible explinations) but I have something that solves some of my problems with view_source: http://docwhat.gerf.org:9673/view_source/view_source My view_source checks

[Zope] Re: Re[2]: [Zope] view DTML source

2000-11-26 Thread Dieter Maurer
Anders Eriksson writes: > DM> ... use "document_src" to view the source ... > > AFAIU there is two problems with using document_src directly > 1) I can't use the html_quote param You do not need to (unless you are interested in standard wrapping for e.g. corporate identity or navigation). "do

Re: [Zope] view DTML source

2000-11-25 Thread Oleg Broytmann
On Fri, 24 Nov 2000, Anders Eriksson wrote: > (Object: standard_html_header) > AttributeError: __call__ > > This is my data: > Zope version: Zope 2.2.2 (binary release, python 1.5.2, win32-x86) > Python version: 1.5.2 (#0, Jul 30 1999, 09:52:18) [MSC 32 bit (Intel)] > System Platform: win32 >

[Zope] Re[2]: [Zope] view DTML source

2000-11-24 Thread Anders Eriksson
Hello Dieter, Friday, November 24, 2000, 10:06:22 PM, you wrote: DM> Anders Eriksson writes: DM> > ... view source traceback ... DM> > (Object: standard_html_header) DM> > AttributeError: __call__ DM> That is very strange as "standard_html_header" does have DM> a "__call__" method. DM> Th

Re: [Zope] view DTML source

2000-11-24 Thread Dieter Maurer
Anders Eriksson writes: > ... view source traceback ... > (Object: standard_html_header) > AttributeError: __call__ That is very strange as "standard_html_header" does have a "__call__" method. Thus, I can not tell you, why you see this behaviour. However, you may use "document_src" dire

[Zope] view DTML source

2000-11-24 Thread Anders Eriksson
Hello zopistas, On the zope.org there is a 'method' called view_source, which lets you see the DTML source of a page. I 'borrowed' this code, by using view_source on itself and got this: I then created a DMTL-document called 'view_source' with this content. But when I run, using http://sw