ColdFusion UDF: StructToTable Generates HTML Table And Text Output
New UDF `structToTable` converts unordered structs to HTML tables & text output, perfect for emails or webpages. Uses legacy-valid code for compatibility.
When working on new logic and I want to dump a variable, I often use an internal CF_DumpLite CFC/CFTag that we developed that minimizes HTML output, honors original form & query column order & case, redacts CC values and is nonce aware. If I need to view the data types, I switch it up to use the cf_dump CFTag by Alexander Kwaschny. We occasionally need to output data from an unordered struct in an email or to the webpage and it's not optimal to use either of these developer-centric dump tools for the general public. Even though we've been manually displaying tables for years, we've tended to r...