Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Undefined Controller In Caction Class

$
0
0
hi,

i follow the wiki How to use a Widget as an Action Provider

in my view i have ajax calls that call to the action.

I want to return the response as an output of renderPartial() function, but my controller is undefined.
$output = $this->getController()->renderPartial('_filterwithManufacturer', array(), true, true);


is there anyway to initiate the controller?
should i passed it as a parameter?

Thanks

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>