obj = request['PUBLISHED']
print repr(obj)

<FSPageTemplate at /atlas/maptext_view used for

I have the FSPageTemplate ... It's being applied to "1.mtx".

How do I get to "1.mtx" directly, getting rid of the Page Template?

I want to end up with this object:

<MapTopicText at

I want to get to the object the template is being applied TO.


-----Original Message-----
From: Andreas Jung [mailto:[EMAIL PROTECTED] 
Sent: September 20, 2007 08:57
To: Doyon, Jean-Francois; Andreas Jung; zope@zope.org
Subject: RE: [Zope] PageTemplate API Question

--On 20. September 2007 08:54:20 -0400 "Doyon, Jean-Francois" 

> 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.
No idea what you mean or want...

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