[TYPO3-mvc] initializeAction with getArguments triggers fatal error
Gianluca Strafella
gianluca.strafella at webformat.com
Wed May 15 09:12:54 CEST 2013
Hi,
are you sure your error is in initializeAction ? Are you doing an
Tx_Extbase_MVC_RequestInterface custom implementation ? In standard
framework class extbase/Classes/MVC/Request.php the method getArguments
returns simply "arguments" value ...
If you need check the argument XXX existence you can check argument in
action with $this->request->hasArgument('XXX').
Regards,
Gianluca
Il 11/05/2013 15:27, Tomita Militaru ha scritto:
> Hello,
>
> I have the following code in initializeAction:
> http://pastebin.com/PNg8wEmM
>
> But I get the following error:
> Fatal error: Call to a member function getArgumentNames() on a non-object
>
> I read that the arguments are ready in initializeAction:
> http://docs.typo3.org/typo3cms/ExtbaseFluidBook/b-ExtbaseReference/Index.html#id23
>
>
> Can someone help me, what am I doing wrong?
>
> Thanks.
>
--
Gianluca Strafella
Software Developer
gianluca.strafella at webformat.com
Tel. +39-0427-926.389
WEBFORMAT srl – www.webformat.com
Via S. Francesco d'Assisi, 6 – 20122 MILANO
Corte Europa, 12 - 33097 SPILIMBERGO (PN)
More information about the TYPO3-project-typo3v4mvc
mailing list