Re: Calling a Custom Tag Twice Duplicates Query Results?
On Wed, May 28, 2014 at 1:57 PM, Phillip Vector wrote: > > Also, it's either MX or 7. :) > > No, Dan was right. Version 7 was ColdFusion MX 7. Which is just kind of a weird way to number it. -- ----- Scott Brady http://www.scottbrady.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358703 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: More CFBuilder 3 frustration
I believe it was released the same day as CF11 > On May 1, 2014, at 11:09 AM, Andrew Scott wrote: > > > Oh I did not know it had been released as yet... > > Regards, > Andrew Scott > WebSite: http://www.andyscott.id.au/ > Google+: http://plus.google.com/113032480415921517411 > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358519 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: isValid - numeric vs. float
But if the variable contains a street address like "1313 Mockingbird Lane" then val() would make us think it's numeric data. In this case, this could be data that is supposed to be numeric but may not be . Kind of a silly example. I guess if lsParaeNumber() returned something like "NAN" for non-numeric arguments it would be simpler. > On Dec 4, 2013, at 8:53 AM, "Mark A Kruger" wrote: > > > Scott, > > Ok.. this is simple but remember that val( ) actually returns a number if > the first part of the string IS a number, and a zero if it is not: > > Val(343,200) returns 343 > Val(ABC123) returns 0.00 > > So if you know you are dealing numbers above zero you can use this as a > quick and easy Boolean function. As in > > If(val(23,320,2300.00)) > { >..then whatever code you need to strip commas and further manage the > variable. > ) > > Just a thought :) > > > > Mark Kruger - CFG > CF Webtools > www.cfwebtools.com > www.coldfusionmuse.com > O: 402.932.3318 > E: mkru...@cfwebtools.com > Skype: markakruger > > > > -Original Message- > From: Scott Brady [mailto:dsbr...@gmail.com] > Sent: Wednesday, December 04, 2013 8:34 AM > To: cf-talk > Subject: Re: isValid - numeric vs. float > > > Well, in our case, this started out as a way for us to determine if the > variable we're dealing with is a number that we'd need to strip the commas > from. Due to the nature of our code, we only want to strip out the commas > if it's a number. For us, the bug actually works in our favor, because > that's really the only way to determine if it was a number. (Our other > alternative was to do an lsPareNumber() inside a try/catch block, which may > be the way we have to go if Adobe fixes the bug. > > Scott > > > On Wed, Dec 4, 2013 at 8:27 AM, Jon Clausen > wrote: > >> >> Agreed. I would recommend stripping the commas out before you validate >> the number. They do strange things with calculations. For instance, >> numberFormat() converts â1,000â to 41274, as does >> JavaCast(âintâ,â1,000") >> or JavaCast(âfloatâ,â1,000"). I actually think itâs kind of >> incorrect > that >> the default behavior for numberFormat(1000) returns 1,000 as it can mess > up >> your calculations, but itâs been the default for so long, it would > probably >> break backward compatibility for a bunch of apps. > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357280 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: isValid - numeric vs. float
Well, in our case, this started out as a way for us to determine if the variable we're dealing with is a number that we'd need to strip the commas from. Due to the nature of our code, we only want to strip out the commas if it's a number. For us, the bug actually works in our favor, because that's really the only way to determine if it was a number. (Our other alternative was to do an lsPareNumber() inside a try/catch block, which may be the way we have to go if Adobe fixes the bug. Scott On Wed, Dec 4, 2013 at 8:27 AM, Jon Clausen wrote: > > Agreed. I would recommend stripping the commas out before you validate > the number. They do strange things with calculations. For instance, > numberFormat() converts 1,000 to 41274, as does JavaCast(int,1,000") > or JavaCast(float,1,000"). I actually think its kind of incorrect that > the default behavior for numberFormat(1000) returns 1,000 as it can mess up > your calculations, but its been the default for so long, it would probably > break backward compatibility for a bunch of apps. > > > > > On Dec 3, 2013, at 7:35 PM, Adam Cameron wrote: > > > > > It's a bug. There's no reason "1,000.00" should validate as a numeric > value > > of any kind; and "float" is a subset of numeric. > > > > Railo returns false for both. As does OpenBD. > > > > -- > > Adam > > > > > > > > > > On 3 December 2013 22:05, Scott Brady wrote: > > > >> > >> The docs for isValid() imply that the type "numeric" and "float" are > >> equivalent, in that they're listed together. However, they can yield > >> different results: > >> isValid("numeric","1,000.00") returns false > >> isValid("float","1,000.00") returns true > >> > >> This came up as we're dealing with an issue of users entering "1,000.00" > >> [or something similar] into a field, which can cause problems in one > area > >> of code where we need that value to be a valid number (i.e., we want to > use > >> it in a calculation, which results in an error). We can use > >> lsParseNumber(0 around the value, but first we need to make sure it's a > >> valid number anyway. So, we're somewhat forced into using > >> isValid("float",) which is fine. > >> > >> But, is this a bug with the actual isValid() function or is it more of a > >> documentation error (i.e., behind the scenes, "float" and "numeric" are > >> different and "1,000.00" is not a valid numeric but is a valid float)? > >> > >> Scott > >> > >> -- > >> - > >> Scott Brady > >> http://www.scottbrady.net/ > >> > >> > >> > > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357271 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: isValid - numeric vs. float
That's what we thought. I've submitted a bug report. Thanks! Scott On Tue, Dec 3, 2013 at 6:35 PM, Adam Cameron wrote: > > It's a bug. There's no reason "1,000.00" should validate as a numeric value > of any kind; and "float" is a subset of numeric. > > Railo returns false for both. As does OpenBD. > > -- > Adam > > > > > On 3 December 2013 22:05, Scott Brady wrote: > > > > > The docs for isValid() imply that the type "numeric" and "float" are > > equivalent, in that they're listed together. However, they can yield > > different results: > > isValid("numeric","1,000.00") returns false > > isValid("float","1,000.00") returns true > > > > This came up as we're dealing with an issue of users entering "1,000.00" > > [or something similar] into a field, which can cause problems in one area > > of code where we need that value to be a valid number (i.e., we want to > use > > it in a calculation, which results in an error). We can use > > lsParseNumber(0 around the value, but first we need to make sure it's a > > valid number anyway. So, we're somewhat forced into using > > isValid("float",) which is fine. > > > > But, is this a bug with the actual isValid() function or is it more of a > > documentation error (i.e., behind the scenes, "float" and "numeric" are > > different and "1,000.00" is not a valid numeric but is a valid float)? > > > > Scott > > > > -- > > - > > Scott Brady > > http://www.scottbrady.net/ > > > > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357269 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
isValid - numeric vs. float
The docs for isValid() imply that the type "numeric" and "float" are equivalent, in that they're listed together. However, they can yield different results: isValid("numeric","1,000.00") returns false isValid("float","1,000.00") returns true This came up as we're dealing with an issue of users entering "1,000.00" [or something similar] into a field, which can cause problems in one area of code where we need that value to be a valid number (i.e., we want to use it in a calculation, which results in an error). We can use lsParseNumber(0 around the value, but first we need to make sure it's a valid number anyway. So, we're somewhat forced into using isValid("float",) which is fine. But, is this a bug with the actual isValid() function or is it more of a documentation error (i.e., behind the scenes, "float" and "numeric" are different and "1,000.00" is not a valid numeric but is a valid float)? Scott -- - Scott Brady http://www.scottbrady.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357249 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: MAMP not processing ColdFusion
Well, I went back to using the built-in apache and replacing the mod_jk.so file seems to be working. At least, I have a CF administrator screen, which is progress. Thanks, everyone for the help. It's been a frustrating day. Scott On Mon, Oct 28, 2013 at 2:33 PM, Scott Brady wrote: > And now I'm back to MAMP Apache not starting up if the mod_jk.conf file is > being included. The incredibly vague "Caught SIGTERM" error.. > > I just want to curl into a ball and make it all go away. > > > On Mon, Oct 28, 2013 at 2:20 PM, Scott Brady wrote: > >> Well, this is no longer using the built-in apache server, but one >> included with MAMP (which uses the same Apache version that CF 10 supports). >> >> Scott >> >> >> On Mon, Oct 28, 2013 at 1:57 PM, Jon Clausen < >> jon_clau...@silowebworks.com> wrote: >> >>> >>> Scott, >>> >>> Have you tried placing mod_jk.conf in the /private/etc/apache2 >>> directory? OSX runs Apache as root, not as the current user, so there may >>> be a permissions error thats causing this to happen. Mavericks does some >>> new things with Apache to make sure it auto-restarts on fail, though Im >>> not aware that it would touch the httpd.conf file. For me it was just >>> dying with a cryptic error in /var/log/apache2 . >>> >>> Jon >>> >>> On Oct 28, 2013, at 2:41 PM, Scott Brady wrote: >>> >>> > >>> > I mentioned this in my latest reply/rant about Mavricks, but thought it >>> > should be its own thread. >>> > >>> > I'm trying to take Ray's advice and use MAMP to run CF on Mavericks, >>> but I >>> > can't get it to process CF files. >>> > >>> > Every time I start up the server in MAMP Pro, it comments out: >>> > Include "/Users//Library/Application Support/appsolute/MAMP >>> > PRO/mod_jk.conf" >>> > in the httpd.conf file >>> > >>> > which I believe is what tells it how to process CF files. >>> > >>> > Any suggestions? >>> > >>> > Scott >>> > >>> > -- >>> > - >>> > Scott Brady >>> > http://www.scottbrady.net/ >>> > >>> > >>> > >>> >>> ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357010 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: MAMP not processing ColdFusion
And now I'm back to MAMP Apache not starting up if the mod_jk.conf file is being included. The incredibly vague "Caught SIGTERM" error.. I just want to curl into a ball and make it all go away. On Mon, Oct 28, 2013 at 2:20 PM, Scott Brady wrote: > Well, this is no longer using the built-in apache server, but one included > with MAMP (which uses the same Apache version that CF 10 supports). > > Scott > > > On Mon, Oct 28, 2013 at 1:57 PM, Jon Clausen > wrote: > >> >> Scott, >> >> Have you tried placing mod_jk.conf in the /private/etc/apache2 directory? >> OSX runs Apache as root, not as the current user, so there may be a >> permissions error thats causing this to happen. Mavericks does some new >> things with Apache to make sure it auto-restarts on fail, though Im not >> aware that it would touch the httpd.conf file. For me it was just dying >> with a cryptic error in /var/log/apache2 . >> >> Jon >> >> On Oct 28, 2013, at 2:41 PM, Scott Brady wrote: >> >> > >> > I mentioned this in my latest reply/rant about Mavricks, but thought it >> > should be its own thread. >> > >> > I'm trying to take Ray's advice and use MAMP to run CF on Mavericks, >> but I >> > can't get it to process CF files. >> > >> > Every time I start up the server in MAMP Pro, it comments out: >> > Include "/Users//Library/Application Support/appsolute/MAMP >> > PRO/mod_jk.conf" >> > in the httpd.conf file >> > >> > which I believe is what tells it how to process CF files. >> > >> > Any suggestions? >> > >> > Scott >> > >> > -- >> > - >> > Scott Brady >> > http://www.scottbrady.net/ >> > >> > >> > >> >> ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357009 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: MAMP not processing ColdFusion
Well, this is no longer using the built-in apache server, but one included with MAMP (which uses the same Apache version that CF 10 supports). Scott On Mon, Oct 28, 2013 at 1:57 PM, Jon Clausen wrote: > > Scott, > > Have you tried placing mod_jk.conf in the /private/etc/apache2 directory? > OSX runs Apache as root, not as the current user, so there may be a > permissions error thats causing this to happen. Mavericks does some new > things with Apache to make sure it auto-restarts on fail, though Im not > aware that it would touch the httpd.conf file. For me it was just dying > with a cryptic error in /var/log/apache2 . > > Jon > > On Oct 28, 2013, at 2:41 PM, Scott Brady wrote: > > > > > I mentioned this in my latest reply/rant about Mavricks, but thought it > > should be its own thread. > > > > I'm trying to take Ray's advice and use MAMP to run CF on Mavericks, but > I > > can't get it to process CF files. > > > > Every time I start up the server in MAMP Pro, it comments out: > > Include "/Users//Library/Application Support/appsolute/MAMP > > PRO/mod_jk.conf" > > in the httpd.conf file > > > > which I believe is what tells it how to process CF files. > > > > Any suggestions? > > > > Scott > > > > -- > > - > > Scott Brady > > http://www.scottbrady.net/ > > > > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357007 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF 10 on Mavericks AND Adobe download links not working
Ditto to what Ray said. Plus, the client I'm working with now has a set httpd.conf (and SSL) setup that is fairly standard for the developers, and going off of that makes it harder. Of course, MAMP is already going off of that standard, but I'd be happy just to see the CF Admin show up at this point. Scott On Mon, Oct 28, 2013 at 2:09 PM, Raymond Camden wrote: > > On Mon, Oct 28, 2013 at 2:06 PM, Dave Watts wrote: > > > > > > > I guess what I'm getting at is: the code I'm writing is almost > > certainly not going to be running on OS X, so why should I care that > > much about the details of the development environment on OS X? Are you > > doing any development that specifically relies on Apache > > functionality? If not, why not use the built-in web server? I'm > > > > > > I use 2 features of Apache (that I don't *think* the built in web server in > CF handles): > > 1) virtual hosts > 2) url rewriting > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357005 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: MAMP not processing ColdFusion
Well, I have it it's not commenting it out. But now Apache won't start because it's saying "/Applications/MAMP/htdocs/CFIDE" doesn't exist. But I don't see anything that is pointing to that location (the mod_jk.conf is pointing to the CFIDE in the CF10 wwwroot folder. I'll keep banging my head against the wall. I'll see if I can do what I need to do with the non-Pro version, but I didn't think I can use different server names (I need to use specific domains on my local environment). Thanks, Scott On Mon, Oct 28, 2013 at 1:43 PM, Raymond Camden wrote: > > Ah - MAMP Pro. I'm using MAMP, not the Pro one. But see if my other email > helps - there may be a section it leaves alone. > > > On Mon, Oct 28, 2013 at 1:41 PM, Scott Brady wrote: > > > > > I mentioned this in my latest reply/rant about Mavricks, but thought it > > should be its own thread. > > > > I'm trying to take Ray's advice and use MAMP to run CF on Mavericks, but > I > > can't get it to process CF files. > > > > Every time I start up the server in MAMP Pro, it comments out: > > Include "/Users//Library/Application Support/appsolute/MAMP > > PRO/mod_jk.conf" > > in the httpd.conf file > > > > which I believe is what tells it how to process CF files. > > > > Any suggestions? > > > > Scott > > > > -- > > - > > Scott Brady > > http://www.scottbrady.net/ > > > > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356999 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
MAMP not processing ColdFusion
I mentioned this in my latest reply/rant about Mavricks, but thought it should be its own thread. I'm trying to take Ray's advice and use MAMP to run CF on Mavericks, but I can't get it to process CF files. Every time I start up the server in MAMP Pro, it comments out: Include "/Users//Library/Application Support/appsolute/MAMP PRO/mod_jk.conf" in the httpd.conf file which I believe is what tells it how to process CF files. Any suggestions? Scott -- ----- Scott Brady http://www.scottbrady.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356995 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF 10 on Mavericks AND Adobe download links not working
Actually, I DID check for compatibility and it seemed like there was a workaround (provided by the community) that had been working. Obviously, I couldn't test it without actually upgrading it. And we're not talking about a major apache version change (2.2.21 to 2.2.24). As far as working in the same environment as we deploy to, that's easy if you work for a single client, I suppose. But, that's not something that's always possible. Dave, not all of us have the luxury of developing only on the platform that gets deployed to. We have a number of clients and they don't all run the same platform. Of course, now I'm in MAMP hell, because it won't run CF files (it keeps commenting out the include of my mod_jk.conf when I start Apache). Scott On Mon, Oct 28, 2013 at 12:41 PM, Dave Watts wrote: > > > That said, I would never deploy a production CF Application to and OSX > server because, as servers go, its not as > > high on the priority list for bug fixes and maintenance - no matter > which CFML server you are using. > > This is my sentiment exactly. And since you should be developing on > the same platform to which you deploy, I can't work up the outrage to > get upset that CF 10 isn't entirely 100% compatible with Mavericks. I > upgraded to Mavericks, but I'm not about to start using it as a > deployment platform. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > http://training.figleaf.com/ > > Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on > GSA Schedule, and provides the highest caliber vendor-authorized > instruction at our training centers, online, or onsite > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356994 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF 10 on Mavericks AND Adobe download links not working
We were getting a fairly generic "Error processing your request" with a number of links to the home page and to contact Adobe. It's still happening (after a restart). Someone else was able to get me the file, so now just to try to get it up and running again. Isn't Adobe in Apple's developer program and, thus, had access to the Mavericks builds so they could have had a fix out by now (rather than the community having to provide a mod_jk.so file)? (MAMP uses an older version of Apache, I believe, which is why that works.) On Mon, Oct 28, 2013 at 9:20 AM, Bruce Sorge wrote: > > I did the mavericks fix for cf this morning and a reinstall and I am > working fine using apache and cf10. I already had the dmg for cf so I never > messed towing it. > > Sent from my iPhone 4S. > > > On Oct 28, 2013, at 10:15 AM, Raymond Camden > wrote: > > > > > > I just tried and it worked for me - the download I mean. What problem did > > you have with the link? > > > > As for Mavericks - I updated yesterday and CF is running fine for me. > Note > > though that I do not use the OSX Apache but rather MAMP. > > > > > >> On Mon, Oct 28, 2013 at 9:10 AM, Scott Brady wrote: > >> > >> > >> I upgraded my Mac to Mavericks over the weekend and I had CF 10 working > >> yesterday, by using the modified mod_jk.so that someone posted on the > net > >> (since there isn't a fix from Adobe yet). > >> > >> This morning, it stopped working after trying a CF restart, so I went > >> through the process again and still couldn't get it working. So, I > figured > >> i'd try re-installing CF10. Unfortunately, it looks like both the > download > >> links on Adobe's site for ColdFusion 10 aren't working (nor is the > "Report > >> a bug" link on their site), but other download links are working. (One > >> other developer can get to the download page, but another one can't -- > we > >> thought maybe it was a VPN issue, but if I disconnect from the VPN, I > still > >> can't get to the download link). > >> > >> Since I can't report the problem and Ray is on this list, I'm hoping he > can > >> at least notify the web site team. > >> > >> Here's the download link I'm trying: > >> http://www.adobe.com/cfusion/tdrc/index.cfm?product=coldfusion > >> > >> > >> -- > >> - > >> Scott Brady > >> http://www.scottbrady.net/ > > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356985 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CF 10 on Mavericks AND Adobe download links not working
I upgraded my Mac to Mavericks over the weekend and I had CF 10 working yesterday, by using the modified mod_jk.so that someone posted on the net (since there isn't a fix from Adobe yet). This morning, it stopped working after trying a CF restart, so I went through the process again and still couldn't get it working. So, I figured i'd try re-installing CF10. Unfortunately, it looks like both the download links on Adobe's site for ColdFusion 10 aren't working (nor is the "Report a bug" link on their site), but other download links are working. (One other developer can get to the download page, but another one can't -- we thought maybe it was a VPN issue, but if I disconnect from the VPN, I still can't get to the download link). Since I can't report the problem and Ray is on this list, I'm hoping he can at least notify the web site team. Here's the download link I'm trying: http://www.adobe.com/cfusion/tdrc/index.cfm?product=coldfusion -- - Scott Brady http://www.scottbrady.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356982 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cffeed and SharePoint
Yes. I'm running it locally right now, so the cfserver is my own machine. On Fri, May 17, 2013 at 1:56 AM, Russ Michaels wrote: > > If you log onto the cfserver, can you actually view the sharepoint site > from there > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355800 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
cffeed and SharePoint
We have an internal system in which we want to display content from an RSS feed to users. The RSS feed is on another internal SharePoint server. However, I'm running into roadblocks trying to access the content, even if CF is running under an AD account (which I know has access to SharePoint, because it's my account). Even if I try using CFHTTP to read the content, I get an "unauthorized" error. There isn't much code to show, since it's really just one line, but here it is: (and I get the same error even if I hard-code arguments.URL to the correct URL) Does CF have the ability to access RSS feeds that are locked behind SharePoint? Does it require some configuration we may not have set up (either in CF or on SharePoint)? This is on ColdFusion 8. Thanks! Scott -- ----- Scott Brady http://www.scottbrady.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355731 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Date Ranges: Drop Down Menus vs Calendar Based
Following up on my own e-mail . . . . if you really don't want to have people type in dates, you could implement a calendar date picker with drop-downs. When a user clicks on a date, you can then populate the dropdowns with the date they chose. No matter which route you choose, you'll want to do some validation (making sure they didn't choose a "to" date that is earlier than the "from" date, etc.). Scott On Wed, Apr 17, 2013 at 7:49 AM, Scott Brady wrote: > How about using a calendar date picker along with text boxes the users can > type into? I think that's how sites like Travelocity do it, and it gives > users who don't want to click from month to month the option of typing it > in. You'll still have to validate, of course, but that's not too difficult. > > Scott > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355457 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Date Ranges: Drop Down Menus vs Calendar Based
How about using a calendar date picker along with text boxes the users can type into? I think that's how sites like Travelocity do it, and it gives users who don't want to click from month to month the option of typing it in. You'll still have to validate, of course, but that's not too difficult. Scott On Apr 16, 2013, at 8:33 PM, Matt Blatchley wrote: > > > I've done lots of demos of the product and that isn't something they > mention, or at least not that I've heard. Usually it has to do more with > can it pull this or that data etc. Never heard anyone say anything about > the drop down menus vs calendar selection. This is more of a UI/UX > preference from someone that isn't a customer. Visually I think the > calendar is prettier, functionally I think it's more of a PITA for > customers. We allow you search preset date ranges as well (last month, > this month, last week, last year, this year etc) Which could be added to > calendar functionally, but it would have to be consistent, meaning > throughout the whole app. And thinking about that makes my head hurt :) > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355456 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF running out of steam
They can certainly consider pricing options, but what would a student price get them that the Developer Edition doesn't get them? Student pricing is typically only usable for non-production/non-commercial uses (i.e., development), so it seems like the free Developer Edition covers that. Scott On Wed, Mar 13, 2013 at 8:56 PM, Jenny Gavin-Wear < jenn...@fasttrackonline.co.uk> wrote: > > Adobe missed the boat years ago to give it away either free or at a student > price. > -- --------- Scott Brady http://www.scottbrady.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355015 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Zero Day Error: Impact on CF?
As others have said it's not an actually issue, I could see some uninformed higher-ups being wary of any Java platforms, such as CF. As long as they have technical underlings who can mitigate their fears, it shouldn't be an issue. Scott On Wed, Jan 16, 2013 at 8:43 AM, Robert Harrison wrote: > > > Question is: Could this be the death of CF? CF has been tenuous for > several years now, and given that the core system on which CF is built > (Java) is now getting bad press, what do you think this means for the > future of CF? > > -- ----- Scott Brady http://www.scottbrady.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353962 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Pinterest
Interesting in that this other report is that their users are declining. http://www.sfgate.com/cgi-bin/article.cgi?f=/g/a/2012/04/20/businessinsiderpinterests-hype-bubb.DTL Of course, they're measuring two different things. The SF Gate one talks about monthly active users using it via Facebook, while the CNET one talks about daily unique users, so the two don't necessarily contradict each other. Scott On Mon, Apr 30, 2012 at 8:25 PM, Brian Thornton wrote: > > If you don't know it's coming, here's your sign... > > > http://news.cnet.com/8301-1023_3-57423858-93/pinterest-sees-user-base-double-in-three-months/?tag=mncol;cnetRiver > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350913 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFScript Book
Right. I was talking about why _I_ generally don't like cfscript. But, honestly, if they don't really know how to do anything in javascript, then I'm not sure what they're doing writing CFML (or any web application development language). Scott On Tue, Feb 21, 2012 at 7:27 PM, Aaron Rouse wrote: > > The people I was referring to I am certain do not know how to write > anything or much of anything in JavaScript. So it is not a matter of > CFScript confusing them into thinking it is JavaScript. > > > -- ----- Scott Brady http://www.scottbrady.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350020 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFScript Book
My main issue with cfscript is that it's easy to confuse at first glance between that and javascript (for cases when you have JS mixed in with CF code, as the legacy app I work on at work has). So, it's not really cfscript's fault as much as a personal bugaboo. Scott On Tue, Feb 21, 2012 at 11:35 AM, Aaron Rouse wrote: > > I have worked with CF developers who "scoff at" any CFScript usage but for > reasons most would not assume. They did it because they flat out did not > understand the syntax and I am not referring to some abundant overuse of > CFScript here. It can sometimes be a balancing act of coding how you want > and/or think you should v. staying employed and making some adjustments so > others stay "happy". > > -- - Scott Brady http://www.scottbrady.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350014 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFScript Book
As of CF9, the vast majority of CF can be written in script, if you desire. Almost every tag has a cfscript equivalent (I believe there were a few that didn't make the cut, but I can't recall which ones off-hand). Of course, some things are a bit more tedious doing them in script (such as outputting content and running queries). Scott On Mon, Feb 20, 2012 at 5:50 PM, Robert Rhodes wrote: > > I do wish Adobe would fill out CF so that one could write mostly in > cfscript and avoid cf tags altogether, if desired. It would also help when > I end up around small-minded coders who scoff at CF merely because of the > tags.On Mon, Feb 20, 2012 at 12:25 PM, Cameron Childress < > > -- ----- Scott Brady http://www.scottbrady.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349987 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Cheap system to play Star Wars?
Well, first you start out buy writing a CF app that will compare various computer systems. Second, you check to see if you're sending your messages to the proper board or not. Was this intended for CF-community? Scott On Thu, Feb 9, 2012 at 8:00 PM, LRS Scout wrote: > > I have a little bit of money (like $600) and need a new desk top to play > star wars. > > Suggestions? > > -- ----- Scott Brady http://www.scottbrady.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349859 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Developer Edition License Exception and Windows 7
This just started happening on Friday, so not sure if it's Windows 7-specific or not (I've been on 7 for a couple of months), but now it's getting annoying (4-5 times today already). I'm running across a problem with the Dev edition saying there's a license restriction exception. No one else has been hitting my machine, but it seems like Windows is hitting CF with 3 different IP addresses. The exception lists the one it's trying to use (an IPv4 address) and the two that it's already tied to (two different IPv6 addresses). One of the v6 and the v4 address are tied to my wireless connection, and the other v6 is tied to my ethernet connection. I suppose I could disconnect the wireless (I've never figured out why it seems like Windows gives wireless precedence over a hard-wired connection), but I was wondering if there was something else I could do. I'm getting really tired of restarting CF (my computer isn't exactly over-powered and the app can be slow to start up, so it kills 10-15 minutes of productivity every time). So, short of disabling the wireless connection, is there something else I could do? Scott -- ----- Scott Brady http://www.scottbrady.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347729 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SOT: Workstation recommendations
I had no issues running CF9 and Lion. In fact, from what I recall, I did the OS upgrade and it still ran just fine when the upgrade was done. Actually, I do get a message in the Launcher that it has to stop CF un-gracefully (some permission issue I haven't bothered fixing), but it starts up and runs just fine. I suspect if I were to re-install CF, that would be take care of, as well. Scott On Wed, Sep 7, 2011 at 10:52 AM, Wil Genovese wrote: > > But, be warned, ColdFusion and OS X Lion are not playmates yet. I still run > Snow Leopard. > > > -- --------- Scott Brady http://www.scottbrady.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347303 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Stupid Question
I haven't really done much testing with it, since I just don't like isDefined() in general (it seems like sloppier code to me), but I seem to recall in the build-up to releasing CF9, the folks at Adobe said that isDefined() and structKeyExists() now have no performance difference. Of course, there are times when isDefined() actually does make more sense. If you have a four-level structure and you want to see if "variables.level1.level2.level3.level4" exists in the bottom level, do you really want to write out " ? Scott On Thu, Jun 30, 2011 at 3:04 PM, Bobby Hartsfield wrote: > > Yes, performance. > > > .:.:.:.:.:.:.:.:.:.:.:.:.:. > Bobby Hartsfield > http://acoderslife.com > http://cf4em.com > > > > -Original Message- > From: Stephane Vantroyen [mailto:s...@emakina.com] > Sent: Thursday, June 30, 2011 2:56 PM > To: cf-talk > Subject: Re: Stupid Question > > > Maybe a stupid question too, but why is it better to use structkeyexists() > than isdefined() ? Both will check if the given variable exists right? I > don't get it, is it bound to performance or so? > > > -- - Scott Brady http://www.scottbrady.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346021 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Need some perspective...
Thanks for the performance perspectives, Ray and Bryan! Scott On Tue, Jun 28, 2011 at 9:33 AM, Bryan Stevenson < br...@electricedgesystems.com> wrote: > > Hey Scott, > > No, sorry I don't know that yet. I seem to recall seeing a > side-by-side comparison of an Objective C app and a converted AIR app > and the AIR app was pretty darn close in behavioura little hiccup > here and there if fast scrolling through a large list for example. > > -- ----- Scott Brady http://www.scottbrady.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345887 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Need some perspective...
Bryan, do you know anything about how "efficient/good" the code is after exporting (either to iOS or Android)? My company is looking at building a social media game that will be on Facebook (i.e., Flash first, with versions for iOS and Android later, and performance is going to be a concern for us. My gut tells me that having Flash convert the code automatically may result in ... less than ideal performance (of course, I can be a bit of a Luddite sometimes regarding any auto-generated code :) ). Thanks! Scott On Mon, Jun 27, 2011 at 10:14 AM, Bryan Stevenson < br...@electricedgesystems.com> wrote: > > AIR apps can be converted to run on iOS. I'm pretty sure that is using > a tool in CS 5. Apple tried to kill that, but eventually allowed for > "converted" code instead of natively written Ojective C. > > They can also be exported to run on Android (which is why we are using > it). > > -- - Scott Brady http://www.scottbrady.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345820 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF vs. Java Web Developer
I worked on a small project at a previous job where we tried pair programming and it had mixed results. We didn't do the "slide the keyboard and mouse back and forth" technique. Instead, we'd do shifts where one person developed on his machine for a while, while the other provided ideas/feedback/error-checking. Then, after a set time-period, we'd switch roles (after taking a break). It was actually physically exhausting for both of us (from what I've seen, a lot of developers need occasional distractions while working to keep their energy levels up) and I'm not certain it was more effective. I think we had fewer reported defects during testing (I can't recall for certain). It was only one test and might have worked better with more practice, but I don't think the company has used it since. Scott On Sat, Jun 25, 2011 at 1:58 AM, James Holmes wrote: > > Anyone who wants to fix the problem of distracted programmers in the > office should try Pair Programming. > > http://www.extremeprogramming.org/rules/pair.html > > -- > WSS4CF - WS-Security framework for CF > http://wss4cf.riaforge.org/ > > > > -- - Scott Brady http://www.scottbrady.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345661 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CGI Variables - CGI.cert_subject won't display
I'm not familiar with that particular CGI variable, but did something change on the IIS side? On Mon, Jun 20, 2011 at 9:04 AM, Bern Weed wrote: > > I'm have an application that has been using CGI variables and working fine. > It stopped working and I'm not sure why of course. I am using IIS 7 and > ColdFusion 9. I can get it to return cgi.auth_user but not the > cgi.cert_subject and it was working for both. Anyone have any ideas or know > of any patches, settings that would affect this. Thanks. > > >#CGI.cert_subject# > > >CGI variable does not exist > > > -- - Scott Brady http://www.scottbrady.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345473 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF vs. Java Web Developer
FWIW, I don't think it's that easy to become a "good" CF developer, either. Yes, it's very easy to learn the language and it's easy to become "competent" at it (i.e., being able to build something that works). But to actually be "good" (best practices, advanced topics, etc.) isn't necessarily simple. In fact, because it's so easy to get up and running, in some ways, that might make it harder to become really good, because you don't need to in order to get things done. Java is definitely much more complex -- especially for people just getting started -- and more powerful. But, I believe that if you're someone who is actually good at CF (i.e., you're actually a developer rather than a coder), you can learn Java. Scott On Mon, Jun 20, 2011 at 3:57 PM, Mike Chabot wrote: > > I was saying the original statement is false since I would never trivialize > the effort needed to become proficient in Java. Becoming a good Java > programmer is not "easy," as the original statement was implying. > -- - Scott Brady http://www.scottbrady.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345472 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: assigning javascript variable to coldfusion.Please assist
OK. It looks like I misread your code earlier -- I thought you were hard-coding the variable, when you were actually getting it from a cfinput. Unfortunately, I haven't used Dreamweaver in years (since MX 2004, I believe), so not sure how you'd do it in there. Others here probably have experience with that. But, I guess I'm not certain what exactly the goal is. If the URL is being provided by user-input in a cfinput, then a cfmodule at the end of that page won't be able to get that (because the cfmodule is processed before the page is displayed to the user). Perhaps you can explain what you're trying to accomplish a bit more, and I (or someone else on here) would be able to help you accomplish that (or provide a better way to do it). Scott On Mon, Jun 13, 2011 at 11:31 AM, Gunjan Upadhayay < 29gunjanupadha...@gmail.com> wrote: > > Thanks for all your help. > But we need to store the url into a coldfusion variable as at the end of > the code,we pass the url to other modules which use this url in other pages. > > Also, i am not that familiar with how to use Ajax in Dreamweaver. > > Any help would be highly appreciated. > > > > -- - Scott Brady http://www.scottbrady.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345250 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: assigning javascript variable to coldfusion.Please assist
ColdFusion doesn't work that way. By the time the browser gets to the point of running any JavaScript, all of the ColdFusion processing for the page has been done. There is some things you could use to accomplish what it looks like what you're trying to do. First, it looks like you don't even need it as a ColdFusion variable, since you're just writing the URL to the page. In that case, since you already have that value in JavaScript, you could just write the value to the page using JavaScript. (Also, note that the code you provide isn't going to work correctly anyway, because you have HTML mixed in between your opening and closing tags). If you actually do need it as a CF variable for some reason, you could use Ajax to set the value (though it would have to be in a persistent scope, such as a session variable). Or, since you just have the value hard-coded in the example, you could just hard-code it again when setting the CF variable (if your intention is to hard-code it). Scott On Sat, Jun 11, 2011 at 8:41 PM, Gunjan Upadhayay < 29gunjanupadha...@gmail.com> wrote: > > I am trying to assign javascript variable into cold fusion .But it's not > working as expected.Please assist > >0 > > > "@"), 1, ".") /> > > > userDomain_ID: #userDomain_ID# >>