Re: [Zope] Execute a PageTemplate in another context

2008-02-04 Thread Andrew Milton
+---[ Peter Bengtsson ]-- | Andrew Milton wrote: | >+---[ Peter Bengtsson ]-- | >| Is it possible to execute a PageTemplate as if it was located somewhere | >| else? | >| The PageTemplate has this code:: | >| | >| | >| And it's located in a folder

Re: [Zope] Execute a PageTemplate in another context

2008-02-04 Thread Peter Bengtsson
Andrew Milton wrote: +---[ Peter Bengtsson ]-- | Is it possible to execute a PageTemplate as if it was located somewhere | else? | The PageTemplate has this code:: | | | And it's located in a folder called /foo/bar/ which are normal Zope | Folder objects. | I'm exec

Re: [Zope] Execute a PageTemplate in another context

2008-02-04 Thread Andrew Milton
+---[ Peter Bengtsson ]-- | Is it possible to execute a PageTemplate as if it was located somewhere | else? | The PageTemplate has this code:: | | | And it's located in a folder called /foo/bar/ which are normal Zope | Folder objects. | I'm executing this template object

[Zope] Execute a PageTemplate in another context

2008-02-04 Thread Peter Bengtsson
Is it possible to execute a PageTemplate as if it was located somewhere else? The PageTemplate has this code:: And it's located in a folder called /foo/bar/ which are normal Zope Folder objects. I'm executing this template object from Python code (not from URL travsersal) and the rendered res