How do you see this working from a user's point of view? What order is supposed to be recorded? I mean how do you anticipate telling the form the correct order? Would it not be better to do the songs for one gig at a time and just click to add a song in the order which you want to store them. You could use Ajax to speed things up a bit.
On Mon, Apr 12, 2010 at 12:16 PM, Robert Heim <sa...@gmx.net> wrote: > any hints or tipps? :-/ > > Am 09.04.2010 14:45, schrieb comb: >> >> Hi >> >> I have a many-To-many (Gig-Song) relation and want to use >> sfWidgetFormSelectDoubleList. >> It work's fine, but I want to save the order of assignments, too (and >> not only associated /unassociated ). >> >> >> schema.yml: >> # many-To-many-relation >> ... >> GigSong: >> columns: >> order_id: { type: integer, notnull: true, default: 0 } >> gig_id: { type: integer, primary: true } >> song_id: { type: integer, primary: true } >> ... >> >> As you see I have an order_id. I want to use this field to determine >> the ordering of played songs on a gig. >> >> How can I save the order in which I associated the songs to a gig >> using the sfWidgetFormSelectDoubleList? Or what may I do alternatively? >> >> > > -- > 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 users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > > To unsubscribe, reply using "remove me" as the subject. > -- 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 users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en