Chris Withers wrote:
> Shane Hathaway wrote:
> > Here's the logic: ExternalMethod sets up func_* attributes so it can
> > masquerade as a function. The trick works well enough to convince
> > ZPublisher's mapply() to pass in a "self" argument as the first
> > argument when needed.
> What 'self' does mapply pass? I always though it would be the object
> being rendered (the one that would appear before PARENTS in PARENTS
> if such a thing were possible ;-) but it appears to in fact be
> ...which seems silly
Ah... but are you calling the external method from a DTML method? These
are all methods, and therefore you'd expect the "self" object to be the
object the methods are subobjects of.
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -