Sorry, I should've been clearer, I mean from product code (hence the API
part of the subject line :) ... As best I can tell that object doesn't
have a context attribute/property ... There's a bunch of "get*" methods,
but nothing is jumping out at me as being what I want either ...
So I have request['PUBLISHED'] that is the template being applied to an
object, and I want the object itself, in product code.
I suppose I can go digg around to see how the TALES engine gets it's
context variable ...
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Sent: September 20, 2007 00:50
To: Doyon, Jean-Francois; email@example.com
Subject: Re: [Zope] PageTemplate API Question
--On 19. September 2007 17:00:03 -0400 "Doyon, Jean-Francois"
<[EMAIL PROTECTED]> wrote:
> If I have an object that is represented like this:
> <FSPageTemplate at /atlas/maptext_view used for
> How do I get to the object the template is being applied to (i.e.
'context' - as documented in any ZPT related documentation (e.g. the
three ZPT chapters of the "The Zope Book":
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -