> That would seem to me like a bit of a sledgehammer solution.

Perhaps I misinterpreted. If you just want 'register.js' to appear on
the 'register.ctp' view, then indeed you should just do it in the
view. I thought the OP wanted a generic automagic solution for
including javascript files based on the controller/view name
('register' just being an example).
--~--~---------~--~----~------------~-------~--~----~
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