include - facade fro cfinclude

I'm using 2.6.4 and I can't get the include() facade to work in
cfscript. abort() and dump() work fine.

I get:
No matching Method/Function for INCLUDE(string)

I am using:
include('/includes/date_picker.cfm');
and include('/includes/date_picker');
and include(template='/includes/date_picker.cfm');
and include(template='/includes/date_picker');

Is it still available in 2.6.4?

I I use the regular cfinclude tag it works fine, but obviously work
like it to work in cfscript.

Thanks,
Neil

2.6.4 was a release to handle cf9, so all facades have been prefixed with a $ to distinsguish betwee coldbox and cf9 stuff.
$include

Luis F. Majano
President
Ortus Solutions, Corp

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Excellent, thanks for that. Works like a charm.

While I’ve got you… I have your ColdBox book and a request for future versions would be an index of functions. For example, I wanted to look up setNextEvent the other day, but it’s not listed in the index, so I just ended up looking for it online. Other wise… a great book.

Thanks,
Neil

That is a great idea Neil!!
Duly noted as I start on the next version of the book this Summer. So thanks for the pointer. Any other suggestions?

Luis F. Majano
President
Ortus Solutions, Corp

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

The only other thing I struggled with was object validation. It took me a while to get my head around it until I came across ValidteThis, but I think you already have that covered in 3.0 don’t you?

I’ll keep a note of things as I go along and pass any suggestions to you.

Cheers,
Neil

Just using the Illudium ColdBox templates and found all the validation
scripts in there. Thank you!