17 Feb
2003
17 Feb
'03
2:58 p.m.
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