[Zope] <dtml-var> html_quote
Chien-pin Wang
cpw@suprize.com
Thu, 16 Mar 2000 14:18:58 +0800
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>
I have tried the following but none works out:
- Use DTML Method instead of DTML Document to hold
showImage
- Use "/" instead of "." to point to objects
- Use single quote or no quote instead of double quotes
Please advise the proper way to resolve this annoying issue.
Thanks a lot!
Chien-pin