Feature #37095

It should be possible to set a different template on a Fluid TemplateView inside an action

Added by Christopher Hlubek about 9 years ago.

Status:
New
Priority:
Should have
Category:
-
Target version:
-
Start date:
2012-05-11
Due date:
% Done:

0%

Estimated time:
Has patch:
No

Description

Right now it's not possible to decide inside an action which view template should be rendered. Especially if the action itself doesn't have a template file the canRender() method will always return FALSE. Inside the initializeAction or initializeView method it's too early / too late to set a different template file and path.

The idea is to always return TRUE in the canRender method and return the NotFoundView in the call to render when no template source could be found.

No data to display

Also available in: Atom PDF