[TYPO3-english] Problem using <f:link.action action="acion1" arguments="{argument1:TypedObject}"> and object retrieving in Controller.action1
Damiano Faccioli
damiano.faccioli at posit.it
Tue Nov 25 10:12:23 CET 2014
Hi *,
I'm using cms 6.2, I'm developing an extension in extbase and I've some
problem passing a typed parameter to an action with ('<f:link.action
action="rank" pageUid="14" arguments="{address: address}">); my action
signature is
*public function rankAction(\TYPO3\PoMaps\Domain\Model\Address
$address){....} *
The action is called correctly and the element passed, as far as I've
cheked is the same; the paramater in the action is null but exist in get
paramater with the correct uid value:
*var_dump( $this->request->getArguments());*
******
*array(3) { ["address"]=> string(1) "5" ["action"]=> string(4) "rank"
["controller"]=> string(3) "Map" }*
********
I've googled around without any good solution, the most suggests to take
the id from the get parameter and take it from db;
thanks all for any suggestion
D.
More information about the TYPO3-english
mailing list