See http://bin.cakephp.org/view/1828423735

I think the reason it doesnt work out of the box is because a method
was left out. Make sure you include a getxxxModel() in your controller
where xxx is the name of your controller and then call this function
from the observing component.

I have pasted in an example in the pastebin where I have a model and
controller called Tax and tax respectively. The component is called
TaxSaveSupport is lives in the components directory. Make sure you
include it in var components!

The great thing with observable models is you can also reference other
components in the observing component. E.g. an email component so that
when a record is saved/edited an email can be sent out to whoever.

If you still have trouble paste out your code and I will have a look at
it. Ian


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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