Re: [symfony-devs] [Symfony2] custom validator

2011-01-04 Thread Lukas Kahwe Smith
On 04.01.2011, at 01:30, Christophe COEVOET wrote: > The FOS validator is a class validator. Look at > https://github.com/FriendsOfSymfony/UserBundle/blob/master/Resources/config/validation.xml > to see the rule (in XML, not annotations) > If your class extends the UserBundle one, the validatio

Re: [symfony-devs] [Symfony2] custom validator

2011-01-04 Thread Lukas Kahwe Smith
On 04.01.2011, at 01:10, Lukas Kahwe Smith wrote: > Aloha, > > I am trying to make use of the custom validator provided by FOS\UserBundle: > https://github.com/FriendsOfSymfony/UserBundle/tree/master/Validator > > I have setup the validation namespace on config.yml > > app.config: >validat

Re: [symfony-devs] [Symfony2] custom validator

2011-01-04 Thread Christophe COEVOET
Le 04/01/2011 01:10, Lukas Kahwe Smith a écrit : Aloha, I am trying to make use of the custom validator provided by FOS\UserBundle: https://github.com/FriendsOfSymfony/UserBundle/tree/master/Validator I have setup the validation namespace on config.yml app.config: validation: ena

[symfony-devs] [Symfony2] custom validator

2011-01-03 Thread Lukas Kahwe Smith
Aloha, I am trying to make use of the custom validator provided by FOS\UserBundle: https://github.com/FriendsOfSymfony/UserBundle/tree/master/Validator I have setup the validation namespace on config.yml app.config: validation: enabled: true annotations: namespace