[Zope] Re: dtml-let and product

2008-02-22 Thread Wayne Volkmuth
>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.

[Zope] dtml-let and product

2008-02-21 Thread Wayne Volkmuth
I have a simple test Zope product inheriting from Cacheable, PropertyManager and SimpleItem. Say I have a dtml method at http://myzopeinstance.com/testdtml with contents I'd like "myvar" to be available in the__call__ method of testproduct. I don't know how to do that. Here's my testproduct