Defined in Application.cfc, invoked when a request is made for a CFML template that does not exist.

function onMissingTemplate(string targetPage) { return true; } → returns boolean

Argument Reference

targetPage string

Requested template path relative to the webroot

Sample code invoking the onMissingTemplate function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub