I have 2 models with a hasMany/belongsTo relation. Let's say User/
Pictures: a user hasMany pictures and a picture belongs to a user.
I have a page where it is possible to enter data about the user and to
select pictures and enter data about them.
The problem: when I try to "edit" the data I can choose to remove one
or many pictures.
Is there a cake way to accomplish that?
If I simply remove the picture from the page and save cake doesn't
delete anything. Should I do that by hand, coding some code that
checks if the submitted data is different from the recorded data?
Thank you
maxx
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php