[Zope-dev] PythonMethods: Can't Slice context.REQUEST.PARENTS
Dieter Maurer
dieter@handshake.de
Sun, 12 Nov 2000 23:49:52 +0100 (CET)
The Doctor What writes:
> ...
> Now here is my next problem.
>
> Using context.REQUEST.PARENTS doesn't give me the DTML Document that
> called me (so to speak).
>
> I have:
> /test/new/foo_html
>
> My PARENTS shows Zope, Test, and New, but doesn't show foo_html.
"PARENTS" contain the objects from root up to but excluding
the final object on the URL.
You may try to reference the final object by "this()".
Dieter