Is there a way to render a widget within a controller? I am doing some ajax requests and I have widgets I would like to present. But, for all these widgets I do not want / need to create new controller/action/view pages for them.
So if I had an empty page (with head, page begin and so forth) is it somehow possible to register the widget in the action?
Say
return this->renderAjax(‘empty-view’, \app\components\propertyWidget()):
Thanks
Cheers