Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at NCDevCon 2011 (Raleigh, NC) with:

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 Groovy post by @BenNadel - Nesting ColdFusion Custom Tag Snippet Thanks my man — you rock the party that rocks the body!



Reader Comments

Post A Comment

You — Get Out Of My Dreams, Get Into My Comments
Live in the Now
Oops!
Comment Etiquette: Please do not post spam. Please keep the comments on-topic. Please do not post unrelated questions or large chunks of code. And, above all, please be nice to each other - we're trying to have a good conversation here.