Hi people, I have been searching this group for the answer to this question but I cant find any post that relates to it!
I have 2 objects: USERS & PROJECTS The user is first presented with the "users/add" view. This view contains a div which by default contains a form for the user to create an account. Upon filling in and submitting the form I would like to populate the div with a view from the Projects object. This allows the user to then add details about their project but without the page reloading. What I have found is that I can load the view of another method of the same object; but not that of another object. So if I try to render "users/project" this works as expected. However if I try and render "projects/add" cake doesn't like it and tells me that the view for UsersController::projects/add() doesn't exist. Well it doesn't, not under the USERS object anyway; but it does exist under the PROJECTS object. So - how does one render a view from another object? Does anyone have a snippet of code that demonstrates how this would be achieved? I look forward to a reply as this has held me up for a few days now, Jamieh... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
