Hi all, I've been working on a project where I have the following models:
Schedule Event A Schedule has multiple Events. In my edit schedule view, I have a list of events belonging to a particular schedule the user is viewing, like this: Schedule 1 - Event A - Event B - Event C And when I try to save an existing schedule (Schedule 1 in this case,) the existing events are UPDATEd in the database as expected. But when I try adding a new event into an existing schedule... the CakePHP saveAll() does not seem to be INSERTing the new events... and when I look at the $this->data output in the view, it looks like newly added events are not even appearing in the $this->data array. I am adding new events via jQuery methods... adding a new event (before saving,) basically entails adding some more form fields that have a unique form id... like: Event1Title Event1Description Is there something I am doing wrong in the way I have those form inputs titled? I am just trying to find out how to have CakePHP's saveAll() recognize that I have, in fact, added new form fields that I want to be INSERTed into the database. :-) Thanks for any pointers... Andy Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
