Hi, I'd really like to update my client side validation plugin to run with the 1.1 symfony release. Ahead of the sprint at the end of the week can anyone point me in the right direction for a way to access all instances of sfForm within a single request.
I'd like to work to the existing mechanism that sfPokaYoke adds the validation rules and any javascript files needed based on the forms within the requested page output and a filter that interprets the response body. But with the new form system I can not see a way to access the configuration for the sfForm instances and the sfValidatorScheme. The only way I have been able to integrate the generation of the required client side JavaScript code is to modify the action that I wish to validate and pass the form instance into my new sfPokaYokeFactory class that will interpret the form configuration to generate the rules. This implementation has many drawbacks the main of which is that it would be impossible to add the plugin functionality to the actions of a plugin without modification to the plugin actions. I used the following page as a blueprint for the functionality of sfPokaYoke in symfony 1.0.* is this at all possible with the 1.1 release? Any suggested starting points would be much appreciated. Kind regards Alistair --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en -~----------~----~----~----~------~----~------~--~---
