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