I know the cause, having struggled with this one already. Any field that you add via generator.yml must be a part of the data model with the module. If you add a field that is not a part of the object, the field will be disabled by default. You'll have to explicitly enable the field(s) you want to work with or use a partial field to include it.
<http://www.symfony-project.com/book/1_0/14-Generators#Partial%20Fields> Charley Bernhard Schussek wrote: > Hey Beuh! > > I think this happened to me too when I still worked with Propel. > Although I don't remember the cause of this anymore. > > But I think the solution was to add a > > fields: > my_field: {params: disabled=false} > > in the generator.yml. Does this work? > > Regards > > > Am Mittwoch, den 19.09.2007, 14:32 +0000 schrieb Beuh: >> Hi, >> >> Some form's fields are disabled (grey) in my backend. >> >> I did it with the admin generator. >> >> My "generator.yml" seems to be good ! >> >> How can I enable those fields without changing the cache everytime ? >> Is it possible to force it ? >> >> Thx >> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" 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-users?hl=en -~----------~----~----~----~------~----~------~--~---
