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

Jean-Paul Smets jp at nexedi.com
Wed Jun 20 12:01:54 CEST 2007


Jacek Medrzycki a écrit :
> Jean-Paul Smets pisze:
>>
>> Field validators are only there to help users enter information. Field
>> validators should be used to validate user entries. 
> It is exactly what they are used for - I am validating _user_input_ on
> a workflow action dialog (a customized and more complex one, with
> additional workflow variables to be entered by the user). However, to
> check validity of this input, I need to access the object.
> I can extract the object from the request, but is there a more elegant
> solution?
>
Sorry, I understand now. Thanks. I will try to get an answer.

JPS.

> Regards, Jacek
>
> _______________________________________________
> Erp5-dev mailing list
> Erp5-dev at erp5.org
> http://erp5.org/mailman/listinfo/erp5-dev




More information about the Erp5-dev mailing list