Calling DTML after executing sa script
Hi! How do you call a DTML method/document after you have executed a python script? Can you also pass some values to this DTML document/method from the script? __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com
On Wed, 2002-09-11 at 21:23, michael.tañag wrote:
Hi!
How do you call a DTML method/document after you have executed a python script? Can you also pass some values to this DTML document/method from the script?
Hello, michael. What I have done is to put: return context.dtmlMethod() at the end of my script. If you just want to pass along the request received by the script you can do : return context.dtmlMethod(context, context.REQUEST) you can also pass named parameters with: return context.dtmlMethod(context, context.REQUEST,paramname=value) I hope that answers your question, I am pretty much a newbie as well. -Mark
michael.tañag writes:
How do you call a DTML method/document after you have executed a python script? Either the script must call it before it returns or the caller must call it (of course).
Can you also pass some values to this DTML document/method from the script? Please read "Calling DTML objects" in
<http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html> Dieter
participants (3)
-
Dieter Maurer -
Mark Roach -
michael.ta�ag