paolo79
04/28/2022, 6:03 PMfunction
attribute in cfscript is true?Myka Forrest
04/28/2022, 6:06 PMscript_output1()
should cause "script_1" to display, but it doesn't.sknowlton
04/28/2022, 6:09 PMsknowlton
04/28/2022, 6:09 PMDave Merrill
04/28/2022, 6:12 PMbdw429s
04/28/2022, 6:21 PM"<br>script_1";
BUT IT OUTPUTS NOTHING. All it does is declare a string which is not set into any variable. Unlike tags, script requires you to explicitly output to the page buffer with
writeOutput( "<br>script_1"; );
Dave Merrill
04/28/2022, 6:29 PMsknowlton
04/28/2022, 6:29 PMDave Merrill
04/28/2022, 6:30 PMsknowlton
04/28/2022, 6:31 PMseancorfield
paolo79
04/29/2022, 7:05 AMbdw429s
04/29/2022, 1:26 PMwith <cffunction> without output attribute, memory leaks are generated in the JVM@paolo79 I've never heard of this. Do you have a link to an article or something showing this so-called memory leak? This is new to me.
bdw429s
04/29/2022, 1:27 PMbdw429s
04/29/2022, 1:27 PMoutput
attribute is the same, works the same, and defaults the same regardless of whether you have a tag or a script based functionbdw429s
04/29/2022, 1:28 PMpaolo79
04/29/2022, 4:04 PMbdw429s
04/29/2022, 4:06 PMpaolo79
04/29/2022, 4:14 PMbdw429s
04/29/2022, 4:15 PMbdw429s
04/29/2022, 4:16 PMbdw429s
04/29/2022, 4:16 PMoutput
attribute on my script-based code.paolo79
04/29/2022, 4:17 PMbdw429s
04/29/2022, 4:17 PMbdw429s
04/29/2022, 4:17 PMpaolo79
04/29/2022, 4:18 PMbdw429s
04/29/2022, 4:18 PMbdw429s
04/29/2022, 4:19 PMDave Merrill
04/29/2022, 4:20 PM