Using CFML tags in cfscript

April 9, 2012 · By Christian Ready · No Comments

CFML only has some equivalents to the available tags in CFSCRIPT. In Railo you can now use almost all tags by just removing the "<cf" and replacing the last ">" with a ";" So this:

<cfinclude template="index.cfm">

becomes this:

include template="index.cfm";

If you want to find out which tags are supported in the script syntax, you should check the documentation in the Railo admin which returns this information.

Tags: CFML · HowTo · Tips

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment

Leave this field empty: