[Zope] FSSession and calling DTML Methods in various ways

Oleg Broytmann Oleg Broytmann <phd@mail2.phd.pp.ru>
Wed, 21 Feb 2001 19:41:09 +0300 (MSK)


On Wed, 21 Feb 2001, Peter Bengtsson wrote:
> What's the difference between
> <dtml-call someDTMLMethod_dtml>
> and
> <dtml-call "someDTMLMethod_dtml()">
> ??

   This <dtml-call someDTMLMethod_dtml> is
<dtml-call "someDTMLMethod_dtml(_.None, _)">

   DTML objects are called with 2 parameters - client and namespace! In
case of <dtml-call someDTMLMethod_dtml> Zope automagically supplies these 2.

Oleg.
----
     Oleg Broytmann     http://www.zope.org/Members/phd/     phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.