Hi, suppose you have these models: model foo belongsto bar, bar hasmany foo.
On the form of /foos/add I want this: - the fields to create a foo (this is what we usually have) - but also: the fields to create a new associated bar. this is usefull, and even a must if no bars exist yet. On submission, the fooscontroller would try to save the bar first, if success, save the foo too, linked to the bar. I could start writing my own code for this, but this seems like a very common case, I was wondering if anyone hand some sample code already, or preferrably even view templates for bake? Thanks, Dieter --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
