Hallo,
ich versuche in Extbase einen String zusätzlich zu einem Objekt an den Controller zu übergeben, was mir nicht gelingen will.
Der Controller wird über folgenden Link aufgerufen:
<f:link.action action="compare" arguments="{typo3Instance:typo3Instance,table:table1}">compare</f:link.action>
Der Link wird auch korrekt erzeugt:
So schaut dann meine function im Controller aus:
/**
* Compares a table of a typo3 instance with an other instance
*
* @param string $table the Typo3Instance table to compare
* @param Tx_Synchronisation_Domain_Model_Typo3Instance $typo3Instance the Typo3Instance to display
* @return string The rendered view
*/
public function compareAction(Tx_Synchronisation_Domain_Model_Typo3Instance $typo3Instance, $table) {
$this->view->assign('table', $table);
$this->view->assign('typo3Instance', $typo3Instance);
}
Im aufgerufenen Template mache ich dann eine Ausgabe mit:
<f:debug>{table}</f:debug>
welche immer leer ist.
Mir scheint eine große Sache kann das nicht sein, aber ich komme nicht drauf. Ich bin für jeden Hinweis dankbar und hoffe das Thema kam nicht schon tausendmal vor in dem Forum.
Gruß Olli