[TYPO3-mvc] Controller $this->forward with arguments - does not work?
Marc Bastian Heinrichs
typo3 at mbh-web.de
Mon Mar 28 15:06:16 CEST 2011
Hey,
> I'm failing at a simple task:
> In my app I wan't to forward from one controller action to another by passing an argument.
> ----------------------------
> /* @param Item $item */
> controller->entryAction( Item $item ) {
> switch( $item->getType() ) {
> case 'foo':
> $this->forward( 'foo', NULL, NULL, array( 'item' => $item ) );
> break;
> case 'bar':
> $this->forward( 'bar', NULL, NULL, array( 'item' => $item ) );
> break;
> ...
> }
> }
> (Code shortened)
> ----------------------------
Have a look here http://forge.typo3.org/issues/9687
Best
Marc Bastian
More information about the TYPO3-project-typo3v4mvc
mailing list