Re: Best Practice needed: How to deal with 'hasMany' Associations in an add-View

2008-12-17 Thread volka
Hi Eddie, I (hopefully) described my problem a way better in this newer post: http://groups.google.com/group/cake-php/browse_thread/thread/287a47eb678cc8a1# (I want to store unique data from the same form. ) On 16 Dez., 16:04, Smelly_Eddie ollit...@gmail.com wrote: I'm not sure I understand.

Re: Best Practice needed: How to deal with 'hasMany' Associations in an add-View

2008-12-16 Thread Smelly_Eddie
I'm not sure I understand. Are you attempting to save duplicate data to both A and B. Or do you wish to save unique data to A and B but from the same form. On Dec 15, 3:20 pm, volka volker.b...@googlemail.com wrote: Hi there, I hope someone is going to share his best practice(s) with me

Best Practice needed: How to deal with 'hasMany' Associations in an add-View

2008-12-15 Thread volka
Hi there, I hope someone is going to share his best practice(s) with me :-) I have a model A which has a 'hasMany' association with model B. model B 'belongsTo' model A. Now when adding A's to my database I'd like to add B's at the same time and in one form action=/app/A/add/form, as well. In