Hi again, Holger Hoffmann wrote:
Chien-pin Wang wrote:
Hi,
Suppose the following folder/Obj structure:
Zope Root - test showImage (DTML Document) - image testImage (image object) - test2 testProgram (DTML Document)
showImage contains one line of code: <A HREF="test"><dtml-var "image.testImage"></A> that shows the testImage properly alone. But if I put <dtml-var "test.showImage"> in testProgram (in test2), I got all "<" as "<" and the ugly code like the following was returned intead of the image with link.
<A HREF="test.html"><dtml-var "testImg"></A>
Uups, sorry
<dtml-var "test.showImage(_.None, _)"> ^^^^^^^^^^^^^^
but i think you have to call also
<A HREF="test"><dtml-var "image.testImage()"></A>
Sorry, this is not right. <A HREF="test"><dtml-var "image.testImage"></A> is right. Next time I will test it ... :( ... Holger