[Zope] getting the id from the context

Marie Robichon robichon@esrf.fr
Tue, 15 Apr 2003 11:30:17 +0200


Hi,

how do I get the id from the context in a python script ?  I tried this but 
it doesn't like the 'id':

request=context.REQUEST

note_id=getattr(context,id)

Must be something obvious - do I have to use getId?

TIA

Marie Robichon

Web Task Force
European Synchrotron Radiation Facility
BP 220
38043 Grenoble Cedex
France

http://www.esrf.fr

Tel: (33) 04 76 88 21 86
Fax: (33) 04 76 88 24 27