[coldbox-3.5.0-BE] - Implicit Views

Yo ColdBoxers!

Is it possible to disable implicit views? These cause 500s Errors when a handler is not matched. My last route is: addRoute(pattern=’:handler/:action?’);


Aaron Greenlee

So you saying that if the event exists but no specific event.setView() has been called?

component name=“users”{
function index(){}

If this is called, then it should throw a view exception? Is this what you mean?

Luis F. Majano
Ortus Solutions, Corp

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

Silly me. I just need to add a onMissingAction() method to the base handler.

ColdBox already gave me what I needed!

Doesn’t event.noRender() not work for you either?