[Erp5-dev] Accessing the object from external validator of the workflow action form

Jérôme Perrin jerome at nexedi.com
Wed Jun 27 20:13:48 CEST 2007


Le mercredi 20 juin 2007 18:04, Jacek Medrzycki a écrit :
> I can extract the object from the request, but is there a more elegant
> solution?

I only know those two solutions:

context.getPortalObject().restrictedTraverse(request.get('object_path'))
context.aq_parent.aq_parent.aq_parent

Jérome



More information about the Erp5-dev mailing list