i am trying to create a widgetized contents.. basically i want to have blocks in my layout that gets populated from different module/controller/actions ...
i tried using $this->action
in view but it seems that action has been removed in ZF2 (or not ?)
service manager cant find it :
Fatal error: Uncaught exception 'Zend\ServiceManager\Exception\ServiceNotFoundException' with message 'Zend\ServiceManager\ServiceManager::get was unable to fetch or create an instance for action
i also tried forward action helper
inside a module's 'Zend\Mvc\Application::dispatch'
event but can't call forward becuase there is no controller ????
so how can i load blocks(different module/controller/actions) in my layout ???