[Zope-CMF] Having trouble converting a DTML Method snippet to ZPT

Jeffrey_Franks@i-o.com Jeffrey_Franks@i-o.com
Thu, 18 Jul 2002 14:39:54 -0500


Hi,

I'm having difficulty in converting a DTML method that works just
fine to a ZPT.

The DTML method snippet is written

     <dtml-var printenv>

 to call a ZCGI perl script of the same name. It works.

In a complimentary ZPT code snippet written as:

     <span tal:content="printenv">printenv</span>

it croaks with traceback saying
  Error Type: Undefined
  Error Value: printenv not found in 'printevn', at line 7, column 1

Does anyone know what I have done wrong in trying to reference
the ZCGIScript 'printenv' from a ZPT ?

-- jlf