See which tags are supported in CFScript in Railo


I cannot take credit for this little snippet of code, Micha posted this in the Railo newsgroup a while back.

<cfscript>
tags=getTagList().cf;
keys=StructKeyArray(tags);
ArraySort(keys,"textnocase");
loop array="#keys#" index="name"	{
	tag=getTagData("cf",name);
	echo("<b>cf"&name&"</b> - ");
	echo(StructKeyExists(tag,'script'));
	echo('<br>');
}
</cfscript>

You can also easily get this information by checking the Tag Reference in the Railo admin, but it is nice to be able to see  a list of all the tags and whether or not it is supported in cfscript in one place.

Advertisements

2 thoughts on “See which tags are supported in CFScript in Railo

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s