[Zope] Rendering DTML from PythonScript

Joel Burton jburton@scw.org
Wed, 21 Mar 2001 12:38:09 -0500 (EST)


On Wed, 21 Mar 2001, Duncan Booth wrote:

> Your Python script doesn't return anything, so nothing is sent back 
> to the user (except an empty response). Try this:
> 
>     return </color>context.facbody(context, context.REQUEST, 
> facid=traverse_subpath[0])

Yep. Mom always said that if I'd forget my head if it weren't attached to
my body.

This was the exact problem, and, not surprising, once I returned the
value, I saw the right response. :-)

Thanks!

-- 
Joel Burton   <jburton@scw.org>
Director of Information Systems, Support Center of Washington