onMissingTemplate

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
Required

Requested template path relative to the webroot

Examples
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