I have a simple custom tag that displays an image.?We'll call it %26lt;cf_checkmark%26gt;.?All it does is display a nice little checkmark.?Saves me from having to rewrite the %26lt;img src=''....''%26gt; tag over and over and over.?I want to store this tag in a database field, so it is returned as a value in my query results.?(I'm not storing the code in the database, just the text ''%26lt;cf_checkmark%26gt;'').?Only problem is coldfusion doesn't render the custom tag when I output the result.?The tag is there, it's just not rendering or executing.?If I do a View Source I can see %26lt;cf_checkmark%26gt; in the source.?It just doesn't execute or render.
My guess is that ColdFusion executes all the cf code before it outputs the query results.?Therefore it doesn't recognize the text in the query result as a custom tag.?Is there any way to get this to work?
Trying to store a custom tag in a...Write it to a file and cfinclude the file.
But for one line of code, why bother.
Trying to store a custom tag in a...I agree:?''cut and run.''?You're wasting your time with this.
No comments:
Post a Comment