[Zope] External Methods

Marcus Mendes mvmendes@emdata.com.br
Fri, 05 Jan 2001 11:46:42 +0000


Phil Harris wrote:
> 
> Wouldn't it be better to pass in self?
> 
> As in:
> 
> def my_method(self,REQUEST=None):
>   '''my_method interpreting *REQUEST*.form.'''
>   if REQUEST is None:
>     REQUEST=self.REQUEST # safety_valve in case you forget to pass in
> REQUEST
>   form= REQUEST.form # this is a dictionary containing form
>                      # variables and associated values
> 


Hello,

Ok Sirs, I'm very late in my checking my mailbox ;-) 

I've a question in this code above : How can I get the values of a
dictionary form?
In my Method, I used form.values(), form.Name_Of_Variable_OF_my_form,
but it is not working.

Thanks

Marcus Mendes