I find these as two competing solutions in the usual way. You will often find scenarios where you need to generate content at place A in your request and then use it at place B. In those cases save content helps.... Instead of using cfsets... On long content
np On 11 Dec 2014 01:02, "Jason King" <[email protected]> wrote: > Yes, and that's much more code than my current solution. Is there a reason > nocfml method would be better? Am I missing anything? > > <cfoutput>#HTMLEditFormat("<cfset return = "stuff">")#</cfoutput> > > versus > > <cfsavecontent variable="captureCfml"> > <nocfml> > <cfset return = "stuff"> > <cfabort> > </nocfml> > </cfsavecontent> > > <cfoutput>#XmlFormat(captureCfml)#</cfoutput> > > On Wed, Dec 10, 2014 at 1:28 PM, Alan Williamson <[email protected]> wrote: > >> did you actually look at the example? >> >> <cfsavecontent variable="captureCfml"> >> <nocfml> >> <cfset myvar = "this will not be executed"> >> <cfabort> >> </nocfml> >> </cfsavecontent> >> >> <cfoutput>#XmlFormat(captureCfml)#</cfoutput> >> >> >> >> On 10/12/2014 14:20, Jason King wrote: >> >>> And maybe not. >>> >>> <nocfml> doesn't render anything. It just skips the code. >>> >>> I need it displayed in the browser >>> >> >> -- >> -- >> online documentation: http://openbd.org/manual/ >> http://groups.google.com/group/openbd?hl=en >> >> --- You received this message because you are subscribed to the Google >> Groups "Open BlueDragon" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > -- > online documentation: http://openbd.org/manual/ > http://groups.google.com/group/openbd?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Open BlueDragon" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- online documentation: http://openbd.org/manual/ http://groups.google.com/group/openbd?hl=en --- You received this message because you are subscribed to the Google Groups "Open BlueDragon" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
