Name
cfimport
Synopsis
<cfimport>
Imports custom tags, adaptive custom tags, and JSP tag libraries for use in a template.
Attributes
-
taglib="taglib_location" For JSP tag libraries, the URL to the JAR file containing the tags or to the tag library descriptor file (.tld) if it is not already included in the JAR file. For custom and adaptive custom tags, the path to the directory containing the tags. Required.
-
prefix="namespace" Prefix to use for referring to imported tags. You refer to an imported tag using the syntax
<prefix:tagname>. If a blank prefix ("") is specified or theprefixattribute is omitted altogether, the tag is referred to using only its name<tagname>. This allows you to perform server-side preprocessing, creating what are known as adaptive tags that replace existing HTML tags with custom functionality. Optional.