[Zope] First External Method
Oleg Broytmann
Oleg Broytmann <phd@phd.pp.ru>
Tue, 23 Oct 2001 18:43:12 +0400
On Tue, Oct 23, 2001 at 07:31:21AM -0700, Ben Ocean wrote:
> > Do not use DTML inside DTML.
> > <img src="images/top" width=<dtml-var sizeCalc(1008,size)>...
>
> It chokes on the *size* part of the above line of code. Is it possible to
> call <dtml-var size> from within the External Script? Or, how else should I
> call it?
You should call it like this: <dtml-var "sizeCalc(1008, size)">. And if
you receive an error about "size" - there is a problem with that size, and
you should fix the problem with the size, not with the External Method.
Oleg.
--
Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.