[Zope] .html from python

Andrew Milton akm at theinternet.com.au
Fri Oct 17 16:30:44 EDT 2008


+-------[ Garry Saddington ]----------------------
| How would I do this:
| 
| dtml_method = context.singleitemview.html
| s = 
| return s 


dtml_method = getattr(context, 'singleitemview.html')
return dtml_method(client=context, REQUEST={}, foo='bar')

-- 
Andrew Milton
akm at theinternet.com.au


More information about the Zope mailing list