Hello,
I have a many-to-many relation that I (want to) display with the admin generator. So I use the admin_double_list type which works perfectly as expected. Unfortunately, that M2M relation is ordered (there is an additional 'rank' field in the intermediate table) and the default _get_propel_object_list() can't handle this, of course. Note that it doesn't sort them in alphabetical order either - but that's another story... So I dug into the generator and found that - object_admin_double_list has a 4th param that can be used to choose a callback to create the SELECT list - sfPropelCrudGenerator only handles 3 params when generating an object_%s() call So AFAIK, I am stuck with the fully automated admin generation :-( My question is then what is the best move to duplicate as few code as possible from the _edit_form file generated in the cache? Thanks for your help -- Michel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
