Nesting ColdFusion Custom Tag Snippet
Posted September 26, 2006 at 7:33 PM
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:
Launch code in new window » Download code as text file »
- <!--- Add item. --->
- <cf_item>
- Sarah Vivenzio
- </cf_item>
-
- <!--- Add item. --->
- <cf_item
- value="Sarah Vivenzio"
- />
-
- <!--- Add item. --->
- <cf_item value="Sarah Vivenzio">
Download Code Snippet ZIP File
Post Comment | Ask Ben | Other Searches | Print Page
Newer Post
Skin Spider : Basic Site Structure Completed
Older Post
ColdFusion Basics : Nesting Custom Tags
Reader Comments
There are no comments posted for this web log entry.




