RE: Performance Tweaking - Friday Morning Brain Fart

2002-11-01 Thread Robertson-Ravo, Neil (REC)
well, I would assume it s a query which is getting the data.. just insert it into variable/scope and you will be fine! or just make a CT out of it. Neil -Original Message- From: Ian Lurie [mailto:ian;portentinteractive.com] Sent: 01 November 2002 16:29 To: CF-Talk Subject: Performance

Re: Performance Tweaking - Friday Morning Brain Fart

2002-11-01 Thread Michael Dinowitz
Why not generate the code, write it down to a flat file and then CFINCLUDE it? I do that with parts of the list archives and it's fast as hell. With the information stored in a variable (a memory scope would be needed) you have to reload it every time the CF server restarts. With a flat file, it

SOLVED Re: Performance Tweaking - Friday Morning Brain Fart

2002-11-01 Thread Ian Lurie
cf_blush CF_Savecontent did the trick. No more Kit Kats for me... On 11/1/02 8:29 AM, Ian Lurie [EMAIL PROTECTED] wrote: Hi all, I've done this before but am having a post-halloween party moment: 1. I have a chunk of code that generates a drop-down menu. The menu's used again and again

Re: Performance Tweaking - Friday Morning Brain Fart

2002-11-01 Thread mynews
Ian, You can use CFSAVECONTENT variable=myDropDown SELECT name=whatever cfoutput query=myQuery option value=#my_id##myValue# /cfoutput /SELECT /cfsavecontent cfoutput#myDropDown#/cfoutput David Murphy www.cfugcny.org = = = Original message = = = Hi all, I've done this

RE: Performance Tweaking - Friday Morning Brain Fart

2002-11-01 Thread Andrew Tyrone
This seems to work: cfsavecontent variable=DropDown select name=whatever option value=1One/option option value=2Two/option option value=3Three/option /select /cfsavecontent cfoutput #DropDown# brbr #DropDown# brbr #DropDown# /cfoutput You could just make whatever you

Re: Performance Tweaking - Friday Morning Brain Fart

2002-11-01 Thread Pete Ruckelshaus
Well, I don't know the Ben Code of which you speak, but here's what I would do: * Use an application-scope variable for the dropdown * In application.cfm, check for existence of this variable; if it exists, do nothing * otherwise, run a cfsavecontent block and save that as the application scope

RE: Performance Tweaking - Friday Morning Brain Fart

2002-11-01 Thread Mark A. Kruger - CFG
if it's exactly the same output (html output), then you could use cfsavecontent. Sytax is: cfsavecontent variable=MySelectbox select name=blah option value=1 blah 1/option option value=2 blah 2/option option value=2 blah 1/option

RE: Performance Tweaking - Friday Morning Brain Fart

2002-11-01 Thread Ciliotta, Mario
: Performance Tweaking - Friday Morning Brain Fart if it's exactly the same output (html output), then you could use cfsavecontent. Sytax is: cfsavecontent variable=MySelectbox select name=blah option value=1 blah 1/option option value=2 blah 2/option

RE: Performance Tweaking - Friday Morning Brain Fart

2002-11-01 Thread Andrew Tyrone
[mailto:mario.ciliotta;csfb.com] Sent: Friday, November 01, 2002 1:46 PM To: CF-Talk Subject: RE: Performance Tweaking - Friday Morning Brain Fart Hi all, Hate to ask this question, but is savecontent a 5.0 and above tag. I am still in the 4.5 world, starting to migrate to MX. Mario

RE: Performance Tweaking - Friday Morning Brain Fart

2002-11-01 Thread Gene Kraybill
Yup, it was introduced in 5.0... Gene -Original Message- From: Ciliotta, Mario [mailto:mario.ciliotta;csfb.com] Sent: Friday, November 01, 2002 1:46 PM To: CF-Talk Subject: RE: Performance Tweaking - Friday Morning Brain Fart Hi all, Hate to ask this question, but is savecontent a 5.0

RE: Performance Tweaking - Friday Morning Brain Fart

2002-11-01 Thread Mark A. Kruger - CFG
and the formatting will look right to you. ..Just some ideas. -mk -Original Message- From: Ciliotta, Mario [mailto:mario.ciliotta;csfb.com] Sent: Friday, November 01, 2002 12:46 PM To: CF-Talk Subject: RE: Performance Tweaking - Friday Morning Brain Fart Hi all, Hate to ask this question

Re: Performance Tweaking - Friday Morning Brain Fart

2002-11-01 Thread Ian Lurie
[mailto:mario.ciliotta;csfb.com] Sent: Friday, November 01, 2002 12:46 PM To: CF-Talk Subject: RE: Performance Tweaking - Friday Morning Brain Fart Hi all, Hate to ask this question, but is savecontent a 5.0 and above tag. I am still in the 4.5 world, starting to migrate to MX. Mario