[Zope] Re: dtml-let and product

Wayne Volkmuth volkmuth at yahoo.com
Fri Feb 22 14:18:27 EST 2008


>To get the mapping passed, you need to implement the method, '__render_with_namespace__', which will then be passed the multi-mapping as an argument.  E.g.::
>  def __render_with_namespace__(self, md):
>     myvar = md['myvar']
>     # ....

Thanks for the tip Tres, my product works now.


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20080222/4f86cfc2/attachment.htm


More information about the Zope mailing list