[TYPO3-mvc] view renderer ignores action argument
Bastian Waidelich
bastian at typo3.org
Thu Oct 13 02:45:08 CEST 2011
g4-lisz at tonarchiv.ch wrote:
Hi G4 Lisz ;)
> if ($demand->getSpecialDemands() !== NULL) {
> $this->request->setControllerActionName('resultsExtended');
better don't mess with that non-api methods of the request. That can
have severe side effects.
Instead you should make use of Fluid partials and layouts where
possible. And if that's not sufficient have a look at the VariantView
from Peter:
http://forge.typo3.org/projects/typo3v4-mvc/wiki/How_to_change_the_template_for_one_plugin_instance
Best,
Bastian
More information about the TYPO3-project-typo3v4mvc
mailing list