If you have an event without a template, an error will not be thrown, but a view will not be set or provided.
DocController now sets a layout from the following locations, if present:
templates/layouts/path/to/controller.phtml
templates/layouts/application.phtml
if a layout is set and detected, you must reload to change the layout file name (ie, switching from application.phtml to controller.phtml).
templates detected and changed will be reloaded if the file content changes.
use the <%yield%> macro in your layout file to insert the template specified.
additionally you may simply use Template.View->set_layout() instead, in your own non DocController apps.