Oops! My bad. Everything working fine now :)) Thanks, BenO At 02:54 PM 1/29/02 -0500, you wrote:
On Tue, Jan 29, 2002 at 11:39:06AM -0800, Ben Ocean wrote:
Hi JIM PENNY and HARRY WILKINSON and all others; I tried both of your suggestions, but now I get the below complaint with either *context* or *REQUEST* being the NameError. Perhaps I need to import another module? TIA, BenO
No, no, no.....
Perhaps you need to show us what you are using as the definition of the function. Do you have a self parameter? If so, it should be available as self.REQUEST. i.e. is your funcion headed def my_func(self): (or def my_func(self, parameter_list) )
Or alternatively, define my_func(REQUEST):
Most of my code has def my_func(self, REQUEST, ...)
Then I know what I have passed in to the function!
Jim