i put this code into the view of my module(admin) but js and css dont appear
if i put the same code in my application it works, insidethe module doesnot
$this->widget('application.extensions.SimpleTreeWidget',array(
'model'=>'Amodules',
'ajaxUrl' => $this->createAbsoluteUrl('admin/ajax/simpletree'),
));
this is my ajax controller in admin module
class AjaxsimpletreeController extends Controller
{
public function actionsimpletree()
{
Yii::import('application.extensions.SimpleTreeWidget');
SimpleTreeWidget::performAjax();
}
}
how can i fix that…?
thanx beforehand