Skip to content

Instantly share code, notes, and snippets.

@bennadel
Created May 7, 2023 14:34
Show Gist options
  • Save bennadel/18ee60390d60b3f7f05c8d9c12ca483e to your computer and use it in GitHub Desktop.
Save bennadel/18ee60390d60b3f7f05c8d9c12ca483e to your computer and use it in GitHub Desktop.

Revisions

  1. bennadel created this gist May 7, 2023.
    3 changes: 3 additions & 0 deletions Checkbox.cfm
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    <div>
    <mark>[Checkbox]</mark>
    </div>
    3 changes: 3 additions & 0 deletions Radio.cfm
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    <div>
    <mark>[Radio]</mark>
    </div>
    14 changes: 14 additions & 0 deletions test.cfm
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    <!--- 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>