Hi, I am writing an application which enables editing of data for a parent model and a data for a list of child models in a single view.
To make the code easier to re-use, I would like to keep the views for the parent and child separate - as they would be normally for each controller, but I would still like to have these views exist on the same page at the same time. As I understand it cakephp cannot do composition in this way, so have to resort to renderElement. Unfortunately, renderElement does not have the access to the data as the view does, so I cannot use the same style of form construction that can be used with individual views? Is there a way to nest views by composition, or is there a workaround other than requestAction that would let me display a page that I can edit parents and children on the same page without having one giant form / view file... Thanks Glen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
