To enable annotations for your validator, add this to your config.yml file:
web.config:
validation:
enabled: true
annotations: true
I had some headaches figuring that one out.
-----Original Message-----
From: "Pablo Godel" <[email protected]>
Sent: Wednesday, 30 June, 2010 22:50
To: [email protected]
Subject: Re: [symfony-devs] Symfony2 Form in sandbox
Thanks for the quick response!
Pablo
On Wed, Jun 30, 2010 at 4:42 PM, Bernhard Schussek <[email protected]>wrote:
> Hi Pablo,
>
> Sorry, it seems the documentation is not up to date. Please try the
> following lines in config.yml:
>
> web.config:
> validation: true
>
> Bernhard
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> 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]<symfony-devs%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en
>
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
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
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
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