[Flow] Get Argument like GET

David Sporer david.sporer at gmail.com
Tue Mar 17 07:26:56 CET 2015


Hi Patric,

it should work if you add your object as parameter to your action.
Means something like this:

/**
 * 
 * @param My\Object\Test $test
 */
newAction(My\Object\Test $test) {
	$this->view->assign('object‘, $test);
}


Regards,
David


> Am 16.03.2015 um 19:58 schrieb Patric Eckhart <mail at patriceckhart.com>:
> 
> Hey,
> 
> I have a link with new?object%5B__identity%5D=d6622342-fc86-af21-82a1-252723028f29
> 
> and in my Controller I have added ...
> 
> $object = $this->request->getArgument('object');
> $this->view->assign('object', $object);
> 
> .. in the newAction.
> 
> I would show the object identifier with <f:format.identifier>{object}</f:format.identifier>
> 
> How can I get this?
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow



More information about the Flow mailing list