Perhaps is better if I explain you what I'm trying to do
Imagine a Plone site (I know there are a plone list but this is a generic question, sorry if not)
I configure it in the way if you put a parameter ?print the plone point renders as when you push the print button at the bottom of the point
For example: plone_site_url/front-page?print renders the plone front page with the print.css sytle
Now I want to get the rendered code of this point as string to pass it to PDFNode.renderAsPdf (it expect a string with the HTML and the name of the generated pdf)
Did you know how can I get the html code of an url with get parameters?
2008/10/8 Andreas Jung
<lists@zopyx.com>
Am 08.10.2008 4:46 Uhr, Garito schrieb:
Hi!
How can I import the TALES funcion path on a python script?
I would like to use the path function on a python script. The same path
function I can use on page templates
Imagine this TALES expression: python: path("a/concrete/path")
Can I use it on a python script?
Why can't you use acquisition or traversal?
-aj
--
Mis Cosas
http://blogs.sistes.net/Garito
Zope Smart Manager
http://blogs.sistes.net/Garito/670