On Friday 17 October 2008 21:30, Andrew Milton wrote:
> +-------[ 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')
Thanks, works great.
Garry
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to