[Flow] How to set the action of a widget controller that is being called?
Stephen Bungert
stephenbungert at yahoo.de
Wed Aug 28 12:49:54 CEST 2013
I don't think you can change the controller, I think I read in another
thread that is hard coded to use index.
Stephen.
"Christian Loock" <chl at vkf-renzel.de> schrieb im Newsbeitrag
news:mailman.9774.1377685466.570.flow at lists.typo3.org...
> 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