Hi again, to give a bit more detail on how I made the "hack": I created a custom behavior and linked it into both models (the core- model with adress-data and the changelog-model) with "var $actsAs = ....". Then I added the function "beforeSave(&$model)" in the behavior and defined "global $changed_data;". This global variable is only set by the core-model (the adress-data) and read by the second one. Problem is, that I definitly need the correct order in the process. It's mandatory that the core-model is used first. Because I'm working only with the adress-controller (there is no controller for the second model), it should be ok that way.
But I don't like this aproach. I have the strong feeling, that this is not the best way to treat the data. But I definitly cannot figure out how to do this in a different way.... kind regards klaus --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
