[Flow] How to set the action of a widget controller that is being called?

Christian Loock chl at vkf-renzel.de
Wed Aug 28 12:22:24 CEST 2013


Oh and also I would like to ask, if it is possible to change a widgets 
controller at runtime.

Something like that:

/**
      * @param $controller String
      * @param $arguments Array
      */
     public function render($controller, $arguments) {

         $this->controller = $this->objectManager->get($controller);
         $this->initiateSubRequest();
     }

This gives me the following error:

*Notice: Undefined index: controllerName in 
/home/www/flow_vkf_search_chl/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Mvc_ActionRequest.php 
line 299*

Am 28.08.2013 12:00, schrieb Christian Loock:
> Hello fellow Flowers,
>
> I have a little question regarding Widget ViewHelpers.
>
> Is it possible to determine, which action of the widget controller is 
> being called by the widgets subrequest?
>
> Greetings,
>
> Christian
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow



More information about the Flow mailing list