passing request to product methods
All, I'm passing form data to a method in a product through the REQUEST variable, i.e. <dtml-var expr="MyMethod(REQUEST)"> ...there has to be a way to do this implicitly so that users of the product can just call <dtml-var MyMethod> Any help is much appreciated. -- Alex
Alexander Westholm wrote:
All,
I'm passing form data to a method in a product through the REQUEST variable, i.e. <dtml-var expr="MyMethod(REQUEST)"> ...there has to be a way to do this implicitly so that users of the product can just call <dtml-var MyMethod> Any help is much appreciated.
Alex, Please don't post to this list in HTML format. Use plain text only. The same goes for the other zope-related lists. Also, zope@zope.org would be a more appropriate list for your question. You might want to try asking there instead. In any case, you can usually access the request from your product's methods using self.REQUEST. -- Steve Alexander
participants (2)
-
Alexander Westholm -
Steve Alexander