19 Nov
2002
19 Nov
'02
3:11 p.m.
Marie Robichon wrote:
I have a form which calls up a method and fills in the form fields with the properties, in order for modification. The field jref picks up the id of the method called.
job=context.getitem(jref) I get the following error:
*Error Type: AttributeError Error Value: getitem
I tried also doing job=context[jref] but that doesn't work either...
Hi Marie, Please try: job=getattr(context,jref) and just another one: could you stop posting HTML-Mails... It's no fun to read or answer HTML-Mails... -mj -- German Zope User Group http://www.dzug.org/