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: <dtml-var "foo()"> or <dtml-var "foo(_.None, _)"> or neither? Thanks. James W. Howe mailto:jwh@allencreek.com Allen Creek Software, Inc. pgpkey: http://ic.net/~jwh/pgpkey.html Ann Arbor, MI 48103
----- 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. Cheers, Evan @ 4-am & digicool
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/
participants (3)
-
Evan Simpson -
James W. Howe -
Jeff K. Hoffman