[Zope] Returning an image and text from python script
Sven Hohage
hohage@muenster.de
Mon, 17 Feb 2003 15:58:30 +0100
I'd like to return from python script an image object to a dtml method
which renders the image.
If the state is edit - set by a cookie- the image should have a link for
updating the image.
I tried to add the text with the object which obviously failed.
I also tried to return a string like "<dtml-var '_.getitem(' " +
pictureName + " ,0'>" + linkText which only displays the string but
didn't render the image.
To return multiple values is not what I want because I want to have a
simple funtion in the dtml-method like <dtml-var "getPicture('pic1')">
Thanks