I've worked a bit more on my problem since my last post. I am now able
to save my entry, get its ID and then call $this->Entry->Screenshot-
>save($this->data); Then I use the beforeSave callback in my
Screenshot model to check and move the file. If that succeeds I allow
the data to be saved to the database. Although it works, this doesn't
seem like the proper way to do it and I'm running into problems later
with errors and removing files.

I think I'm going to have to use separate forms for each model unless
someone can point me to example files that have two models and
controllers handle input from one form. Right now what I want to do is
more than my knowledge of MCV and cakephp allows me to do.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to