Re: [symfony-users] Re: doctrine_admin_double_list doesn't work in sf1.4?

2009-12-03 Thread Haris Zukanović
Indeed it works :) My problem was that doctrine:build-schema is unaware of many-to-many relations and schema.yml does not have the definitions for these relations. I need to add them manually I wonder if it is possible to add such functionality to doctrine:build-schema task... Thank you. Ant

[symfony-users] Re: doctrine_admin_double_list doesn't work in sf1.4?

2009-12-02 Thread Antoine S.
I have never used "type" refClass tell the class to do the relation n:m and so the local_id and the foreign_id of refClass that make the relation. not clear maybe .. see my example, it works On Dec 1, 2:38 am, Haris Zukanović wrote: > Hi, > I have generated doctrine schema.yml with "doctrine:bu

[symfony-users] Re: doctrine_admin_double_list doesn't work in sf1.4?

2009-11-29 Thread Antoine S.
Hi You don't need to define in the generator.yml the type doublelist. If you model is ok, the form will have a widget : tags_list (widget select many) example of schema.yml n:m to have a widget categories_list in the ProductForm : Category: columns: id: type: integer(4) primary: