External Methods and REQUEST variable
Currently I am working with External Methods that use the REQUEST variable. I have defined a python function as : def print_form_values(self, REQUEST=None): if REQUEST is not None: return REQUEST.form.keys() else: return [ 'NOTHING!' ] It should pick up variables past through POSTing, however it does not. I have defined an DTML doc like this and posted a series of variables to it. <!--#var standard_html_header--> <h2><!--#var title_or_id--></h2> <!--#in GetFormKeys--> <!--#var sequence-item--> <!--#/in--> <!--#var expr="GetFormKeys(REQUEST)"--> <!--#var standard_html_footer--> GetFormKeys is the ID of the method. I cannot get this to work! What am I doing wrong? -Josh Zeidner ps. Is there a way for DTML methods to take arguments? _______________________________________________________________ Get Free Email and Do More On The Web. Visit http://www.msn.com
participants (1)
-
Josh Zeidner