0
我有了2个插件一个扩展。我想将plugin1的参数传递给plugin2。从一个插件参数传递到另一个
在plugin1的观点我产生一个页面的链接,其中插入了plugin2内容元素:
<f:link.action controller="ApplicationController" action="showFormAction" arguments="{test: 1}" pageUid="40">Link</f:link.action>
在ApplicationController
我尝试检索测试参数如下:
$this->request->getArgument('test');
但我得到这个错误:
#1176558158
: An argument "test" does not exist for this request.
有没有办法解决或调试这个?
如代码所示:https://github.com/TYPO3/TYPO3.CMS/blob/TYPO3_8-7/typo3/sysext/fluid/Classes/ViewHelpers/Link/ActionViewHelper.php#L55 – Daniel
Thx快速回复 – user6800816