what happens when you link the the js file by using this method <?php
echo $javascript->link('ext-2.0.1/ext-custom'); ?> ?

On Nov 9, 7:18 am, Antoniov <[EMAIL PROTECTED]> wrote:
> Undefined variable: javascript [APP\views\layouts\default.ctp, line 8]
> Fatal error: Call to a member function link() on a non-object in D:
> \xampp\htdocs\cake\tree\views\layouts\default.ctp on line 8
>
> Controller code:
>
> var $components = array('RequestHandler','Security');
> var $helpers = array('Form','Javascript','Html');
>
> default.ctp line 8
> <?php echo $javascript->link('/js/ext-2.0.1/ext-custom.js'); ?>
>
> Anyone has any ideas?
> Thanks a lot.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to