[Zope] dtml-var question

Jeff K. Hoffman jeff.hoffman@goingv.com
Mon, 21 Feb 2000 12:51:32 -0500 (EST)


On Mon, 21 Feb 2000, Evan Simpson wrote:

> ----- Original Message -----
> From: James W. Howe <jwh@allencreek.com>
> > I have a DTMLMethod named foo.  I can access this method by using the
> > following statement:
> >
> > <dtml-var foo>
> >
> > If I wanted to use the "quoted" syntax to access this method (perhaps
> > because it resides in some other folder) which of the following is exactly
> > equivalent to the statement above:
> [snip]
> > <dtml-var "foo(_.None, _)">
> 
> The above is definitely closer, and seems to behave the same in every place
> I've used it.  I can't say for sure that it is *exactly* equivalent, though.

Out of curiosity, what is the implied client in the case of <dtml-var
foo>?

Perhaps <dtml-var expr="foo(this(), _)"> is closer, or perhaps not. I
really need to read that code some day like I keep threatening. ;-)

> Evan @ 4-am & digicool

--Jeff

---
Jeff K. Hoffman                                         704.849.0731 x108
Chief Technology Officer                                mailto:jeff@goingv.com
Going Virtual, L.L.C.                                   http://www.goingv.com/