Re: Trying to set cfform focus in an Ajax window
You may have to lead me into what exactly you'd like to see, but here is what I have coded and I'll be happy to view source and get you something else ... There are any number of pages that could force a login, and the do it from this sequence: a href=javascript:ColdFusion.Window.show('Login');ColdFusion.navigate('../MemberLogin.cfm','Login'); bMembers Only/b/a The login processor does some server stuff and then shows the form: div id=LoginDiv cfif LoginMsg pPlease identify yourself, then press quot;Submitquot;/p cfelse p class=errormsgIncorrect Access ID or Password. Please try again./p/cfif cfoutput cfform name=LoginForm table id=LoginBox tr height=21 td width=100bAccess ID/b/td td width=100cfinput name=AccessID validate=range range=1000,4999 value=#DefAccessID# size=8 ID=AccessID required=yes message=A valid Access ID is required //td /tr tr height=21 tdbPassword/b/td tdcfinput name=Password type=password value=#DefPassword# size=8 required=Yes message=A password is required //td /tr tr height=21 td colspan=2span class=fineprintRemember me on this computer/span cfset checked=IIf(DefRemember EQ Yes,'checked','') input type=checkbox name=Remember value=Yes #checked#/td /tr /table cfinput name=Submit type=image value=Submit src=../Buttons/MSubmit.png / /cfform /cfoutput/div cfset AjaxOnLoad('LoginInit') /cfif The LoginInit function is: function LoginInit() { document.LoginForm.AccessID.focus(); // document.getElementById(AccessID).focus(); } What else can I show you? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337681 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Trying to set cfform focus in an Ajax window
That's the cf (pre-compiled) code. I want the source of what cf generates and sends to the browser. On Thu, Sep 30, 2010 at 7:59 AM, John Pullam jpul...@mcleansystems.comwrote: You may have to lead me into what exactly you'd like to see, but here is what I have coded and I'll be happy to view source and get you something else ... There are any number of pages that could force a login, and the do it from this sequence: a href=javascript:ColdFusion.Window.show('Login');ColdFusion.navigate('../MemberLogin.cfm','Login'); bMembers Only/b/a The login processor does some server stuff and then shows the form: div id=LoginDiv cfif LoginMsg pPlease identify yourself, then press quot;Submitquot;/p cfelse p class=errormsgIncorrect Access ID or Password. Please try again./p/cfif cfoutput cfform name=LoginForm table id=LoginBox tr height=21 td width=100bAccess ID/b/td td width=100cfinput name=AccessID validate=range range=1000,4999 value=#DefAccessID# size=8 ID=AccessID required=yes message=A valid Access ID is required //td /tr tr height=21 tdbPassword/b/td tdcfinput name=Password type=password value=#DefPassword# size=8 required=Yes message=A password is required //td /tr tr height=21 td colspan=2span class=fineprintRemember me on this computer/span cfset checked=IIf(DefRemember EQ Yes,'checked','') input type=checkbox name=Remember value=Yes #checked#/td /tr /table cfinput name=Submit type=image value=Submit src=../Buttons/MSubmit.png / /cfform /cfoutput/div cfset AjaxOnLoad('LoginInit') /cfif The LoginInit function is: function LoginInit() { document.LoginForm.AccessID.focus(); // document.getElementById(AccessID).focus(); } What else can I show you? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337682 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Trying to set cfform focus in an Ajax window
Here is the view source from when the window has opened ... !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd; html headscript type=text/javascript/* ![CDATA[ */_cf_loadingtexthtml=img alt=' ' src='/CFIDE/scripts/ajax/resources/cf/images/loading.gif'/; _cf_contextpath=; _cf_ajaxscriptsrc=/CFIDE/scripts/ajax; _cf_jsonprefix='//'; _cf_clientid='843C53D8689D544653CE2DD24EE6081A';/* ]] *//scriptscript type=text/javascript src=/CFIDE/scripts/ajax/yui/yahoo-dom-event/yahoo-dom-event.js/script script type=text/javascript src=/CFIDE/scripts/ajax/messages/cfmessage.js/script script type=text/javascript src=/CFIDE/scripts/ajax/package/cfajax.js/script script type=text/javascript src=/CFIDE/scripts/ajax/yui/animation/animation-min.js/script script type=text/javascript src=/CFIDE/scripts/ajax/ext/adapter/yui/ext-yui-adapter.js/script script type=text/javascript src=/CFIDE/scripts/ajax/ext/ext-all.js/script script type=text/javascript src=/CFIDE/scripts/ajax/package/cfwindow.js/script script type=text/javascript src=/CFIDE/scripts/cfform.js/script script type=text/javascript src=/CFIDE/scripts/masks.js/script script type=text/javascript src=/CFIDE/scripts/cfformhistory.js/script link rel=stylesheet type=text/css href=/CFIDE/scripts/ajax/resources/ext/css/ext-all.css / link rel=stylesheet type=text/css href=/CFIDE/scripts/ajax/resources/cf/cf.css / meta http-equiv=Content-Type content=text/html; charset=utf-8 titleWhitevale Golf Club/title link rel=stylesheet media=all type=text/css href=../WGCStyle10.css / script language=JavaScript src=../WGCCF.js/script script type=text/javascript function ChangeWidth() { var winW = 630; if (parseInt(navigator.appVersion)3) { if (navigator.appName==Netscape || navigator.appName==Opera) { winW = window.innerWidth; } if (navigator.appName.indexOf(Microsoft)!=-1) { winW = document.body.offsetWidth; } } document.images[image0].width = winW; } /script script type=text/javascript/* ![CDATA[ */ ColdFusion.Ajax.importTag('CFWINDOW'); /* ]] *//script script type=text/javascript/* ![CDATA[ */ ColdFusion.Ajax.importTag('CFAJAXPROXY'); /* ]] *//script script type=text/javascript/* ![CDATA[ */ ColdFusion.Ajax.importTag('CFFORM'); /* ]] *//script script type=text/javascript/* ![CDATA[ */ var _cf_window_init_1285851829390=function() { var _cf_window=ColdFusion.Window.create('Login','Please login','',{ modal:true, closable:true, divid:'cf_window1285851829389', draggable:true, resizable:false, fixedcenter:false, width:380, height:200, shadow:true, bodystyle:'font-size:12px; font-family: verdana; background-color: #dcefd2; color: black; text-align: left;', headerstyle:'font-size:13px; font-weight:bold; font-family:Verdana; background-color: #2e5327; color: white; text-align:left;', callfromtag:true, initshow:false, destroyonclose:false, x:80, y:80}); };ColdFusion.Event.registerOnLoad(_cf_window_init_1285851829390); /* ]] *//script /head body OnLoad=ChangeWidth() id=SplashBody img id=image0 src=SplashHole4.jpg div id=SplashLogoa href=PublicHome.cfmimg SRC=SplashLogo.png border=0/a/div div id=SplashButtons a href=PublicHome.cfmimg SRC=../Buttons/LGuests.png hspace=25 border=0/a a href=javascript:ColdFusion.Window.show('Login');ColdFusion.navigate('../MemberLogin.cfm','Login'); img SRC=../Buttons/LMembers.png hspace=25 border=0/a/div div id=cf_window1285851829389 class=x-hidden div id=Login_title class=x-window-header style=font-size:13px; font-weight:bold; font-family:Verdana; background-color: #2e5327; color: white; text-align:left; Please login /div div id=Login_body class=x-window-body style=font-size:12px; font-family: verdana; background-color: #dcefd2; color: black; text-align: left; /div /div /body /html If you'd like to see something else, how do I get it? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337683 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Trying to set cfform focus in an Ajax window
John, I'm looking for the compiled source of this page: ../MemberLogin.cfm On Thu, Sep 30, 2010 at 8:59 AM, John Pullam jpul...@mcleansystems.comwrote: Here is the view source from when the window has opened ... !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd; html headscript type=text/javascript/* ![CDATA[ */_cf_loadingtexthtml=img alt=' ' src='/CFIDE/scripts/ajax/resources/cf/images/loading.gif'/; _cf_contextpath=; _cf_ajaxscriptsrc=/CFIDE/scripts/ajax; _cf_jsonprefix='//'; _cf_clientid='843C53D8689D544653CE2DD24EE6081A';/* ]] *//scriptscript type=text/javascript src=/CFIDE/scripts/ajax/yui/yahoo-dom-event/yahoo-dom-event.js/script script type=text/javascript src=/CFIDE/scripts/ajax/messages/cfmessage.js/script script type=text/javascript src=/CFIDE/scripts/ajax/package/cfajax.js/script script type=text/javascript src=/CFIDE/scripts/ajax/yui/animation/animation-min.js/script script type=text/javascript src=/CFIDE/scripts/ajax/ext/adapter/yui/ext-yui-adapter.js/script script type=text/javascript src=/CFIDE/scripts/ajax/ext/ext-all.js/script script type=text/javascript src=/CFIDE/scripts/ajax/package/cfwindow.js/script script type=text/javascript src=/CFIDE/scripts/cfform.js/script script type=text/javascript src=/CFIDE/scripts/masks.js/script script type=text/javascript src=/CFIDE/scripts/cfformhistory.js/script link rel=stylesheet type=text/css href=/CFIDE/scripts/ajax/resources/ext/css/ext-all.css / link rel=stylesheet type=text/css href=/CFIDE/scripts/ajax/resources/cf/cf.css / meta http-equiv=Content-Type content=text/html; charset=utf-8 titleWhitevale Golf Club/title link rel=stylesheet media=all type=text/css href=../WGCStyle10.css / script language=JavaScript src=../WGCCF.js/script script type=text/javascript function ChangeWidth() { var winW = 630; if (parseInt(navigator.appVersion)3) { if (navigator.appName==Netscape || navigator.appName==Opera) { winW = window.innerWidth; } if (navigator.appName.indexOf(Microsoft)!=-1) { winW = document.body.offsetWidth; } } document.images[image0].width = winW; } /script script type=text/javascript/* ![CDATA[ */ ColdFusion.Ajax.importTag('CFWINDOW'); /* ]] *//script script type=text/javascript/* ![CDATA[ */ ColdFusion.Ajax.importTag('CFAJAXPROXY'); /* ]] *//script script type=text/javascript/* ![CDATA[ */ ColdFusion.Ajax.importTag('CFFORM'); /* ]] *//script script type=text/javascript/* ![CDATA[ */ var _cf_window_init_1285851829390=function() { var _cf_window=ColdFusion.Window.create('Login','Please login','',{ modal:true, closable:true, divid:'cf_window1285851829389', draggable:true, resizable:false, fixedcenter:false, width:380, height:200, shadow:true, bodystyle:'font-size:12px; font-family: verdana; background-color: #dcefd2; color: black; text-align: left;', headerstyle:'font-size:13px; font-weight:bold; font-family:Verdana; background-color: #2e5327; color: white; text-align:left;', callfromtag:true, initshow:false, destroyonclose:false, x:80, y:80}); };ColdFusion.Event.registerOnLoad(_cf_window_init_1285851829390); /* ]] *//script /head body OnLoad=ChangeWidth() id=SplashBody img id=image0 src=SplashHole4.jpg div id=SplashLogoa href=PublicHome.cfmimg SRC=SplashLogo.png border=0/a/div div id=SplashButtons a href=PublicHome.cfmimg SRC=../Buttons/LGuests.png hspace=25 border=0/a a href=javascript:ColdFusion.Window.show('Login');ColdFusion.navigate('../MemberLogin.cfm','Login'); img SRC=../Buttons/LMembers.png hspace=25 border=0/a/div div id=cf_window1285851829389 class=x-hidden div id=Login_title class=x-window-header style=font-size:13px; font-weight:bold; font-family:Verdana; background-color: #2e5327; color: white; text-align:left; Please login /div div id=Login_body class=x-window-body style=font-size:12px; font-family: verdana; background-color: #dcefd2; color: black; text-align: left; /div /div /body /html If you'd like to see something else, how do I get it? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337684 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Drivers for Access databases under CF 9
Furthermore, I've noticed that if I define a new datasource in CF9, I still have the same error, but the same datasource gets also defined in CF5 in the same operation, and it works fine under CF5! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337685 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Drivers for Access databases under CF 9
Furthermore, I've noticed that if I define a new datasource in CF9, I still have the same error, but the same datasource gets also defined in CF5 in the same operation, and it works fine under CF5! Do you have CF9 and CF5 installed on the same box? If so, all bets are off. 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-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337686 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Drivers for Access databases under CF 9
Do you have CF9 and CF5 installed on the same box? Sure, otherwise I could not say that defining a datasource in CF 9 autimatically defines it in CF 5. Since CF 6, I've always used both version on my development desktop with no problem, they are completely independant products. I didn't upgrade to MX on my production server until recently because there was too many problems with MX, in particular with CFHTTP. But I always developped my application under CF 6, 7, 8, 9 and made sure it was still compatible with CF 5. As I can see there are still problems with the JDBC drivers. CFMX adds many interesting new features, but the JAVA platform makes everything far more complicated and buggy :-( So apparently. CF 9 does define the ODBC connection correctly, CF 5 recognizes it, but the JDBC driver does not see it. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337687 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Looking for the right SMTP server
Smartertools used to be great, but the bigger they got the more arrogant they got and the higher their prices got and the worse the customer service got, you wouldn't believe how rude they are. Since we're talking about full-on mail servers now, I'll toss out ModusMail by Vircom. They've been around for a long time and support is still great, spam filtering is second-to-none, and it's easy to manage and troubleshoot even though it is very flexible with tons of options. It is, however, somewhat expensive compared with other Windows-based mail servers. In my opinion it's worth every penny though. -Justin ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337688 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Replicating hints in cfc's
I have a few Interfaces that have a number of cfc's that implement them. I want to make sure that whoever is reading the cfc's understand what the methods are designed to do. I'm a bit confused about when to duplicate hints or if there is a way to speed this all up. My steps are as follows: 1.) Copy all methods in the interface 2.) Paste to new cfc 3.) Write override methods 4.) Within the methods, explain the purpose beyond the interface hints So this leads to the question, should the hint be step 4 or should I be replicating the interface hints? I'm not expecting much of an answer because this is probably not that important but I can imagine the person who has to support my code might be a little confused. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337689 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Drivers for Access databases under CF 9
As you have multiple versions of CF installed you are going to have multiple versions of the ODBC service as well, each one will be running on a different port. Make sure you do not have a conflict here and that you dont have the wrong ODBC service running. I had this problem with a CF98 upgrade that it put the ODBC service on the wrong port and CF was still using the CF8 ODBC service. Russ -Original Message- From: Claude Schnéegans schneeg...@internetique.com [mailto:=?ISO-8859-1?Q?Claude_Schn=E9egans schneeg...@interneti=71?= =?ISO-8859-1?Q?ue.com=3E?=] Sent: 30 September 2010 16:05 To: cf-talk Subject: Re: Drivers for Access databases under CF 9 Do you have CF9 and CF5 installed on the same box? Sure, otherwise I could not say that defining a datasource in CF 9 autimatically defines it in CF 5. Since CF 6, I've always used both version on my development desktop with no problem, they are completely independant products. I didn't upgrade to MX on my production server until recently because there was too many problems with MX, in particular with CFHTTP. But I always developped my application under CF 6, 7, 8, 9 and made sure it was still compatible with CF 5. As I can see there are still problems with the JDBC drivers. CFMX adds many interesting new features, but the JAVA platform makes everything far more complicated and buggy :-( So apparently. CF 9 does define the ODBC connection correctly, CF 5 recognizes it, but the JDBC driver does not see it. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337690 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Drivers for Access databases under CF 9
As we explained previously, when you create a DSN, it creates an ODBC datasource, then a JDBC bridge so that CF9 can use it. CF5 uses ODBC data sources directly so will of course be able to see any that exist on the system. So this proves the ODBC side of things is working. However I am confused as you said previously that the DSN's do not exist on the system, yet clearly they must do if they show up and work in CF5. Russ -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: 30 September 2010 15:46 To: cf-talk Subject: Re: Drivers for Access databases under CF 9 Furthermore, I've noticed that if I define a new datasource in CF9, I still have the same error, but the same datasource gets also defined in CF5 in the same operation, and it works fine under CF5! Do you have CF9 and CF5 installed on the same box? If so, all bets are off. 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-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337691 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Looking for the right SMTP server
Damn I miss IMS! Howie where the heck are you? Where did www.coolfusion.com disappear to?? Brook -Original Message- From: Justin Scott [mailto:jscott-li...@gravityfree.com] Sent: September-30-10 8:06 AM To: cf-talk Subject: RE: Looking for the right SMTP server Smartertools used to be great, but the bigger they got the more arrogant they got and the higher their prices got and the worse the customer service got, you wouldn't believe how rude they are. Since we're talking about full-on mail servers now, I'll toss out ModusMail by Vircom. They've been around for a long time and support is still great, spam filtering is second-to-none, and it's easy to manage and troubleshoot even though it is very flexible with tons of options. It is, however, somewhat expensive compared with other Windows-based mail servers. In my opinion it's worth every penny though. -Justin ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337692 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Drivers for Access databases under CF 9
CF5 uses ODBC data sources directly so will of course be able to see any that exist on the system. CF5 will be able to SEE it so you can create a DSN under CF5, but here, creating the DSN under CF9 also creates it in CF5. Kind of weird. But I created and deleted these DSN so often, that nothing surprises me anymore. In fact CF5 need two things in order to have a DSN defined: - data in HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI (this is for the ODBC connection) - data in HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\ColdFusion\CurrentVersion\DataSources (this is the definition of the CF5 DSN) An ODBC database does not make automatically a DSN in CF 5 (or 9) When I delete a DSN in CF 9, also defined in CF 5, it will delete the first, the ODBC part, but not the second. The DSN still disappears from CF5 since there is no ODBC connection any more. But if I create again, the DSN, the CF5 key is still in the system, and the DSN will reappear in CF as well. When I create a brand new DSN under CF 9, It will create the ODBC data in registry, but not the data for allaire-CF5, so the DSN should not be created in CF 5. This explains the apparent correlation between CF 5 and CF 9, but not why the JDBC bridge does not work in CF 9. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337693 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Drivers for Access databases under CF 9
I think you are still not understanding. CF5 is not JAVA, it doesn't use JDBC, it uses ODBC. CF9 doesn't create the DSN in CF5,it creates an ODBC DSN in windows, and this is what CF5 is picking up. If you create an ODBC DSN in the windows control panel, then it will also show up in the CF5 admin. I know 100% that this is true as this is how we allow customers to create DSN's for CF through our hosting control panel. Russ On Thu, Sep 30, 2010 at 5:20 PM, wrote: CF5 uses ODBC data sources directly so will of course be able to see any that exist on the system. CF5 will be able to SEE it so you can create a DSN under CF5, but here, creating the DSN under CF9 also creates it in CF5. Kind of weird. But I created and deleted these DSN so often, that nothing surprises me anymore. In fact CF5 need two things in order to have a DSN defined: - data in HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI (this is for the ODBC connection) - data in HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\ColdFusion\CurrentVersion\DataSources (this is the definition of the CF5 DSN) An ODBC database does not make automatically a DSN in CF 5 (or 9) When I delete a DSN in CF 9, also defined in CF 5, it will delete the first, the ODBC part, but not the second. The DSN still disappears from CF5 since there is no ODBC connection any more. But if I create again, the DSN, the CF5 key is still in the system, and the DSN will reappear in CF as well. When I create a brand new DSN under CF 9, It will create the ODBC data in registry, but not the data for allaire-CF5, so the DSN should not be created in CF 5. This explains the apparent correlation between CF 5 and CF 9, but not why the JDBC bridge does not work in CF 9. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337694 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Drivers for Access databases under CF 9
As you have multiple versions of CF installed you are going to have multiple versions of the ODBC service as well, Really? I can see the ColdFusion 9 ODBC Server and the ColdFusion 9 ODBC Agent in the services but to my knowledge, CF 5 does not use any ODBC service. each one will be running on a different port. Where can you see the port they use? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337695 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Drivers for Access databases under CF 9
CF5 is not JAVA, it doesn't use JDBC, it uses ODBC. Of course, I know. If you create an ODBC DSN in the windows control panel, then it will also show up in the CF5 admin. You're right, I thought you still had to define it in CF 5, but apparently it is automatic. Anyway, this does not tell me why the JDBC bridge is not working under CF 9 :-( ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337696 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Drivers for Access databases under CF 9
no CF5 doesn't, but you stated previously u have CF 5/6/7/8/9 installed. If this is not true then nevermind, but it is getting very hard to follow this as your setup seems to change from 1 post to the next. On Thu, Sep 30, 2010 at 5:39 PM, wrote: As you have multiple versions of CF installed you are going to have multiple versions of the ODBC service as well, Really? I can see the ColdFusion 9 ODBC Server and the ColdFusion 9 ODBC Agent in the services but to my knowledge, CF 5 does not use any ODBC service. each one will be running on a different port. Where can you see the port they use? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337697 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Drivers for Access databases under CF 9
try this and see if the info here helps with regards to checking the ports. http://russ.michaels.me.uk/index.cfm/2010/9/22/MSACCESS-DSNs-no-longer-work-after-CF-901-Upgrade also note the previous post it links to. On Thu, Sep 30, 2010 at 5:59 PM, Russ Michaels r...@michaels.me.uk wrote: no CF5 doesn't, but you stated previously u have CF 5/6/7/8/9 installed. If this is not true then nevermind, but it is getting very hard to follow this as your setup seems to change from 1 post to the next. On Thu, Sep 30, 2010 at 5:39 PM, wrote: As you have multiple versions of CF installed you are going to have multiple versions of the ODBC service as well, Really? I can see the ColdFusion 9 ODBC Server and the ColdFusion 9 ODBC Agent in the services but to my knowledge, CF 5 does not use any ODBC service. each one will be running on a different port. Where can you see the port they use? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337698 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Canadian CF Hosting
Canada Web Hosting is good. http://www.canadianwebhosting.com/canadian-windows-hosting.asp Thanks Ketan Jetty ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337699 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Drivers for Access databases under CF 9
Anyway, this does not tell me why the JDBC bridge is not working under CF 9 :-( My guess is that you'd previously installed another version of CF (6, 7, 8) and that there's a conflict between whatever that left on your system and the newest version of SequeLink. You can always try reinstalling SequeLink, I think. I'd try to remove anything in the registry related to previous SequeLink installs, then try again. I don't know offhand how to do this, but there's all sorts of stuff in the slserver54 directory to play with. If this sounds like too much trouble (and frankly it would be for me) you could just save CF's settings, then uninstall CF 9 entirely, remove any junk from previous CF 6, 7, 8 installs, then reinstall. 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-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337700 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for the right SMTP server
Damn I miss IMS! Question is: does it store its logs in a database? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337701 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Looking for the right SMTP server
I just got an email from MarshallSoft on their new api program. http://www.marshallsoft.com/mcm.htm Client Mailer Features â¢Uses macro substitution to personalize outgoing letters. â¢Can send text or HTML letters. â¢Supports multiple attachments. â¢Can handle arbitrarily large lists of recipients. â¢Detects duplicate email addresses. â¢Supports multiple lists of recipients that should always be skipped. â¢Supports ASCII, and ISO_8859 character sets. â¢Supports WIN_1252, WIN_1255, and UTF8 character sets. â¢Can use up to 24 connections simultaneously for fast email delivery. â¢Can process undeliverable mail replies. â¢Can process multiple user replies (REMOVE, CONFIRM, etc) â¢Has extensive error detection and logging capability ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337702 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Drivers for Access databases under CF 9
My guess is that you'd previously installed another version of CF (6, 7, 8) Actually no previous version. But I had to install CF 9 twice, in two different configurations. The first time the installer wont take my registration key. So I have bothe ColdFusion9 and Jrun4 directories. The last installation I did created ColdFusion9, and all my datasources are defined in C:\ColdFusion9\lib\neo-datasource.xml IIS is also set to send execution to C:\ColdFusion9\runtime\lib\wsconfig\jrun_iis6.dll On my development desktop, developer version, I only have Jrun4 I can see that my databases are defined in both C:\ColdFusion9\lib and C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib However, the first was last modified today, the second the 25th sept only, five days ago when I started to have problems. Weird. Is CF 9 installed under ColdFusion9 supposed to use also C:\JRun4 ? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337703 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ORACLE DATE INSERT ERROR.. Help.
I have a date/time that I made using SYSDATE and inserted into an oracle table. It looks like 2010-09-30 13:34:17.0. I have queried for that date to insert into another table, but when I go to insert it, I receive a missing comma error. I assume that it has to do with the date because when I remove the date or put in SYSDATE, it works fine. What do I have to do to this date to make it reinsert-able? I'd prefer to not parse it and then remake it with createDateTime because it seems it a fine date as-is. thanks for the help. daniel ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337704 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Drivers for Access databases under CF 9
Is CF 9 installed under ColdFusion9 supposed to use also C:\JRun4 ? No. 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-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337705 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Drivers for Access databases under CF 9
C:\jrun4 is a multi-server install. I think I'd go with Dave's suggestion, uninstall, delete all files and folders and start from scratch. Russ -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: 30 September 2010 18:44 To: cf-talk Subject: Re: Drivers for Access databases under CF 9 Is CF 9 installed under ColdFusion9 supposed to use also C:\JRun4 ? No. 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-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337706 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Drivers for Access databases under CF 9
u have CF 5/6/7/8/9 installed. On my development desktop yes, but not on my production server on which I'm having the problems. as your setup seems to change from 1 post to the next. No, nothing was changed either on my desktop, nor on my server. I installed CF9 on my server August 25, and did not change anything ever since, except for trying to define new datasources. When I installed it, I was able to redefine all DSNs which were already there for CF 5, no problem. But now the problem is for new DSN. Even if I define it first in CF 5 and then in CF 9, I still get the same error. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337707 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Drivers for Access databases under CF 9
try the re-install, if that doesn't work, I can login and take a look for you if you want. Russ On Thu, Sep 30, 2010 at 6:52 PM, wrote: u have CF 5/6/7/8/9 installed. On my development desktop yes, but not on my production server on which I'm having the problems. as your setup seems to change from 1 post to the next. No, nothing was changed either on my desktop, nor on my server. I installed CF9 on my server August 25, and did not change anything ever since, except for trying to define new datasources. When I installed it, I was able to redefine all DSNs which were already there for CF 5, no problem. But now the problem is for new DSN. Even if I define it first in CF 5 and then in CF 9, I still get the same error. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337708 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Drivers for Access databases under CF 9
just to throw this out there, have you compared the Windows permissions on this DB vs. the ones that work? On Thu, Sep 30, 2010 at 1:52 PM, wrote: u have CF 5/6/7/8/9 installed. On my development desktop yes, but not on my production server on which I'm having the problems. as your setup seems to change from 1 post to the next. No, nothing was changed either on my desktop, nor on my server. I installed CF9 on my server August 25, and did not change anything ever since, except for trying to define new datasources. When I installed it, I was able to redefine all DSNs which were already there for CF 5, no problem. But now the problem is for new DSN. Even if I define it first in CF 5 and then in CF 9, I still get the same error. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337709 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ORACLE DATE INSERT ERROR.. Help.
Daniel, Try this: to_date(field, mm/dd/ HH24:MI:SS) to do the insert. This will cause Oracle to interpret the date correctly. -Drew Nathanson I have a date/time that I made using SYSDATE and inserted into an oracle table. It looks like 2010-09-30 13:34:17.0. I have queried for that date to insert into another table, but when I go to insert it, I receive a missing comma error. I assume that it has to do with the date because when I remove the date or put in SYSDATE, it works fine. What do I have to do to this date to make it reinsert-able? I'd prefer to not parse it and then remake it with createDateTime because it seems it a fine date as-is. thanks for the help. daniel ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337710 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ORACLE DATE INSERT ERROR.. Help.
I receive the same error with that, missing comma. However, I have just had an epiphany and this worked: #createODBCDateTime(registered.date_added)# I didn't realize it needed to be an ODBC Date, nor do I really know what an ODBC date is. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337711 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Drivers for Access databases under CF 9
Is CF 9 installed under ColdFusion9 supposed to use also C:\JRun4 ? No. OK, so we have the begining of an answer here. I noticed that I'm having CF 9 ODBC agent and ODBC server running from C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\db\slserver54\bin\ They should use those under C:\ColdFusion9\ like for the application server, no ? It looks like the ODBC services from my prior J2EE installation have been maintained. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337712 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Drivers for Access databases under CF 9
C:\jrun4 is a multi-server install. Yeah, I tried this one first (last July), but it wont accept my serial number, so I re-installed the other version last August I think I'd go with Dave's suggestion, uninstall, delete all files and folders and start from scratch. Yurk... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337713 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CF9... Extending CFMap
I am new to CFMAP and I have a situation where my query can return far too many markers. cfmap centeraddress=St. Louis, MO name=myMap cfloop query=myQuery cfmapitem name=#ID# latitude=#Y# longitude=#X# /cfloop /cfmap I very much would like to make use of the supported MarkerCluster utility. However, when you look at the sample code, it's not clear to me how I could incorporate it, since the cfmap uses the cfmapitem tag to populate the map. My page has allows the user to create a query and then refreshes the page, running that query (myQuery) and it populates both a cfgrid and the cfmap. help! http://gmaps-utility-library.googlecode.com/svn/trunk/markerclusterer/1.0/docs/reference.html A Simple MarkerClusterer Example: This example will show 100 markers on map. if(GBrowserIsCompatible()) { map = new GMap2($('map')); map.setCenter(new GLatLng(39.91, 116.38), 2); map.addControl(new GLargeMapControl()); var markers = []; for (var i = 0; i 100; ++i) { var latlng = new GLatLng(data.photos[i].latitude, data.photos[i].longitude); var marker = new GMarker(latlng); markers.push(marker); } var markerCluster = new MarkerClusterer(map, markers); } . ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337714 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Trying to set cfform focus in an Ajax window
Well I certainly understand that CF has to compile it before it runs it, but I have never concerned myself with that step. How would I see the compiled source? (Sorry to be so simple but it has never been an issue for me before.) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337715 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF9... Extending CFMap
If you want to do anything with a map generated by CFMap, you will need to use the JS API CF provides you to get access to the core Map object: ColdFusion.Map.getMapObject On Thu, Sep 30, 2010 at 1:50 PM, Matt S matt_stut...@hotmail.com wrote: I am new to CFMAP and I have a situation where my query can return far too many markers. cfmap centeraddress=St. Louis, MO name=myMap cfloop query=myQuery cfmapitem name=#ID# latitude=#Y# longitude=#X# /cfloop /cfmap I very much would like to make use of the supported MarkerCluster utility. However, when you look at the sample code, it's not clear to me how I could incorporate it, since the cfmap uses the cfmapitem tag to populate the map. My page has allows the user to create a query and then refreshes the page, running that query (myQuery) and it populates both a cfgrid and the cfmap. help! http://gmaps-utility-library.googlecode.com/svn/trunk/markerclusterer/1.0/docs/reference.html A Simple MarkerClusterer Example: This example will show 100 markers on map. if(GBrowserIsCompatible()) { map = new GMap2($('map')); map.setCenter(new GLatLng(39.91, 116.38), 2); map.addControl(new GLargeMapControl()); var markers = []; for (var i = 0; i 100; ++i) { var latlng = new GLatLng(data.photos[i].latitude, data.photos[i].longitude); var marker = new GMarker(latlng); markers.push(marker); } var markerCluster = new MarkerClusterer(map, markers); } . ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337716 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Trying to set cfform focus in an Ajax window
Ok, maybe I'm not explaining myself correctly. You know when you right click in your browser and then go view source to get the compiled source after cf has processed it? Well I want that source, but of your ajax result. So when you call the MemberLogin.cfm page I want the source code that's returned. How you get it is up to you. Dump out the result, send it to you in an email, add it to a textarea, call the page directly or a dozen other ways. On Thu, Sep 30, 2010 at 4:46 PM, John Pullam jpul...@mcleansystems.comwrote: Well I certainly understand that CF has to compile it before it runs it, but I have never concerned myself with that step. How would I see the compiled source? (Sorry to be so simple but it has never been an issue for me before.) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337717 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Trying to set cfform focus in an Ajax window
Michael, injected code via Ajax will not appear in a view source. The best way to get this would be to use FireFox and firebug, and use the ajax call to see the response coming back from the server. Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Michael Grant [mailto:mgr...@modus.bz] Sent: Friday, 1 October 2010 9:15 AM To: cf-talk Subject: Re: Trying to set cfform focus in an Ajax window Ok, maybe I'm not explaining myself correctly. You know when you right click in your browser and then go view source to get the compiled source after cf has processed it? Well I want that source, but of your ajax result. So when you call the MemberLogin.cfm page I want the source code that's returned. How you get it is up to you. Dump out the result, send it to you in an email, add it to a textarea, call the page directly or a dozen other ways. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337718 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Trying to set cfform focus in an Ajax window
Sigh. Yes, of course you can't. Which is why I said what I did. I gave an example of what compiled source was with the example of how you view a source. Then I went on to explain that I want the compiled source of the login page and told him a handful of ways to dump the source out so he can get it. I really thought that was pretty clear in my post. On Thu, Sep 30, 2010 at 7:31 PM, Andrew Scott andr...@andyscott.id.auwrote: Michael, injected code via Ajax will not appear in a view source. The best way to get this would be to use FireFox and firebug, and use the ajax call to see the response coming back from the server. Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Michael Grant [mailto:mgr...@modus.bz] Sent: Friday, 1 October 2010 9:15 AM To: cf-talk Subject: Re: Trying to set cfform focus in an Ajax window Ok, maybe I'm not explaining myself correctly. You know when you right click in your browser and then go view source to get the compiled source after cf has processed it? Well I want that source, but of your ajax result. So when you call the MemberLogin.cfm page I want the source code that's returned. How you get it is up to you. Dump out the result, send it to you in an email, add it to a textarea, call the page directly or a dozen other ways. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337719 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Trying to set cfform focus in an Ajax window
Sorry but I certainly didn't understand what was involved to do that (hope my posts made that clear, but maybe not) and I don't have sufficient firebug skills to do what is suggested. Thanx for trying, but let's leave this problem as it lies. I'm obviously over my head and getting a cursor in a field just isn't worth the hassle. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337720 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Trying to set cfform focus in an Ajax window
John, if you have firebug installed the easiest thing to do is make sure the console is open. You might need to enable it for your website, and when you do your ajax call you should see the request go through either in the console or net tabs. When you do you can click on the link and it will open up the information, from here you can click on the response tab and copy the text out. It actually isn't that hard once you understand what it is doing here. Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: John Pullam [mailto:jpul...@mcleansystems.com] Sent: Friday, 1 October 2010 10:00 AM To: cf-talk Subject: Re: Trying to set cfform focus in an Ajax window Sorry but I certainly didn't understand what was involved to do that (hope my posts made that clear, but maybe not) and I don't have sufficient firebug skills to do what is suggested. Thanx for trying, but let's leave this problem as it lies. I'm obviously over my head and getting a cursor in a field just isn't worth the hassle. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337721 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Trying to set cfform focus in an Ajax window
Sorry Michael I should have kept reading your post. Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Michael Grant [mailto:mgr...@modus.bz] Sent: Friday, 1 October 2010 9:45 AM To: cf-talk Subject: Re: Trying to set cfform focus in an Ajax window Sigh. Yes, of course you can't. Which is why I said what I did. I gave an example of what compiled source was with the example of how you view a source. Then I went on to explain that I want the compiled source of the login page and told him a handful of ways to dump the source out so he can get it. I really thought that was pretty clear in my post. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337722 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Trying to set cfform focus in an Ajax window
No worries. On Thu, Sep 30, 2010 at 8:15 PM, Andrew Scott andr...@andyscott.id.auwrote: Sorry Michael I should have kept reading your post. Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Michael Grant [mailto:mgr...@modus.bz] Sent: Friday, 1 October 2010 9:45 AM To: cf-talk Subject: Re: Trying to set cfform focus in an Ajax window Sigh. Yes, of course you can't. Which is why I said what I did. I gave an example of what compiled source was with the example of how you view a source. Then I went on to explain that I want the compiled source of the login page and told him a handful of ways to dump the source out so he can get it. I really thought that was pretty clear in my post. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337723 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: looping syntax inside a function?
cfset LegalProteinSequence_#loopcount# = ... I don't recall if an answer to this was ever posted, but you would want to look at the setvariable() function in the CF docs for setting variables with dynamic names. -Justin ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337724 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Highlighting non-standard ASCII characters?
Something like this? rereplace(str, '([^A-Za-z0-9_\r\s\n!\.\?''\(\),;:])', 'span class=highlight\1/span', 'all') If you dont mind characters like ñ, then just use \w instead of A-Za-z0-9_ rereplace(str, '([^\w\r\s\n!\.\?''\(\),;:])', 'span class=highlight\1/span', 'all') .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Marie Taylore [mailto:mt4yl...@yahoo.com] Sent: Wednesday, September 29, 2010 8:06 PM To: cf-talk Subject: Highlighting non-standard ASCII characters? Hi all, I'm looking for a way to *highlight* any characters that fall out of the range of A-z/0-9/standard punctuation characters. Most of the cflib utilities are made to remove those characters. Anyone know of (or have) a function that will make them stand out? I need to find them in an Oracle database field and highlight any characters that may not belong, so-to-speak. Any help is appreciated. Thanks! MarieT ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337725 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: What version-/source control are you using (if any)?
Don't forget Jobs (to group changelists) and one hell of a history view. Perforce was worth every penny in my opinion. But.. I understand not everyone is willing to pay for version control (even though it is an extremely important part of software development) That is hwy SVN exists. Just remember that you get what you pay for :-) .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Cameron Childress [mailto:camer...@gmail.com] Sent: Wednesday, September 29, 2010 2:27 PM To: cf-talk Subject: Re: What version-/source control are you using (if any)? On Wed, Sep 29, 2010 at 7:49 AM, Bobby Hartsfield bo...@acoderslife.com wrote: I was always a fan of SVN... until I used perforce. Now I am a bigger fan of perforce :-) Perforce! Changelists! Workspaces! Labels! Very cool stuff that I haven't seen in alot of other tools. Perforce ain't free though... -Cameron ... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337726 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfoutput or cfloop? which is the more practical solution
Did you get this working? If not, could you post the structure of your data table and I'll see if I can send you the SQL to generate it. On Fri, Sep 24, 2010 at 4:23 PM, GLM g...@glmdesigns.com wrote: I have a database with presidents, governors, etc. and need to be able to pull out information such as: Get the number of all female governors over the years and spit out something on the order of: This seems like a foolish way to do this. Is there a better way to do it? Is it better to make one query and then use CF to parse it ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337727 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Hiring in Pasadena, CA
We're looking for good senior folks. More details @ http://www.ecivis.com/our-company/careers/. Let me know if you have any questions! We're open for mid-, sr, architect, or even manager position! Sr. Web Application Developer - ColdFusion Location: Pasadena, CA Telecommute: Not available Salary: DOE Relocation: Available eCivis, the market leader in providing web-based solutions to local governments (software as a service) is seeking an advanced-level developer who lives to push ColdFusion and object-oriented web development to the edge. If you have experience in working with frameworks and combining new technologies with solid development practices, we want to talk to you. Join our growing team as part of the product management and software engineering departments building innovative web-based enterprise applications. This position directly interacts with all departments and significantly impacts our client base. Learn more about us at www.ecivis.com. JOB DESCRIPTION: The Sr. Web Developer / Architect will drive the direction of the companyâs technology solutions, define and implement best practices and build lean, powerful and extensible functionality. This position offers significant responsibility and growth potential. You will work closely with key stakeholders and wear many hats. RESPONSIBILITIES: ⢠Assist in the design and development of object-oriented web applications based upon best practices. ⢠Ensure proper operation and intelligent enhancements of existing web- based products and services. ⢠Ensure development consistency and strive for continued development innovation. ⢠Maintain best practices to meet department goals and assist in adapting the department to future changes in technology. ⢠Help assess risk related to technology and resources, and assists in minimizing that risk. IDEAL CANDIDATE SHOULD POSESS THE FOLLOWING SKILLS: ⢠Passionate about Creating Great Products and Innovative Features ⢠Driven and Realistic: Good estimator of time and effort ⢠Proactive about Self-Improvement and acquiring new knowledge and skills ⢠Motivated team player and ability to lead independent self-managed projects ⢠5+ years developing complex ColdFusion applications ⢠Advanced knowledge of ColdBox, Mach II, Model Glue or other OO Frameworks ⢠Understanding of ColdFusion Best Practices and Design Patterns ⢠Solid communication skills: Written and Verbal ⢠Demonstrated documentation and code-testing skills ⢠Strong understanding of complex SQL database-driven products ⢠Strong knowledge of JavaScript libraries and CSS ⢠Obsessive problem-solving and debugging skills PREFERRED QUALIFICATIONS: ⢠Product Development Experience ⢠Git and/or Subversion Experience ⢠Active in open source projects ⢠Understands scaling and performance If you meet these qualifications, we invite you to submit a resume and cover letter, including a complete salary history via e-mail: technology at ecivis.com. Please no phone calls or postal mail. Only qualified candidates will be contacted. eCivis, Inc., is an equal opportunity employer. This position is for full-time employment in Pasadena, California. Sami ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-jobs-talk/message.cfm/messageid:4340 Subscription: http://www.houseoffusion.com/groups/cf-jobs-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-jobs-talk/unsubscribe.cfm