Hi and Merry Christmas
I test a custom action without rendering a view.
I make it using in controller
Everything works fine except the loading of javascript file (core jquery too), even if I set the Yii::app()->clientScript->registerCoreScript('jquery'); in my theme
The problem disappear by using $this->render('a view') but I want to sort my code for a few specific actions (without view files)
I am wondering if the begincontent - endcontent has equivalent affects with render of view
Thanks
I test a custom action without rendering a view.
I make it using in controller
$this->beginContent() ...my echoes... $this->endContent()
Everything works fine except the loading of javascript file (core jquery too), even if I set the Yii::app()->clientScript->registerCoreScript('jquery'); in my theme
The problem disappear by using $this->render('a view') but I want to sort my code for a few specific actions (without view files)
I am wondering if the begincontent - endcontent has equivalent affects with render of view
Thanks