Guest User

Untitled

a guest
Aug 21st, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. How can I have ColdFusion tags in a variable and have them evaluated?
  2. <cfset a = '<model:sparkline id="1"/>'/>
  3.  
  4. <cfimport taglib="./tags" prefix="model">
  5.  
  6. <cfsavecontent variable="a">
  7. <model:sparkline id="1" />
  8. </cfsavecontent>
  9.  
  10. <cfoutput>#a#</cfoutput>
  11.  
  12. <cfsavecontent variable="a">
  13. <model:sparkline id="1" />
  14. </cfsavecontent>
Add Comment
Please, Sign In to add comment