[Flow] Correct frontend urls with CLI, StandaloneView, ActionViewHelper?
Bastian Waidelich
bastian at typo3.org
Mon Sep 16 10:01:45 CEST 2013
Pankaj Lele wrote:
Hi Pankaj,
>>> Any thoughts abot how this could work for Neos plugin subrequests?
>>
>> What do you mean? Neos plugins should already have the package key set
>> correctly!?
>
> I mean as Neos plugin is a subrequest then their links needs to have
> --argumentNamespace. So in case of Neos somewhere in the code snippet we
> might have build a plugin subrequest in CLI mode.
Ah, now I'm with you. This should be fairly simple by creating the
plugin request "manually" and setting it's argument namespace to
"--<pluginNamespace>" and passing it to the StandaloneView's constructor:
$pluginRequest = new ActionRequest($parentRequest);
$pluginRequest->setArgumentNamespace('--yourPluginNamespace');
$standaloneView = new \TYPO3\Fluid\View\StandaloneView($pluginRequest);
Where $parentRequest could be an instance of Http\Request.
> We will talk at Neos sprint ;)
Yes, looking forward to seeing you!
--
Bastian Waidelich
--
Core Developer Team
TYPO3 .... inspiring people to share!
Get involved: typo3.org
More information about the Flow
mailing list