I am trying to pass the title of a page to a dtml method which is in another folder named links. If I pass the actual title like below everything works. However, when I try to pass the value of the current title to category_results using various other methods it does not.
What is the syntax so that I can pass the current value of <dtml-var title> to the method? Would the dtml-with block change the namespace it pulls the title variable from to the context of the method category_results in the links folder?
<dtml-with links>
<dtml-comment>This line works</dtml-comment>
<dtml-var "category_results(_.None, _, title1='Hannoverian Stallions Lauries Crusador ')">
</dtml-with>
<dtml-comment>This line works</dtml-comment>
<dtml-var "category_results(_.None, _, title1='Hannoverian Stallions Lauries Crusador ')">
</dtml-with>
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )