[Zope] DTMLDocument content - "html quoted" or not
Ron Bickers
rbickers@logicetc.com
Tue, 11 Jul 2000 21:21:57 -0400
> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
> Dieter Maurer
> Sent: Tuesday, July 11, 2000 6:54 PM
> To: zope@zope.org
> Subject: Re: [Zope] DTMLDocument content - "html quoted" or not
>
>
> Michael Gutmann writes:
> > Aleksander Salwa schrieb am Fre, 07 Jul 2000:
> > <...>
> > >In mentioned method, to render document, I wrote:
> > >
> > ><dtml-var this>
> > >
> > >But this outputs html quoted text (so I see HTML and DTML
> tags in browser,
> > >instead of formatting and variables).
> > Hmm, looks like a problem I had a few days ago. Maybe
> >
> > <dtml-var "this.(_.None,_)">
> "this" is a parameter less method, thus you call is like "this()".
> Try <dtml-var "this()(_.None,_)">.
Wow! Speaking of complicated DTML to do a simple thing.
I ran into this same problem while attempting to show someone how easy it
would be to create a simple 'view' method that includes 3 lines: the
standard header, the document (using 'this'), and the standard footer. That
way, some of our not so computer savvy content writers can just write their
documents and not have to be told they need to include some "special" tag at
the top and bottom of every page or it won't work.
At least I know how to do this now, but there *has* to be an easier way to
just include the document contents, right? Why exactly doesn't <dtml-var
this> work?
_______________________
Ron Bickers
Logic Etc, Inc.
rbickers@logicetc.com