Created
May 7, 2023 14:34
-
-
Save bennadel/18ee60390d60b3f7f05c8d9c12ca483e to your computer and use it in GitHub Desktop.
Importing Multiple ColdFusion Custom Tag Directories Using The Same Prefix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<mark>[Checkbox]</mark> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<mark>[Radio]</mark> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--- Notice that are are grouping MULTIPLE PATHS under the SAME PREFIX (ui). ---> | |
<cfimport prefix="ui" taglib="./design-system/checkbox/" /> | |
<cfimport prefix="ui" taglib="./design-system/radio/" /> | |
<p> | |
Product: <cfoutput>#server.coldfusion.productName#</cfoutput> | |
</p> | |
<!--- | |
These are two different ColdFusion custom tags, pulled from two different | |
directories, but referenced under the same prefix (ui:). | |
---> | |
<ui:Checkbox> | |
<ui:Radio> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment