Re: IT IS TOTALLY possible to skip js with cfif

2008-12-19 Thread Ravi Gehlot
Hello, I didn't follow this thread closely. But I am curious as to what you guys were discussing. How would I customize my webserver settings so that .js files are parsed by CF and why would I want to do that? I know that JS files are only text files and as far as I know there aren't any

Re: IT IS TOTALLY possible to skip js with cfif

2008-12-19 Thread Ian Skinner
Ravi Gehlot wrote: Hello, I didn't follow this thread closely. But I am curious as to what you guys were discussing. How would I customize my webserver settings so that .js files are parsed by CF and why would I want to do that? I know that JS files are only text files and as far as I

Re: IT IS TOTALLY possible to skip js with cfif

2008-12-19 Thread Claude Schneegans
The benefit is that you could have linked JavaScript files dynamically built with CFML. The downside is that it interferes with normal browser caching of linked script and|or style files, Exact. This is why it is not advisable to pass systematically ALL js files to CF. As you said earlier, it

Re: IT IS TOTALLY possible to skip js with cfif

2008-12-19 Thread Ian Skinner
Claude Schneegans wrote: As you said earlier, it is always possible to have the client request for a .cfm file as a javascript file, then you have the same advantage and downside, but only when necessary. That is true, and the way I would normally do it. But I will point out something I

Re: IT IS TOTALLY possible to skip js with cfif

2008-12-19 Thread Ravi Gehlot
Ian, Excellent explanation. You could not have been more clear. However, can you provide me with instructions in how to accomplish this? So CF will process the request and spit HTML with a html extension? Thanks, Ravi. Ian Skinner wrote: Ravi Gehlot wrote: Hello, I didn't

Re: IT IS TOTALLY possible to skip js with cfif

2008-12-19 Thread Ian Skinner
Ravi Gehlot wrote: Ian, Excellent explanation. You could not have been more clear. However, can you provide me with instructions in how to accomplish this? So CF will process the request and spit HTML with a html extension? Thanks, Ravi. Sorry, not me personally. I have never

Re: IT IS TOTALLY possible to skip js with cfif

2008-12-19 Thread s. isaac dealey
Ravi Gehlot wrote: Ian, Excellent explanation. You could not have been more clear. However, can you provide me with instructions in how to accomplish this? So CF will process the request and spit HTML with a html extension? Thanks, Ravi. Sorry, not me personally. I have

Re: IT IS TOTALLY possible to skip js with cfif

2008-12-19 Thread Ravi Gehlot
Ian, You did shed a light. I appreciate it. Thanks, Ravi Gehlot Ian Skinner wrote: Ravi Gehlot wrote: Ian, Excellent explanation. You could not have been more clear. However, can you provide me with instructions in how to accomplish this? So CF will process the request

Re: IT IS TOTALLY possible to skip js with cfif

2008-12-19 Thread denstar
On Fri, Dec 19, 2008 at 12:08 PM, s. isaac dealey wrote: It also depends upon your web server. The settings are primarily in the webserver config, so Apache and IIS handle it differently. There was something extra that needs to be done with an XML file in ColdFusion now that it's on J2EE,

RE: IT IS TOTALLY possible to skip js with cfif

2008-12-18 Thread Robert Harrison
You cannot do it if you have the script in a .js file. Not with a default install... You can do that however if you customize your webserver settings so that .js files are parsed by CF. That's interesting. I didn't know that, but I'm still not sure I'd want to do that. Seems like there might

RE: IT IS TOTALLY possible to skip js with cfif

2008-12-17 Thread Robert Harrison
It is 100% possible to skip java script code using CF conditioning. I use CF conditioning in JS code all the time. I change variable names, feed variable values to JS, turn functions on and off, etc. To do this you have to run the JS code in-line so it's parsed through the CF interpreter. You

Re: IT IS TOTALLY possible to skip js with cfif

2008-12-17 Thread s. isaac dealey
It is 100% possible to skip java script code using CF conditioning. I use CF conditioning in JS code all the time. I change variable names, feed variable values to JS, turn functions on and off, etc. To do this you have to run the JS code in-line so it's parsed through the CF interpreter.

Re: IT IS TOTALLY possible to skip js with cfif

2008-12-17 Thread Ian Skinner
s. isaac dealey wrote: Not with a default install... You can do that however if you customize your webserver settings so that .js files are parsed by CF. For a long time I'd considered creating my own site using .ike files. I never have though. ;) You are also not required to name your

RE: IT IS TOTALLY possible to skip js with cfif

2008-12-17 Thread Rick Faircloth
Thanks for the info, guys! Rick -Original Message- From: Ian Skinner [mailto:h...@ilsweb.com] Sent: Wednesday, December 17, 2008 5:27 PM To: cf-talk Subject: Re: IT IS TOTALLY possible to skip js with cfif s. isaac dealey wrote: Not with a default install... You can do