From: "Dieter Maurer" <[EMAIL PROTECTED]>
>  > The only information about your caller that you can get
is
>  > the contents of their namespace.  So, in the final
release,
>  > you would be able to bind the caller's namespace to "_"
and
>  > write _.this().id.  That requires a change to Zope,
though,
>  > so it doesn't work yet.  You *could* work around this
by
>  > explicitly passing the namespace (or this(), for that
>  > matter).
> Why can't I get the acquisition context as with External
Methods?
> (if they are called directly via the Web, namespaces are
not
> yet build and the acquisition context obtained via a
"self"
> parameter is everything I have).

I don't understand.  If the method is called directly via
the Web, "context" *is* your acquisition context, and there
is no caller to get information about.

Cheers,

Evan @ digicool & 4-am


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to