Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at cf.Objective() 2013 (Bloomington, MN) with: Elliott Sprehn and Chris Phillips and Nathan Strutz and Anant Pradhan and Dave DeVol and Byron Raines and Gerry Gurevich
Ben Nadel at cf.Objective() 2013 (Bloomington, MN) with: Elliott Sprehn@ElliottZ ) , Chris Phillips@cfchris ) , Nathan Strutz@nathanstrutz ) , Anant Pradhan@blitheutopian ) , Dave DeVol , Byron Raines ( @byronraines ) , and Gerry Gurevich

Nesting ColdFusion Custom Tag Snippet

By Ben Nadel on
Tags: ColdFusion

Just an FYI, I have just added my small nested tags demo to my ColdFusion snippets directory.

One other note. I built it in, but didn't demo it. The Item.cfm custom tag can tag data either in the value attribute or as generated content. Therefore, the following tags would all produce the same content:

  • <!--- Add item. --->
  • <cf_item>
  • Sarah Vivenzio
  • </cf_item>
  •  
  • <!--- Add item. --->
  • <cf_item
  • value="Sarah Vivenzio"
  • />
  •  
  • <!--- Add item. --->
  • <cf_item value="Sarah Vivenzio">
Tweet This Fascinating post by @BenNadel - Nesting ColdFusion Custom Tag Snippet Thanks my man — you rock the party that rocks the body!



Reader Comments