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

Add optional abort Attribute to cfinclude

$
0
0

@21Solutions wrote:

I wanted to propose an optional attribute, abort, to the cfinclude tag, which will work similarly to abort in cfdump.

many times I find myself doing something like:

<cfinclude template="/sometemplate.cfml">
<cfabort>

the proposed syntax will get Lucee to abort the execution as soon as the code returns from the cfinclude tag, and it will look like this:

<cfinclude template="/sometemplate.cfml" abort="true">

what do you guys think?

Read full topic


Viewing all articles
Browse latest Browse all 40

Trending Articles