public boolean function onMissingTemplate(required string TargetPage) {
header statusCode=404;
echo("Page not found");
return true;
}
Works on Application.cfm also, and yes you can include a custom cfm template.
--
You received this message because you are subscribed to a topic in the Google Groups "Lucee" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lucee/Uw_vIj_WBmA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/5adfa514-8e24-480b-87df-4e5b2cc1dc43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.