--On 11. August 2005 11:42:05 -0400 Chris Matheson <[EMAIL PROTECTED]> wrote:

Hello all,

First post.  I've read (past tense) tfm, but still don't know quite how
to do this.

I'm writing a Python script called by a zpt page.  How can I obtain the
resource/object which was first called by the visitor to the site, from
the python script.  I've tried context.PUBLISHED , but that is not quite
what I want, as it gives more of a url style.  I'm tring to get something
that I can compare to an objectValues() list.

'context' - as the name says - is the current object your dealing with.

If you call TTW /path/to/x/y/z/your_zpt then 'context' is the object behind the URL /path/to/x/y/z


Attachment: pgpB4fX9AZPPz.pgp
Description: PGP signature

Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to