[Zope] passing a parameter - namespace and dtml-with

Sean Kelley kelleyfarm at gmail.com
Mon Aug 29 15:59:17 EDT 2005


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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20050829/eb610d99/attachment.htm


More information about the Zope mailing list