Hi all, I'm currently testing cake and came across the following problem:
I've two models (Computer and Person) with the corresponding two views, where one can add new computers and persons. A rule is, that every computer has to have at least one responsible person. Now let's say, a user wants to add a new computer for which the responsible person does not yet exist. How can I ensure, that the user is directed to the person view after specifying the computer's details? Also, I only want to write the computer's details to the database, if the user completely specifies a valid person in the second step. To ask the question in a more general way: I'm having problems with the (seemingly) strict separation of the views. Is there an elegant (or "cake") way, to link them together as described above? This probably has to be done in the controller - but in which one (person or computer) and how? Any hint would be great, thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---