I have a model that has a behavior.
e.g. Post var $actsAs = array('Attachment');
When the Post model is saved, the behaviour->beforeSave callback is
fired to save or update the Attachment model.
My question is: How do I cleanly propagate any errors raised by the
Attachment model back to the View/form? I know I need to populate the
View->validationErrors, but I don't want to interfere with the
automagic error handling of the primary model.
~GreyCells
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---