AdobeStock_455007340

Never Hard Code Custom Tag Return Variables

Home » Never Hard Code Custom Tag Return Variables

ColdFusion Custom Tags often have to return results back to the calling code. Resist the temptation to hardcode the names of the variables that will contain these results. Instead, let the caller specify the desired variable name as a tag attribute. (Applies to: ColdFusion 3 (or later))

Leave a Reply