> Right now, I use custom form and filter generators to change the
> default type of widgets generated for certain fields types, but I can
> only do it by only do it by modifying Symfony's code where the
> generator class is hard coded.
>
> For example, I want all my number filters to filter on a range of
> values instead of exact values, I know I can override it in each form
> class, but why would I do the same thing hundreds of times when I can
> do it once for all by just overriding a method in the generator class.

+1 for me. We need to be able to i.e : make a plugin that overrides
the filter generators and set it as default. Maybe there should be
some kind of factories.yml for that ? Is it a "core" thing enough to
include it in factories.yml ?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to