Quantcast
Channel: Add optional abort Attribute to cfinclude
Viewing all articles
Browse latest Browse all 40

Add optional abort Attribute to cfinclude

$
0
0

@modius wrote:

Given that you can already exit on a template (as @21Solutions points out elsewhere) :

<cfexit method="ExitTemplate">

Are you actually advocating for something break related as opposed to debugging related, for example:

<:include template="/sometemplate.cfml" exit="true">
or
<:include template="/sometemplate.cfml" exit>

@dajester2013 raises this same concept here with some support, though I'm not sure why this finds favour whilst the notion of a breaking attrribute on <:include> does not:

Read full topic


Viewing all articles
Browse latest Browse all 40

Trending Articles