[TYPO3-mvc] view renderer ignores action argument

Bastian Waidelich bastian at typo3.org
Tue Oct 18 13:47:43 CEST 2011


Peter Niederlag wrote:

Hi,

> http://forge.typo3.org/projects/typo3v4-mvc/wiki/How_to_change_the_template_for_one_plugin_instance
>
> I am quite sure I have used this approach also with extbase>= 1.3
> already. ;)

I did, too. And this might make it into the core sometimes (but even if 
not - it's just a matter of a few lines of code to implement it).
I also think, that this solution is much cleaner. You should not have to 
deal with templates and files in your controller - it's about business 
logic and that should apply whether the format is HTML, CSV or PDF or 
whatever ;)

Best,
Bastian


More information about the TYPO3-project-typo3v4mvc mailing list