0
如果我提交了我的New Action並且表單無效,那麼我無法獲得submited post vars。 $ this-> request-> getArguments()在我的新操作中爲空。Typo3(7.6.4)Extbase提交後新的Action參數爲空
/**
* action new
*
* @param \Vendor\MyExt\Domain\Model\Protokoll $newProtokoll
* @return void
*/
public function newAction(\Vendor\MyExt\Domain\Model\Protokoll $newProtokoll = null)
{
$this->view->assign('newProtokoll', $newProtokoll);
.....
$arguments = $this->request->getArguments();
echo "<pre>";
print_r($arguments);
echo "</pre>";
....
- >空
實測值計算器在一個解決方案:http://stackoverflow.com/questions/32936733/parameters-to-action-lost-when-validation-error -occurs – anguish