Re: [Zope] DTMLDocument content - html quoted or not

2000-07-11 Thread Dieter Maurer

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,_)".


Dieter

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




RE: [Zope] DTMLDocument content - html quoted or not

2000-07-11 Thread Ron Bickers

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
 Dieter Maurer
 Sent: Tuesday, July 11, 2000 6:54 PM
 To: [EMAIL PROTECTED]
 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.
[EMAIL PROTECTED]



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] DTMLDocument content - html quoted or not

2000-07-10 Thread Michael Gutmann

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,_)"

helps (untried ;-)

-- 
Michael Gutmann M.A.
[EMAIL PROTECTED]
Universitaetsrechenzentrum Heinrich-Heine-Universitaet Duesseldorf

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )