Hybrid Macromedia ColdFusion MX Tag Updater
I made some modifications to the installation procedure for the Macromedia ColdFusion MX Tag Updater for Studio 4.5 and 5.0 so as to add some functionality. The first part adds tag insight and tag completion. The second part adds a new help section to Studio's help pane reflecting the new and changed tags. Since I couldn't attach the file, anyone interested can find the instructions at the following url: http://www.designfirst.com/library.cfm?CatID=3 Gary Groomer __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Powered by Macromedia ColdFusion logo?
We all remember the green powered by ColdFusion logo, but is there a Macromedia version that we can use now? jon __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Allarie/Macromedia ColdFusion Feature Suggestion
Proabably a bit late to place this request for 5.0 - but how about 6.0? Why don't you all make CF capable of grabbing JavaScript variables at will throughout the page using a function like scriptvar() or jsvar() or something like that? As many people as use ColdFusion together with JavaScript, this seems like it would have been addressed in version 1.0 - but now we're at 5.0 and still no mention of being able to easilly access JavaScript variables via CF. And no, I don't mean through a form submission, or in the URL or anything else - I mean mid page I'd like to be able to do something like: script colorval=thing.style.backgroundColor /script cfoutputYou're using color: #jsvar(colorval)#/cfoutput Not the best example, but you get the idea. I'm sure it presents logistical problems since CF is processed on the server and JS on the client, but you all are bright folks, surely you can figure this one out :) (please?) Just my $0.02, thanks for listening! Joshua Miller Web Development Eagle Technologies Group, Inc. Business Solutions for the Next Generation www.eagletgi.com [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Allarie/Macromedia ColdFusion Feature Suggestion
When we 'all' work for Allaire But really, how would this be pulled off? CF generates the HTML, spits it to HTTP, it then appears magically in the users browser, which is when the DOM is available. At this point CF 'ain't talkin no more'! A client side plugin of sorts would be needed, correct? Cheers! -- Douglas Knudsen LTT, that's Leveraged Technologies Team --- These opinions are mine, ALL MINE. [EMAIL PROTECTED] Got Linux? http://linuxmall.com From: [EMAIL PROTECTED] AT INTERNET on 02/21/2001 11:38 AM To: [EMAIL PROTECTED] AT INTERNET@CCMAIL cc:(bcc: Douglas Knudsen/ATL/ALLTELCORP) Subject: Allarie/Macromedia ColdFusion Feature Suggestion Proabably a bit late to place this request for 5.0 - but how about 6.0? Why don't you all make CF capable of grabbing JavaScript variables at will throu ghout the page using a function like scriptvar() or jsvar() or something like th at? As many people as use ColdFusion together with JavaScript, this seems like i t would have been addressed in version 1.0 - but now we're at 5.0 and still no mention of bei ng able to easilly access JavaScript variables via CF. And no, I don't mean through a form submission, or in the URL or anything else - I mean mid page I'd like to be able to do something like: script colorval=thing.style.backgroundColor /script cfoutputYou're using color: #jsvar(colorval)#/cfoutput Not the best example, but you get the idea. I'm sure it presents logistical prob lems since CF is processed on the server and JS on the client, but you all are b right folks, surely you can figure this one out :) (please?) Just my $0.02, thanks for listening! Joshua Miller Web Development Eagle Technologies Group, Inc. Business Solutions for the Next Generation www.eagletgi.com [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Allarie/Macromedia ColdFusion Feature Suggestion
Proabably a bit late to place this request for 5.0 - but how about 6.0? Why don't you all make CF capable of grabbing JavaScript variables at will throughout the page using a function like scriptvar() or jsvar() or something like that? As many people as use ColdFusion together with JavaScript, this seems like it would have been addressed in version 1.0 - but now we're at 5.0 and still no mention of being able to easilly access JavaScript variables via CF. And no, I don't mean through a form submission, or in the URL or anything else - I mean mid page I'd like to be able to do something like: script colorval=thing.style.backgroundColor /script cfoutputYou're using color: #jsvar(colorval)#/cfoutput Not the best example, but you get the idea. I'm sure it presents logistical problems since CF is processed on the server and JS on the client, but you all are bright folks, surely you can figure this one out :) (please?) Erm, just how is it meant to do this? JavaScript is Client side, CF is Server side - it doesn't really know that the user is the same one as the previous requester, so if the developer is too lazy to pass variables to the CF server, is it meant to be psychic and predict which of the thousands of users have which JavaScript variables - and what if the user has JavaScript disabled? Is CF meant to know this without checking? CF7, the psychic platform that knows what you want before you even know yourself... a bit of quantum programming required, and don't forget to upgrade to Windows QT - the Quantum version of NT for Quantum machines Philip Arnold Director Certified ColdFusion Developer ASP Multimedia Limited T: +44 (0)20 8680 1133 "Websites for the real world" ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Allarie/Macromedia ColdFusion Feature Suggestion
The only problem being that you can't do that.. CF is server-side and JS is client-side. Any of the variables in JS will be unavailable until the page reaches the users browser at which point it has already been processed by CF Server. You can only go from CF -- JS in one page. ie. script colourval = '#yourcfcolourvalue#'; /script If you want to go from JS -- CF then the page must be submitted by the user in one way or another sending the JS variables via URL or form to another/the same CF page, where the URL and FORM variables can be processed. Regards Stephen -Original Message- From: JoshMEagle [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 21 February 2001 16:39 To: CF-Talk Subject: Allarie/Macromedia ColdFusion Feature Suggestion Proabably a bit late to place this request for 5.0 - but how about 6.0? Why don't you all make CF capable of grabbing JavaScript variables at will throughout the page using a function like scriptvar() or jsvar() or something like that? As many people as use ColdFusion together with JavaScript, this seems like it would have been addressed in version 1.0 - but now we're at 5.0 and still no mention of being able to easilly access JavaScript variables via CF. And no, I don't mean through a form submission, or in the URL or anything else - I mean mid page I'd like to be able to do something like: script colorval=thing.style.backgroundColor /script cfoutputYou're using color: #jsvar(colorval)#/cfoutput Not the best example, but you get the idea. I'm sure it presents logistical problems since CF is processed on the server and JS on the client, but you all are bright folks, surely you can figure this one out :) (please?) Just my $0.02, thanks for listening! Joshua Miller Web Development Eagle Technologies Group, Inc. Business Solutions for the Next Generation www.eagletgi.com [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Allarie/Macromedia ColdFusion Feature Suggestion
Yes, perhaps a client-side plugin of sorts would be the answer - an ActiveX control, something in the JVM ... Didn't say it would be easy, just a request. I read an article someone sent a link to yesterday on the DepressedPress site about passing info back to CF using javascript and img tags ... perhaps something along these lines could be accomplished ... something written in JavaScript that would call back to the server as other JS functions are called and would reprocess variables? I don't know - again, just a suggestion. Joshua Miller Web Development Eagle Technologies Group, Inc. Business Solutions for the Next Generation www.eagletgi.com [EMAIL PROTECTED] - Original Message - From: "Douglas Knudsen" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Wednesday, February 21, 2001 5:54 AM Subject: Re: Allarie/Macromedia ColdFusion Feature Suggestion When we 'all' work for Allaire But really, how would this be pulled off? CF generates the HTML, spits it to HTTP, it then appears magically in the users browser, which is when the DOM is available. At this point CF 'ain't talkin no more'! A client side plugin of sorts would be needed, correct? Cheers! -- Douglas Knudsen LTT, that's Leveraged Technologies Team --- These opinions are mine, ALL MINE. [EMAIL PROTECTED] Got Linux? http://linuxmall.com From: [EMAIL PROTECTED] AT INTERNET on 02/21/2001 11:38 AM To: [EMAIL PROTECTED] AT INTERNET@CCMAIL cc:(bcc: Douglas Knudsen/ATL/ALLTELCORP) Subject: Allarie/Macromedia ColdFusion Feature Suggestion Proabably a bit late to place this request for 5.0 - but how about 6.0? Why don't you all make CF capable of grabbing JavaScript variables at will throu ghout the page using a function like scriptvar() or jsvar() or something like th at? As many people as use ColdFusion together with JavaScript, this seems like i t would have been addressed in version 1.0 - but now we're at 5.0 and still no mention of bei ng able to easilly access JavaScript variables via CF. And no, I don't mean through a form submission, or in the URL or anything else - I mean mid page I'd like to be able to do something like: script colorval=thing.style.backgroundColor /script cfoutputYou're using color: #jsvar(colorval)#/cfoutput Not the best example, but you get the idea. I'm sure it presents logistical prob lems since CF is processed on the server and JS on the client, but you all are b right folks, surely you can figure this one out :) (please?) Just my $0.02, thanks for listening! Joshua Miller Web Development Eagle Technologies Group, Inc. Business Solutions for the Next Generation www.eagletgi.com [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Allarie/Macromedia ColdFusion Feature Suggestion
This is the kind of thing that Netscape was trying to do with LiveConnect. However, as we know the W3C didn't think much of this as a standard so it didn't go anywhere. You could do some pretty cool things with it though. Lanny Udey Hofstra University [EMAIL PROTECTED] Wednesday, February 21, 2001 When we 'all' work for Allaire But really, how would this be pulled off? CF generates the HTML, spits it to HTTP, it then appears magically in the users browser, which is when the DOM is available. At this point CF 'ain't talkin no more'! A client side plugin of sorts would be needed, correct? Cheers! -- Douglas Knudsen LTT, that's Leveraged Technologies Team --- These opinions are mine, ALL MINE. [EMAIL PROTECTED] Got Linux? http://linuxmall.com From: [EMAIL PROTECTED] AT INTERNET on 02/21/2001 11:38 AM To: [EMAIL PROTECTED] AT INTERNET@CCMAIL cc:(bcc: Douglas Knudsen/ATL/ALLTELCORP) Subject: Allarie/Macromedia ColdFusion Feature Suggestion Proabably a bit late to place this request for 5.0 - but how about 6.0? Why don't you all make CF capable of grabbing JavaScript variables at will throu ghout the page using a function like scriptvar() or jsvar() or something like th at? As many people as use ColdFusion together with JavaScript, this seems like i t would have been addressed in version 1.0 - but now we're at 5.0 and still no mention of bei ng able to easilly access JavaScript variables via CF. And no, I don't mean through a form submission, or in the URL or anything else - I mean mid page I'd like to be able to do something like: script colorval=thing.style.backgroundColor /script cfoutputYou're using color: #jsvar(colorval)#/cfoutput Not the best example, but you get the idea. I'm sure it presents logistical prob lems since CF is processed on the server and JS on the client, but you all are b right folks, surely you can figure this one out :) (please?) Just my $0.02, thanks for listening! Joshua Miller Web Development Eagle Technologies Group, Inc. Business Solutions for the Next Generation www.eagletgi.com [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Allarie/Macromedia ColdFusion Feature Suggestion
Actually, you can 'simulate' this using hidden frames. I've actually done it. It works pretty well as long as the the client browser supports all of the features. Todd Ashworth -- Web Application Developer Network Administrator Saber Corporation 314 Oakland Ave. Rock Hill, SC 29730 (803) 327-0137 [111] - Original Message - From: "JoshMEagle" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Wednesday, February 21, 2001 11:38 AM Subject: Allarie/Macromedia ColdFusion Feature Suggestion | Proabably a bit late to place this request for 5.0 - but how about 6.0? | | Why don't you all make CF capable of grabbing JavaScript variables at will throughout the page using a function like scriptvar() or jsvar() or something like that? As many people as use ColdFusion together with JavaScript, this seems like it would have been addressed in version 1.0 - but now we're at 5.0 and still no mention of being able to easilly access JavaScript variables via CF. | | And no, I don't mean through a form submission, or in the URL or anything else - I mean mid page I'd like to be able to do something like: | | script | colorval=thing.style.backgroundColor | /script | | cfoutputYou're using color: #jsvar(colorval)#/cfoutput | | | Not the best example, but you get the idea. I'm sure it presents logistical problems since CF is processed on the server and JS on the client, but you all are bright folks, surely you can figure this one out :) (please?) | | Just my $0.02, thanks for listening! | | Joshua Miller | Web Development | Eagle Technologies Group, Inc. | Business Solutions for the Next Generation | www.eagletgi.com | [EMAIL PROTECTED] | | | ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Allaire/Macromedia ColdFusion Feature Suggestion
Yes, perhaps a client-side plugin of sorts would be the answer - an ActiveX control, something in the JVM ... Didn't say it would be easy, just a request. I read an article someone sent a link to yesterday on the DepressedPress site about passing info back to CF using javascript and img tags ... perhaps something along these lines could be accomplished ... something written in JavaScript that would call back to the server as other JS functions are called and would reprocess variables? I don't know - again, just a suggestion. You can do this now, using JavaScript to call pages on the server as needed. Typically, this requires that you use frames, and write JavaScript functions to submit forms or change location properties. We've been doing this in applications since Netscape 2! None of this has anything to do with CF, really. CF simply generates text in response to HTTP requests. It can't have any communication with the client other than through HTTP, which is very limited and simple. The only way CF can get data from JavaScript is the same way it gets any other data - as a result of an HTTP request from the browser. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Allarie/Macromedia ColdFusion Feature Suggestion
Thanks for the smart-ass answer Philip. Sometimes you can't pass variables back to the server because you don't want to reload the page. Sometimes everything isn't in a FormSubmitFormSubmit framework. "This is the kind of thing that Netscape was trying to do with LiveConnect. However, as we know the W3C didn't think much of this as a standard so it didn't go anywhere. You could do some pretty cool things with it though." - from Lanney Udey - Apparantly at least one other person thought this would be a good idea. Could it not be accomplished via an ActiveX control? Could the cfscript features not be extended to make the bridge between the client and the server? Sort of a client-side process of CF that can communicate with the server side? I realize that the CF gets processed on the server while the JS gets processed on the client, but why couldn't CF be extended to communicate across the two? "... CF server, is it meant to be psychic and predict which of the thousands of users have which JavaScript variables - and what if the user has JavaScript disabled..." Well, there is the CFID/CFToken that could be passed so that the server could "predict" who has JS variables ... the information would inevitably have to be sent to the server, but there could be some kind of unseen resubmittal process that would allow CF to reprocess areas of the page within a cfscript tag. If the client doesn't have JavaScript enabled, then things like cfform validation wouldn't work either. That's something you always have to deal with is the existance of JS. Obviously if you're using JS in a page you've thought this end of things out in the first place. "CF7, the psychic platform that knows what you want before you even know yourself... a bit of quantum programming required, and don't forget to upgrade to Windows QT - the Quantum version of NT for Quantum machines." - For yoUr feciCious comebacK - You Ought repUdiate. Joshua Miller Web Development Eagle Technologies Group, Inc. Business Solutions for the Next Generation www.eagletgi.com [EMAIL PROTECTED] - Original Message - From: "Philip Arnold - ASP" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Wednesday, February 21, 2001 6:00 AM Subject: RE: Allarie/Macromedia ColdFusion Feature Suggestion Proabably a bit late to place this request for 5.0 - but how about 6.0? Why don't you all make CF capable of grabbing JavaScript variables at will throughout the page using a function like scriptvar() or jsvar() or something like that? As many people as use ColdFusion together with JavaScript, this seems like it would have been addressed in version 1.0 - but now we're at 5.0 and still no mention of being able to easilly access JavaScript variables via CF. And no, I don't mean through a form submission, or in the URL or anything else - I mean mid page I'd like to be able to do something like: script colorval=thing.style.backgroundColor /script cfoutputYou're using color: #jsvar(colorval)#/cfoutput Not the best example, but you get the idea. I'm sure it presents logistical problems since CF is processed on the server and JS on the client, but you all are bright folks, surely you can figure this one out :) (please?) Erm, just how is it meant to do this? JavaScript is Client side, CF is Server side - it doesn't really know that the user is the same one as the previous requester, so if the developer is too lazy to pass variables to the CF server, is it meant to be psychic and predict which of the thousands of users have which JavaScript variables - and what if the user has JavaScript disabled? Is CF meant to know this without checking? CF7, the psychic platform that knows what you want before you even know yourself... a bit of quantum programming required, and don't forget to upgrade to Windows QT - the Quantum version of NT for Quantum machines Philip Arnold Director Certified ColdFusion Developer ASP Multimedia Limited T: +44 (0)20 8680 1133 "Websites for the real world" ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Allarie/Macromedia ColdFusion Feature Suggestion
Can you explain "hidden frames" a little bit? This sounds interesting and although I've been writing JS and HTML for over 5 years, I've never heard of this - PLEASE SHARE! Thanks! Joshua Miller Web Development Eagle Technologies Group, Inc. Business Solutions for the Next Generation www.eagletgi.com [EMAIL PROTECTED] - Original Message - From: "Todd Ashworth" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Wednesday, February 21, 2001 6:42 AM Subject: Re: Allarie/Macromedia ColdFusion Feature Suggestion Actually, you can 'simulate' this using hidden frames. I've actually done it. It works pretty well as long as the the client browser supports all of the features. Todd Ashworth -- Web Application Developer Network Administrator Saber Corporation 314 Oakland Ave. Rock Hill, SC 29730 (803) 327-0137 [111] - Original Message - From: "JoshMEagle" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Wednesday, February 21, 2001 11:38 AM Subject: Allarie/Macromedia ColdFusion Feature Suggestion | Proabably a bit late to place this request for 5.0 - but how about 6.0? | | Why don't you all make CF capable of grabbing JavaScript variables at will throughout the page using a function like scriptvar() or jsvar() or something like that? As many people as use ColdFusion together with JavaScript, this seems like it would have been addressed in version 1.0 - but now we're at 5.0 and still no mention of being able to easilly access JavaScript variables via CF. | | And no, I don't mean through a form submission, or in the URL or anything else - I mean mid page I'd like to be able to do something like: | | script | colorval=thing.style.backgroundColor | /script | | cfoutputYou're using color: #jsvar(colorval)#/cfoutput | | | Not the best example, but you get the idea. I'm sure it presents logistical problems since CF is processed on the server and JS on the client, but you all are bright folks, surely you can figure this one out :) (please?) | | Just my $0.02, thanks for listening! | | Joshua Miller | Web Development | Eagle Technologies Group, Inc. | Business Solutions for the Next Generation | www.eagletgi.com | [EMAIL PROTECTED] | | | ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Allaire/Macromedia ColdFusion Feature Suggestion
The article from DepressedPress proabably has the best solution ... dynamically modify an img tag ie: img src="processingpage.cfm?var=varothervar=othervar" without having to resubmit the page or reload the page. Guess I underestimated the complexity of the request ... just thought there may be a way to do this sort of thing without having to jimmy-rig HTML/JS to accomplish the task. I guess a CFTag or function that when called sends an HTTP requests with variables to be processed back to the server and retireves the data as a variable or string of variables is out of the question? Is this just not possible? Thanks for all your comments and retorts both positive and negative - I've never had such response from this list before. I quess I have to ask a stupid question to get an answer. Few if any people responded to my questions about CFServer 4.5.2 constantly running at 99% on Win2k. THANKS! Joshua Miller Web Development Eagle Technologies Group, Inc. Business Solutions for the Next Generation www.eagletgi.com [EMAIL PROTECTED] - Original Message - From: "Dave Watts" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Wednesday, February 21, 2001 6:49 AM Subject: RE: Allaire/Macromedia ColdFusion Feature Suggestion Yes, perhaps a client-side plugin of sorts would be the answer - an ActiveX control, something in the JVM ... Didn't say it would be easy, just a request. I read an article someone sent a link to yesterday on the DepressedPress site about passing info back to CF using javascript and img tags ... perhaps something along these lines could be accomplished ... something written in JavaScript that would call back to the server as other JS functions are called and would reprocess variables? I don't know - again, just a suggestion. You can do this now, using JavaScript to call pages on the server as needed. Typically, this requires that you use frames, and write JavaScript functions to submit forms or change location properties. We've been doing this in applications since Netscape 2! None of this has anything to do with CF, really. CF simply generates text in response to HTTP requests. It can't have any communication with the client other than through HTTP, which is very limited and simple. The only way CF can get data from JavaScript is the same way it gets any other data - as a result of an HTTP request from the browser. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Allaire/Macromedia ColdFusion Feature Suggestion
"This is the kind of thing that Netscape was trying to do with LiveConnect. However, as we know the W3C didn't think much of this as a standard so it didn't go anywhere. You could do some pretty cool things with it though." - from Lanney Udey - Apparantly at least one other person thought this would be a good idea. Could it not be accomplished via an ActiveX control? Could the cfscript features not be extended to make the bridge between the client and the server? Sort of a client-side process of CF that can communicate with the server side? I realize that the CF gets processed on the server while the JS gets processed on the client, but why couldn't CF be extended to communicate across the two? Although I agree that Philip's answer was a bit snide, he's on the money otherwise. LiveConnect wasn't exactly what you're looking for - it simply used JavaScript on the client to talk to other things, like Java, also on the client. Those other things could then communicate back to the server in ways other than HTTP requests and responses. If you want to use an ActiveX or Java program to communicate back with the server, that's fine. Again, though, it doesn't have ANYTHING to do with CF - if you use your client program to communicate via HTTP, you can call CF pages, but there's nothing special you'd then do within those CF pages that you can't already do. If you use your client program to communicate some other way, then CF wouldn't be an appropriate tool to use for that portion of your application's functionality. Being a good CF developer requires knowing the limitations of CF - what it can do, and what is better done using other tools. If you want to build an application that goes beyond the boundaries imposed by the HTTP protocol, you don't want to use CF for that. True real-time chat applications are a good example of this. Chat doesn't fit that well in the HTTP request-response model (although you can "fake it" using frequent client-driven page requests). Consequently, things like custom Java client-server apps - where you're not limited by HTTP request-response - are better suited to use for chat applications. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Allarie/Macromedia ColdFusion Feature Suggestion
Thanks for the smart-ass answer Philip. Sometimes you can't pass variables back to the server because you don't want to reload the page. Sometimes everything isn't in a FormSubmitFormSubmit framework. hehehe, sorry, in an odd mood today Anyways, how can you get more info from CF if you DON'T reload a page? CF generates pages, and as such it much send something to the browser, thus some form of reload, whether it's a hidden frame or a separate frame The biggest problem with any kind of system that relies on JS or ActiveX is that if a user turns off JS, then the whole system falls apart, which means you can't use hidden frames, and it must be done with reloads A lot of our client sites are viewed by people with cookies and JS disabled, which means everything must be passed on the URL or via forms... We tend to code to this for most of our sites (note the word "most") For yoUr feciCious comebacK - You Ought repUdiate. Why thanks g Philip Arnold Director Certified ColdFusion Developer ASP Multimedia Limited T: +44 (0)20 8680 1133 "Websites for the real world" ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Allarie/Macromedia ColdFusion Feature Suggestion
You don't want the client and the server communicating. That would open up all sorts of security concerns for people. I don't see any way to use JavaScript and CF together any more than you can already. It already seems pretty easy to pass info back and forth when necessary. tom www.basic-ultradev.com - Original Message - From: "JoshMEagle" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Wednesday, February 21, 2001 1:00 PM Subject: Re: Allarie/Macromedia ColdFusion Feature Suggestion Thanks for the smart-ass answer Philip. Sometimes you can't pass variables back to the server because you don't want to reload the page. Sometimes everything isn't in a FormSubmitFormSubmit framework. "This is the kind of thing that Netscape was trying to do with LiveConnect. However, as we know the W3C didn't think much of this as a standard so it didn't go anywhere. You could do some pretty cool things with it though." - from Lanney Udey - Apparantly at least one other person thought this would be a good idea. Could it not be accomplished via an ActiveX control? Could the cfscript features not be extended to make the bridge between the client and the server? Sort of a client-side process of CF that can communicate with the server side? I realize that the CF gets processed on the server while the JS gets processed on the client, but why couldn't CF be extended to communicate across the two? "... CF server, is it meant to be psychic and predict which of the thousands of users have which JavaScript variables - and what if the user has JavaScript disabled..." Well, there is the CFID/CFToken that could be passed so that the server could "predict" who has JS variables ... the information would inevitably have to be sent to the server, but there could be some kind of unseen resubmittal process that would allow CF to reprocess areas of the page within a cfscript tag. If the client doesn't have JavaScript enabled, then things like cfform validation wouldn't work either. That's something you always have to deal with is the existance of JS. Obviously if you're using JS in a page you've thought this end of things out in the first place. "CF7, the psychic platform that knows what you want before you even know yourself... a bit of quantum programming required, and don't forget to upgrade to Windows QT - the Quantum version of NT for Quantum machines." - For yoUr feciCious comebacK - You Ought repUdiate. Joshua Miller Web Development Eagle Technologies Group, Inc. Business Solutions for the Next Generation www.eagletgi.com [EMAIL PROTECTED] ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Allarie/Macromedia ColdFusion Feature Suggestion
What about server push/pull strategies. Hit yahoo and search for: server push pull. M$ Windows QT, now that is funny. Of course M$ won't 'invent' this, they will 'appropriate' the technology from Sun, IBM, Linux, or some poor professor or hacker. But then, this is way OT. Sorry, could not resist. From: [EMAIL PROTECTED] AT INTERNET on 02/21/2001 01:00 PM To: [EMAIL PROTECTED] AT INTERNET@CCMAIL cc:(bcc: Douglas Knudsen/ATL/ALLTELCORP) Subject: Re: Allarie/Macromedia ColdFusion Feature Suggestion Thanks for the smart-ass answer Philip. Sometimes you can't pass variables back to the server because you don't want to reload the page. Sometimes everything isn't in a FormSubmitFormSubmit framework. "This is the kind of thing that Netscape was trying to do with LiveConnect. However, as we know the W3C didn't think much of this as a standard so it didn't go anywhere. You could do some pretty cool things with it though." - from Lanney Udey - Apparantly at least one other person thought this would be a good idea. Could it not be accomplished via an ActiveX control? Could the cfscript features not be extended to make the bridge between the client and the server? Sort of a client-side process of CF that can communicate with the server side? I realize that the CF gets processed on the server while the JS gets processed on the client, but why couldn't CF be extended to communicate across the two? "... CF server, is it meant to be psychic and predict which of the thousands of users have which JavaScript variables - and what if the user has JavaScript disabled..." Well, there is the CFID/CFToken that could be passed so that the server could "predict" who has JS variables ... the information would inevitably have to be sent to the server, but there could be some kind of unseen resubmittal process that would allow CF to reprocess areas of the page within a cfscript tag. If the client doesn't have JavaScript enabled, then things like cfform validation wouldn't work either. That's something you always have to deal with is the existance of JS. Obviously if you're using JS in a page you've thought this end of things out in the first place. "CF7, the psychic platform that knows what you want before you even know yourself... a bit of quantum programming required, and don't forget to upgrade to Windows QT - the Quantum version of NT for Quantum machines." - For yoUr feciCious comebacK - You Ought repUdiate. Joshua Miller Web Development Eagle Technologies Group, Inc. Business Solutions for the Next Generation www.eagletgi.com [EMAIL PROTECTED] - Original Message - From: "Philip Arnold - ASP" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Wednesday, February 21, 2001 6:00 AM Subject: RE: Allarie/Macromedia ColdFusion Feature Suggestion Proabably a bit late to place this request for 5.0 - but how about 6.0? Why don't you all make CF capable of grabbing JavaScript variables at will throughout the page using a function like scriptvar() or jsvar() or something like that? As many people as use ColdFusion together with JavaScript, this seems like it would have been addressed in version 1.0 - but now we're at 5.0 and still no mention of being able to easilly access JavaScript variables via CF. And no, I don't mean through a form submission, or in the URL or anything else - I mean mid page I'd like to be able to do something like: script colorval=thing.style.backgroundColor /script cfoutputYou're using color: #jsvar(colorval)#/cfoutput Not the best example, but you get the idea. I'm sure it presents logistical problems since CF is processed on the server and JS on the client, but you all are bright folks, surely you can figure this one out :) (please?) Erm, just how is it meant to do this? JavaScript is Client side, CF is Server side - it doesn't really know that the user is the same one as the previous requester, so if the developer is too lazy to pass variables to the CF server, is it meant to be psychic and predict which of the thousands of users have which JavaScript variables - and what if the user has JavaScript disabled? Is CF meant to know this without checking? CF7, the psychic platform that knows what you want before you even know yourself... a bit of quantum programming required, and don't forget to upgrade to Windows QT - the Quantum version of NT for Quantum machines Philip Arnold Director Certified ColdFusion Developer ASP Multimedia Limited T: +44 (0)20 8680 1133 "Websites for the real world" ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If y
Re: Allarie/Macromedia ColdFusion Feature Suggestion
Pretty simple.. you have a frameset, and one of the frames has height of 0. Some interaction in the visible window forces the hidden window to do something, which in turn causes the visible window to do something, perhaps in an onLoad. The hidden window, having just come from the browser, has new content, so things appear to be dynamic. -- Billy Cravens HR Web Development, Sabre [EMAIL PROTECTED] JoshMEagle wrote: Can you explain "hidden frames" a little bit? This sounds interesting and although I've been writing JS and HTML for over 5 years, I've never heard of this - PLEASE SHARE! Thanks! Joshua Miller Web Development Eagle Technologies Group, Inc. Business Solutions for the Next Generation www.eagletgi.com [EMAIL PROTECTED] - Original Message - From: "Todd Ashworth" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Wednesday, February 21, 2001 6:42 AM Subject: Re: Allarie/Macromedia ColdFusion Feature Suggestion Actually, you can 'simulate' this using hidden frames. I've actually done it. It works pretty well as long as the the client browser supports all of the features. Todd Ashworth -- Web Application Developer Network Administrator Saber Corporation 314 Oakland Ave. Rock Hill, SC 29730 (803) 327-0137 [111] - Original Message - From: "JoshMEagle" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Wednesday, February 21, 2001 11:38 AM Subject: Allarie/Macromedia ColdFusion Feature Suggestion | Proabably a bit late to place this request for 5.0 - but how about 6.0? | | Why don't you all make CF capable of grabbing JavaScript variables at will throughout the page using a function like scriptvar() or jsvar() or something like that? As many people as use ColdFusion together with JavaScript, this seems like it would have been addressed in version 1.0 - but now we're at 5.0 and still no mention of being able to easilly access JavaScript variables via CF. | | And no, I don't mean through a form submission, or in the URL or anything else - I mean mid page I'd like to be able to do something like: | | script | colorval=thing.style.backgroundColor | /script | | cfoutputYou're using color: #jsvar(colorval)#/cfoutput | | | Not the best example, but you get the idea. I'm sure it presents logistical problems since CF is processed on the server and JS on the client, but you all are bright folks, surely you can figure this one out :) (please?) | | Just my $0.02, thanks for listening! | | Joshua Miller | Web Development | Eagle Technologies Group, Inc. | Business Solutions for the Next Generation | www.eagletgi.com | [EMAIL PROTECTED] | | | ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Allarie/Macromedia ColdFusion Feature Suggestion
You don't want to use ActiveX to do something like that.. anyone not using IE on Windows would be out of luck. -- Billy Cravens HR Web Development, Sabre [EMAIL PROTECTED] JoshMEagle wrote: Thanks for the smart-ass answer Philip. Sometimes you can't pass variables back to the server because you don't want to reload the page. Sometimes everything isn't in a FormSubmitFormSubmit framework. "This is the kind of thing that Netscape was trying to do with LiveConnect. However, as we know the W3C didn't think much of this as a standard so it didn't go anywhere. You could do some pretty cool things with it though." - from Lanney Udey - Apparantly at least one other person thought this would be a good idea. Could it not be accomplished via an ActiveX control? Could the cfscript features not be extended to make the bridge between the client and the server? Sort of a client-side process of CF that can communicate with the server side? I realize that the CF gets processed on the server while the JS gets processed on the client, but why couldn't CF be extended to communicate across the two? "... CF server, is it meant to be psychic and predict which of the thousands of users have which JavaScript variables - and what if the user has JavaScript disabled..." Well, there is the CFID/CFToken that could be passed so that the server could "predict" who has JS variables ... the information would inevitably have to be sent to the server, but there could be some kind of unseen resubmittal process that would allow CF to reprocess areas of the page within a cfscript tag. If the client doesn't have JavaScript enabled, then things like cfform validation wouldn't work either. That's something you always have to deal with is the existance of JS. Obviously if you're using JS in a page you've thought this end of things out in the first place. "CF7, the psychic platform that knows what you want before you even know yourself... a bit of quantum programming required, and don't forget to upgrade to Windows QT - the Quantum version of NT for Quantum machines." - For yoUr feciCious comebacK - You Ought repUdiate. Joshua Miller Web Development Eagle Technologies Group, Inc. Business Solutions for the Next Generation www.eagletgi.com [EMAIL PROTECTED] - Original Message - From: "Philip Arnold - ASP" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Wednesday, February 21, 2001 6:00 AM Subject: RE: Allarie/Macromedia ColdFusion Feature Suggestion Proabably a bit late to place this request for 5.0 - but how about 6.0? Why don't you all make CF capable of grabbing JavaScript variables at will throughout the page using a function like scriptvar() or jsvar() or something like that? As many people as use ColdFusion together with JavaScript, this seems like it would have been addressed in version 1.0 - but now we're at 5.0 and still no mention of being able to easilly access JavaScript variables via CF. And no, I don't mean through a form submission, or in the URL or anything else - I mean mid page I'd like to be able to do something like: script colorval=thing.style.backgroundColor /script cfoutputYou're using color: #jsvar(colorval)#/cfoutput Not the best example, but you get the idea. I'm sure it presents logistical problems since CF is processed on the server and JS on the client, but you all are bright folks, surely you can figure this one out :) (please?) Erm, just how is it meant to do this? JavaScript is Client side, CF is Server side - it doesn't really know that the user is the same one as the previous requester, so if the developer is too lazy to pass variables to the CF server, is it meant to be psychic and predict which of the thousands of users have which JavaScript variables - and what if the user has JavaScript disabled? Is CF meant to know this without checking? CF7, the psychic platform that knows what you want before you even know yourself... a bit of quantum programming required, and don't forget to upgrade to Windows QT - the Quantum version of NT for Quantum machines Philip Arnold Director Certified ColdFusion Developer ASP Multimedia Limited T: +44 (0)20 8680 1133 "Websites for the real world" ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: ht
Re: Allarie/Macromedia ColdFusion Feature Suggestion
Basically, it's an iframe that has a style sheet associated with it that makes it invisible. Netscape doesn't support iframe, so you are limited in your audience, but if you are developing for a controlled environment in which everyone uses I.E., it works pretty well. !-- style sheet -- #ifrmSubmitForm { position: absolute; top: 400; left: 5; visibility: hidden } !-- IRAME -- IFRAME id="ifrmSubmitForm" name="ifrmSubmitForm" src=""/IFRAME I've never tried it with any other type of frames, so you *might* be able to get Netscape to support it as well, with a little experimenting. Todd Ashworth -- Web Application Developer Network Administrator Saber Corporation 314 Oakland Ave. Rock Hill, SC 29730 (803) 327-0137 [111] - Original Message - From: "JoshMEagle" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Wednesday, February 21, 2001 1:02 PM Subject: Re: Allarie/Macromedia ColdFusion Feature Suggestion | Can you explain "hidden frames" a little bit? This sounds interesting and | although I've been writing JS and HTML for over 5 years, I've never heard of | this - PLEASE SHARE! | | Thanks! | | Joshua Miller | Web Development | Eagle Technologies Group, Inc. | Business Solutions for the Next Generation | www.eagletgi.com | [EMAIL PROTECTED] | - Original Message - | From: "Todd Ashworth" [EMAIL PROTECTED] | To: "CF-Talk" [EMAIL PROTECTED] | Sent: Wednesday, February 21, 2001 6:42 AM | Subject: Re: Allarie/Macromedia ColdFusion Feature Suggestion | | | Actually, you can 'simulate' this using hidden frames. I've actually done | it. It works pretty well as long as the the client browser supports all | of | the features. | | Todd Ashworth -- | Web Application Developer | Network Administrator | | Saber Corporation | 314 Oakland Ave. | Rock Hill, SC 29730 | (803) 327-0137 [111] | | - Original Message - | From: "JoshMEagle" [EMAIL PROTECTED] | To: "CF-Talk" [EMAIL PROTECTED] | Sent: Wednesday, February 21, 2001 11:38 AM | Subject: Allarie/Macromedia ColdFusion Feature Suggestion | | | | Proabably a bit late to place this request for 5.0 - but how about 6.0? | | | | Why don't you all make CF capable of grabbing JavaScript variables at | will | throughout the page using a function like scriptvar() or jsvar() or | something like that? As many people as use ColdFusion together with | JavaScript, this seems like it would have been addressed in version 1.0 - | but now we're at 5.0 and still no mention of being able to easilly access | JavaScript variables via CF. | | | | And no, I don't mean through a form submission, or in the URL or | anything | else - I mean mid page I'd like to be able to do something like: | | | | script | | colorval=thing.style.backgroundColor | | /script | | | | cfoutputYou're using color: #jsvar(colorval)#/cfoutput | | | | | | Not the best example, but you get the idea. I'm sure it presents | logistical problems since CF is processed on the server and JS on the | client, but you all are bright folks, surely you can figure this one out | :) | (please?) | | | | Just my $0.02, thanks for listening! | | | | Joshua Miller | | Web Development | | Eagle Technologies Group, Inc. | | Business Solutions for the Next Generation | | www.eagletgi.com | | [EMAIL PROTECTED] | | | | | | | | ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Allaire/Macromedia ColdFusion Feature Suggestion
Maybe something could be done with a small, invisible, general-purpose Flash file that uses loadVariables. CF could generate the client-side JavaScript that communicated with the Flash file. The JavaScript could then pass/request variables efficiently through the Flash interface. This would be a little kludgey to construct initially but you could make a CF custom tag. Later the implementation could be formalized into a built-in CF function and the corresponding built-in Flash function. Harpoon would be a good candidate for the initial implementation. Dick At 9:49 AM -0500 2/21/01, Dave Watts wrote: Yes, perhaps a client-side plugin of sorts would be the answer - an ActiveX control, something in the JVM ... Didn't say it would be easy, just a request. I read an article someone sent a link to yesterday on the DepressedPress site about passing info back to CF using javascript and img tags ... perhaps something along these lines could be accomplished ... something written in JavaScript that would call back to the server as other JS functions are called and would reprocess variables? I don't know - again, just a suggestion. You can do this now, using JavaScript to call pages on the server as needed. Typically, this requires that you use frames, and write JavaScript functions to submit forms or change location properties. We've been doing this in applications since Netscape 2! None of this has anything to do with CF, really. CF simply generates text in response to HTTP requests. It can't have any communication with the client other than through HTTP, which is very limited and simple. The only way CF can get data from JavaScript is the same way it gets any other data - as a result of an HTTP request from the browser. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Allarie/Macromedia ColdFusion Feature Suggestion
Umm.. I hate to jump in on this, but he wasn't being a smart-ass so much as being realistic. CF runs on the server. Javascript runs on the client. The only conversation they have is through URL requests and form submits. The only way to get information in Javascript variables is by submitting it in URL or FORM variables. Even if you are doing it in a clever way, like inside a hidden frame or from a Java or ActiveX component. (of course you could write your own protocol that runs beside HTTP and have a Java program running on the server, and another one running on the client passing data through their own port. The client side program would attach to IE or Netscape and use the DOM to get data. The server side program would attach to the Cold Fusion server in some very tricky way well... you get the point... hardly worth reinventing the web instead of just passing the variables to a Cold Fusion page inside a teeny-weeny hidden frame) At 10:00 AM 2/21/01 -0800, JoshMEagle wrote: Thanks for the smart-ass answer Philip. Sometimes you can't pass variables back to the server because you don't want to reload the page. Sometimes everything isn't in a FormSubmitFormSubmit framework. "This is the kind of thing that Netscape was trying to do with LiveConnect. However, as we know the W3C didn't think much of this as a standard so it didn't go anywhere. You could do some pretty cool things with it though." - from Lanney Udey - Apparantly at least one other person thought this would be a good idea. Could it not be accomplished via an ActiveX control? Could the cfscript features not be extended to make the bridge between the client and the server? Sort of a client-side process of CF that can communicate with the server side? I realize that the CF gets processed on the server while the JS gets processed on the client, but why couldn't CF be extended to communicate across the two? "... CF server, is it meant to be psychic and predict which of the thousands of users have which JavaScript variables - and what if the user has JavaScript disabled..." Well, there is the CFID/CFToken that could be passed so that the server could "predict" who has JS variables ... the information would inevitably have to be sent to the server, but there could be some kind of unseen resubmittal process that would allow CF to reprocess areas of the page within a cfscript tag. If the client doesn't have JavaScript enabled, then things like cfform validation wouldn't work either. That's something you always have to deal with is the existance of JS. Obviously if you're using JS in a page you've thought this end of things out in the first place. "CF7, the psychic platform that knows what you want before you even know yourself... a bit of quantum programming required, and don't forget to upgrade to Windows QT - the Quantum version of NT for Quantum machines." - For yoUr feciCious comebacK - You Ought repUdiate. Joshua Miller Web Development Eagle Technologies Group, Inc. Business Solutions for the Next Generation www.eagletgi.com [EMAIL PROTECTED] - Original Message - From: "Philip Arnold - ASP" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Wednesday, February 21, 2001 6:00 AM Subject: RE: Allarie/Macromedia ColdFusion Feature Suggestion Proabably a bit late to place this request for 5.0 - but how about 6.0? Why don't you all make CF capable of grabbing JavaScript variables at will throughout the page using a function like scriptvar() or jsvar() or something like that? As many people as use ColdFusion together with JavaScript, this seems like it would have been addressed in version 1.0 - but now we're at 5.0 and still no mention of being able to easilly access JavaScript variables via CF. And no, I don't mean through a form submission, or in the URL or anything else - I mean mid page I'd like to be able to do something like: script colorval=thing.style.backgroundColor /script cfoutputYou're using color: #jsvar(colorval)#/cfoutput Not the best example, but you get the idea. I'm sure it presents logistical problems since CF is processed on the server and JS on the client, but you all are bright folks, surely you can figure this one out :) (please?) Erm, just how is it meant to do this? JavaScript is Client side, CF is Server side - it doesn't really know that the user is the same one as the previous requester, so if the developer is too lazy to pass variables to the CF server, is it meant to be psychic and predict which of the thousands of users have which JavaScript variables - and what if the user has JavaScript disabled? Is CF meant to know this without checking? CF7, the psychic platform that knows what you want before you even know yourself... a bit of quantum programming required, and don't forget to upgrade to Windows QT - the Quantum version of NT for Quantum machines Philip Arno
RE: Allarie/Macromedia ColdFusion Feature Suggestion
I don't know if someone has already suggested this, but if you want to have a lot of functionality without having to actually submit the page (hidden frames still send a request back to the server) you should look at WDDX. That will allow you to have all your client side functionality, and you only need one submition. Just a thought ;) Scott Cavanaugh Software Developer Online Operations Salem Communications Corporation -Original Message- From: Peter Theobald [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 21, 2001 9:20 AM To: CF-Talk Subject: Re: Allarie/Macromedia ColdFusion Feature Suggestion Umm.. I hate to jump in on this, but he wasn't being a smart-ass so much as being realistic. CF runs on the server. Javascript runs on the client. The only conversation they have is through URL requests and form submits. The only way to get information in Javascript variables is by submitting it in URL or FORM variables. Even if you are doing it in a clever way, like inside a hidden frame or from a Java or ActiveX component. (of course you could write your own protocol that runs beside HTTP and have a Java program running on the server, and another one running on the client passing data through their own port. The client side program would attach to IE or Netscape and use the DOM to get data. The server side program would attach to the Cold Fusion server in some very tricky way well... you get the point... hardly worth reinventing the web instead of just passing the variables to a Cold Fusion page inside a teeny-weeny hidden frame) At 10:00 AM 2/21/01 -0800, JoshMEagle wrote: Thanks for the smart-ass answer Philip. Sometimes you can't pass variables back to the server because you don't want to reload the page. Sometimes everything isn't in a FormSubmitFormSubmit framework. "This is the kind of thing that Netscape was trying to do with LiveConnect. However, as we know the W3C didn't think much of this as a standard so it didn't go anywhere. You could do some pretty cool things with it though." - from Lanney Udey - Apparantly at least one other person thought this would be a good idea. Could it not be accomplished via an ActiveX control? Could the cfscript features not be extended to make the bridge between the client and the server? Sort of a client-side process of CF that can communicate with the server side? I realize that the CF gets processed on the server while the JS gets processed on the client, but why couldn't CF be extended to communicate across the two? "... CF server, is it meant to be psychic and predict which of the thousands of users have which JavaScript variables - and what if the user has JavaScript disabled..." Well, there is the CFID/CFToken that could be passed so that the server could "predict" who has JS variables ... the information would inevitably have to be sent to the server, but there could be some kind of unseen resubmittal process that would allow CF to reprocess areas of the page within a cfscript tag. If the client doesn't have JavaScript enabled, then things like cfform validation wouldn't work either. That's something you always have to deal with is the existance of JS. Obviously if you're using JS in a page you've thought this end of things out in the first place. "CF7, the psychic platform that knows what you want before you even know yourself... a bit of quantum programming required, and don't forget to upgrade to Windows QT - the Quantum version of NT for Quantum machines." - For yoUr feciCious comebacK - You Ought repUdiate. Joshua Miller Web Development Eagle Technologies Group, Inc. Business Solutions for the Next Generation www.eagletgi.com [EMAIL PROTECTED] - Original Message - From: "Philip Arnold - ASP" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Wednesday, February 21, 2001 6:00 AM Subject: RE: Allarie/Macromedia ColdFusion Feature Suggestion Proabably a bit late to place this request for 5.0 - but how about 6.0? Why don't you all make CF capable of grabbing JavaScript variables at will throughout the page using a function like scriptvar() or jsvar() or something like that? As many people as use ColdFusion together with JavaScript, this seems like it would have been addressed in version 1.0 - but now we're at 5.0 and still no mention of being able to easilly access JavaScript variables via CF. And no, I don't mean through a form submission, or in the URL or anything else - I mean mid page I'd like to be able to do something like: script colorval=thing.style.backgroundColor /script cfoutputYou're using color: #jsvar(colorval)#/cfoutput Not the best example, but you get the idea. I'm sure it presents logistical problems since CF is processed on the server and JS on the client, but you all are bright folks, surely you can figure this one out :) (please?) Erm, just how is it meant to do this? JavaScrip
Re: Allarie/Macromedia ColdFusion Feature Suggestion
Josh, My guess, I think it's called a "hidden frame" since everyone seems to name the frame-of-minimal-size "Hidden" in their frameset. I'm not a big fan of frames for GUI and I do think this hidden frame technique is one example where frames can effectively improve the user experience. it's not really hidden, it just a frame with a size=0 pixel (or size=1 pixel, in Netscape I believe), so small that the user doesn't see it, hence the name. however since each frame, as always, acts like its own little browser, you'd use the hidden frame to pass the info to and from the server and to and from the visible frame(s). The hidden frame can also be effectively used to "pre-load" data esp if you have quite a bit, as long as you keep in mind the browser limit on such things--our experience has been that IE will barf much past 512k in the entire cumulative frameset--much as you can imagine an example where you're editing records, perhaps on one of those "Next N" pages, and rather than hitting the DB to save the edits for each and every record and to load each and every next record, you instead store the current visible records (you know 10 per page, 25 per page, 100 per page, whatever) in the hidden frame, populate the visible frame with any given record's data, make changes, save the data back to the hidden frame, and then do the commit to the db when the visible frame goes on to the Next N or some other location. Again, this is not a catch-all solution, depending on what you're doing this may be a very effective way to make the app appear to work "faster" (and it does since in this example you've cut down on the hits to the server.). Again, apply the "right tool for the right job". Hidden frames can be effectively used if you try to fully think out ahead of time what specifically (that's the hard part) you're trying to accomplish by using them. In the above example, perhaps the users were dialing up from Ethiopia on a 14.4 modem (don't laugh, we had a scientist doing this to upload info in a DB on an AIDS project), or perhaps the person is somewhere where they pay per KB transmitted, so suddenly the total bandwidth used to edit the records becomes one of the business rules that must be managed. Heck this might even be an issue not for the client but for the server if you are hosting at one of those server farms that charges per MB or GB served up. Get a little traffic flowing and you can really burn through that. However please don't quote me that I told all the bandwidth-challenged sites to go switch to frames! I'm just trying to throw some simple ideas at you as to how the hidden frame(s) idea can sometimes be of benefit. No band-aid is gonna fix a bad GUI. - Original Message - From: "JoshMEagle" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Wednesday, February 21, 2001 1:02 PM Subject: Re: Allarie/Macromedia ColdFusion Feature Suggestion Can you explain "hidden frames" a little bit? This sounds interesting and although I've been writing JS and HTML for over 5 years, I've never heard of this - PLEASE SHARE! Thanks! Joshua Miller Web Development Eagle Technologies Group, Inc. Business Solutions for the Next Generation www.eagletgi.com [EMAIL PROTECTED] - Original Message - From: "Todd Ashworth" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Wednesday, February 21, 2001 6:42 AM Subject: Re: Allarie/Macromedia ColdFusion Feature Suggestion Actually, you can 'simulate' this using hidden frames. I've actually done it. It works pretty well as long as the the client browser supports all of the features. Todd Ashworth -- Web Application Developer Network Administrator Saber Corporation 314 Oakland Ave. Rock Hill, SC 29730 (803) 327-0137 [111] - Original Message - From: "JoshMEagle" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Wednesday, February 21, 2001 11:38 AM Subject: Allarie/Macromedia ColdFusion Feature Suggestion | Proabably a bit late to place this request for 5.0 - but how about 6.0? | | Why don't you all make CF capable of grabbing JavaScript variables at will throughout the page using a function like scriptvar() or jsvar() or something like that? As many people as use ColdFusion together with JavaScript, this seems like it would have been addressed in version 1.0 - but now we're at 5.0 and still no mention of being able to easilly access JavaScript variables via CF. | | And no, I don't mean through a form submission, or in the URL or anything else - I mean mid page I'd like to be able to do something like: | | script | colorval=thing.style.backgroundColor | /script | | cfoutputYou're using color: #jsvar(colorval)#/cfoutput | | | Not the best example, but you get the idea. I'm sure it presents logistical pro
Hidden Frames was Re: Allarie/Macromedia ColdFusion Feature Suggestion
You can set up a frame within a frameset that is 0 rows (or columns) in size. It, then, does not display in the browser. You have a URL associated with this hidden frame. Usually the frame contains a form so you can store/reference individual values by name via JavaScript from another frame. For example, your main frame has a button, select box, etc. that invokes a JavaScript royutine in the main frame (or the JavaScript routine invoked could be in the hidden frame). The mainframe JavaScript routine can post fields in the hidden frame... and/or invoke JavaScript functions in the hidden frame. So the main frame can cause the fill-in and submission of a form in the hidden frame. As to the original question, a hidden frame may be a nice way to invisibly interface Flash, JavaScript and CF. A hidden frame would be a tend to modularize and organize this interface. Another alternative is to do it all within a single window/frame. Flash files (Not really movies) can be imbedded and invisible. JavaScript and Flash can communicate with each other, and either of them can communicate with the server. It probably would be better to use the Flash loadVariables command for this communication as it: is very fast/efficient, low bandwidth (only sends/receives name/value pairs). the screen never goes blank as a new page is not downloaded and displayed by the browser. Flash has an internal language that is very much like JavaScript... similar to the way CFScript resembles JavaScript. Looking down the road I would hope that Flash/CF are expanded to incorporate the complete JavaScript standard. Things like: Add regexp to Flash ActionScripts Seamless inerface between Flash and Javascript Built-in function in the Flash browser plugin and CF (script) that does the variable passing that was the subject of the original post HTH Dick At 10:02 AM -0800 2/21/01, JoshMEagle wrote: Can you explain "hidden frames" a little bit? This sounds interesting and although I've been writing JS and HTML for over 5 years, I've never heard of this - PLEASE SHARE! Thanks! ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Macromedia Coldfusion
But you'll have to admit "Macromedia Coldfusion" is sexier than "Macromedia Confusion" ;-) best, paul At 07:00 PM 1/17/01 -0500, you wrote: Lol Macromedia Coldfusion does not sound as Sexy as Allaire Coldfusion =) ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Macromedia Coldfusion
What about MacroFusion or ColdMedia? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 18 January 2001 13:33 To: CF-Talk Subject: Re: Macromedia Coldfusion But you'll have to admit "Macromedia Coldfusion" is sexier than "Macromedia Confusion" ;-) best, paul At 07:00 PM 1/17/01 -0500, you wrote: Lol Macromedia Coldfusion does not sound as Sexy as Allaire Coldfusion =) ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Macromedia Coldfusion
i'm just glad that CF has a 'whizzy' name already, so MM wont have to give it a jazzy one from their extensive library or names that Adobe thought were too stupid :-) N ! --- Neil Clark Senior Web Applications Engineer ColdFusion / Spectra / XML mcb digital [Allaire Premier Partner] Tel. +44 (0)20 8941 3232 Tel. +44 (0)20 8408 8131 [Direct] http://www.mcbdigital.com --- ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Macromedia Coldfusion
Oh, I don't know. What about another's suggestion here: MacroFusion best, paul PS Don't bother. MacroFusion.com is already reserved ;-) At 01:48 PM 1/18/01 +, you wrote: i'm just glad that CF has a 'whizzy' name already, so MM wont have to give it a jazzy one from their extensive library or names that Adobe thought were too stupid :-) ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Macromedia Coldfusion
Yes, that works much better than ColdMediaalthough coldmedia.org IS available ;) Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 18, 2001 10:41 AM To: CF-Talk Subject: RE: Macromedia Coldfusion Oh, I don't know. What about another's suggestion here: MacroFusion best, paul PS Don't bother. MacroFusion.com is already reserved ;-) At 01:48 PM 1/18/01 +, you wrote: i'm just glad that CF has a 'whizzy' name already, so MM wont have to give it a jazzy one from their extensive library or names that Adobe thought were too stupid :-) ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Macromedia Coldfusion
Q21. Will there be a change to vocabulary/terminology related to ALLR's products? A21. The new company will be called Macromedia and this will replace Allaire wherever used in product names. Well i guess this seals it =) from Chris Montgomery on his discussion with Allaire Macromedia in a CFUG Managers meeting. Lol Macromedia Coldfusion does not sound as Sexy as Allaire Coldfusion =) Bill Wheatley Director of Development Allaire Certified ColdFusion Developer AEPS INC Allaire ColdFusion Consulting Partner www.aeps.com www.aeps2000.com 954-472-6684 X303 ICQ: 417645 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists