[symfony-users] Validators

2011-06-02 Thread Paul Dugas
My SF2 application provides traditional pages using forms for creating/updating entities. I'm also using the Neton\DirectBundle to provide support for a rich Internet application build using Sencha's ExtJS Javascript framework. DirectBundle allows me to publish server-side controller actions

Re: [symfony-users] Validators

2011-06-02 Thread Christophe COEVOET
Le 02/06/2011 15:14, Paul Dugas a écrit : My SF2 application provides traditional pages using forms for creating/updating entities. I'm also using the Neton\DirectBundle to provide support for a rich Internet application build using Sencha's ExtJS Javascript framework. DirectBundle allows me

[symfony-users] Validators and optionnal fields

2007-07-16 Thread Nicolas Perriault
Hi, Maybe a silly question, but how can I use validators on unrequired field? I mean, I have an unrequired email field in a form and I want : - that if a surfer submit an email and this email is invalid an error will be thrown - but if he does not provide an email, the validator won't

[symfony-users] Validators, Actions Models

2007-06-10 Thread Greg Freeman
I'm a little confused on the tasks of these three things mainly because of the login validator in askeet. In my understanding, the validator should validate only and then the action should be responsible for calling the model which is turn does the necessary processing. In Askeet, the login