[FLOW3-general] link.action with string argument
Heiko Kromm | Paints
h.kromm at paints.de
Thu Dec 22 16:48:49 CET 2011
Hi list,
I despair with the link.action ViewHelper.
I have a action, which expects a string as argument.
/**
* dummy action
*
* @param string $test Teststring
* @return void
*/
public function dummyAction($test) {
$this->redirect('index');
}
If I create a link in my view without the $test argument I will get a correct link:
<f:link.action action="dummy">TEST</f:link.action>
http://www.domain.de/mycontrollerfolder/mycontroller/dummy
If I add the $test argument the link is broken:
<f:link.action action="dummy" arguments="{test : 'TEST'}">TEST</f:link.action>
http:// www.domain.de /My.Applicationname/ mycontrollerfolder %5C mycontroller /dummy?test=TEST
Why does this occur?
Regards
Heiko
More information about the FLOW3-general
mailing list