Oh... thanks nate, that makes a lot of sense.

couple follow up questions:

1) is it considered best practice with the framework to handle events
this way? if not, what is?

2) can i use a callback function as the variable in the observer such
as 
<?=$javascript->event('myid', 'click', 'myFunction'); ?> 

thanks


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

Reply via email to