[Zope] dtml-var question
Jeff K. Hoffman
jeff.hoffman@goingv.com
Mon, 21 Feb 2000 16:48:54 -0500 (EST)
On Mon, 21 Feb 2000, Tres Seaver wrote:
> Evan Simpson <evan@4-am.com> 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.
>
> Hmm, maybe
>
> <dtml-var expr="foo(_.None, _, REQUEST)">
>
> is closer?
Or maybe <dtml-var expr="foo(this(), _, REQUEST)"> is closer.
Heh. ;-)
--Jeff
---
Jeff K. Hoffman 704.849.0731 x108
Chief Technology Officer mailto:jeff@goingv.com
Going Virtual, L.L.C. http://www.goingv.com/