[EMAIL PROTECTED] wrote:
> 
> Isn't anyone using the medusa/monitor_client.py script to debug their
> zopes? I can start it up fine and view the sequence of objects I have
> created, but my question is how do I access the return value of a DTML
> method? The Zope Debugging how-to is a little scant on the subject.

python monitor_client.py localhost 8099
(enter password)
import Zope
app = Zope.app()
m = app.folder1.subfolder.myMethod
m()

and don't forget..

get_transaction().commit()

Shane

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to