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

Jacek Medrzycki jacek at erp5.pl
Wed Jun 20 11:45:22 CEST 2007


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?

Regards, Jacek




More information about the Erp5-dev mailing list