[TYPO3-mvc] Reusing View

Bernhard Schenkenfelder bernhard at schenkenfelder.co.at
Tue Sep 23 10:15:37 CEST 2014


In my controller, there are two functions listAction() and searchAction(). list is supposed to surface all entries, whereas search only displays entries that match certain criteria.

Since the layout is really the same, I would like to reuse the the list view in searchAction(). Is there a way to specify the view (template) to be used?

Many thanks,
Bernhard


More information about the TYPO3-project-typo3v4mvc mailing list