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 <[email protected]> wrote:
> 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 <[email protected]> wrote:
>
>
>
> > 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 A->add(), I would copy B->add()...
>
> > What do you think? Is that reasonable?
> > Or would you do it different?
>
> > Thanks and kind regards,
> > volka- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to