[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] Re: dtml-let and product

2008-02-21 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wayne Volkmuth wrote: > 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__c