Re: Trouble with ArrayAppend
I believe you are just passing a reference of the tmpAddress to the array, so it is being overridden with each loop. Try the following to insert a copy of the structure into the array instead: ArrayAppend(results.Deal.addresses,duplicate(tmpAddress)); - Rodney On Fri, Dec 19, 2014 at 4:39 PM, Dean Lawrence dean...@gmail.com wrote: I have a remote method which is retrieving a deal object, populating a structure and returning it to the client requesting it. This is all well and good. However, the deal object has multiple address objects associated to it. When looping over these addresses, I am having trouble adding them to an array. Here is my code: for (Address in Deal.getAddresses()){ tmpAddress.street = Address.getStreet(); tmpAddress.street2 = Address.getStreet2(); tmpAddress.city = Address.getCity(); tmpAddress.state = Address.getState(); tmpAddress.postalcode = Address.getPostalcode(); tmpAddress.phone = Address.getPhone(); ArrayAppend(results.Deal.addresses,tmpAddress); } The problem that I am having is that the results.Deal.addresses key ends up with an array of empty structures, the total number matching the total addresses associated to this deal. So in my test case, the deal that I am working on has a single address, so the results.Deal.addresses key is an array with on empty structure in it (no keys). However, if I don't try to append to the array by doing this: for (Address in Deal.getAddresses()){ tmpAddress.street = Address.getStreet(); tmpAddress.street2 = Address.getStreet2(); tmpAddress.city = Address.getCity(); tmpAddress.state = Address.getState(); tmpAddress.postalcode = Address.getPostalcode(); tmpAddress.phone = Address.getPhone(); results.Deal.addresses = tmpAddress; } The results.Deal.addresses key is now a struct and all the address keys assigned properly, so I know the tmpAddress struct is being populated properly. Does anyone have any thoughts as to what might be going on? I am running ACF 10 and yes, I have var scoped the results, Deal and tmpAddress variables at the top of the method. I also tried adding local to the Address variable in the for loop, but it did not help. Thansk, -- [image: profile picture] *Dean Lawrence* *President* Internet Data Technology *Phone:* 888-438-4381 x701 *Web:* www.idatatech.com *Email:* d...@idatatech.com Programming | Database | Consulting | Training ~| 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:359865 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: bypassing the site-wide error handler
The site wide error handler will not run if there is a local error handler, such as CFTRY/CFCATCH or CFERROR, unless the CFTRY/CFCATCH block rethrows the error. - Rodney On Mon, Dec 8, 2014 at 8:52 PM, Dave Watts dwa...@figleaf.com wrote: Hi, when can an application bypass the CF v9 site-wide error handler? We host an app, that uses cftry/catch, but that appears to not handle the errors correctly. The errors do not trigger the site-wide error handler, and the errors are displayed to the users. The site-wide error handler works fine for other applications, and testing. I don't think the application can, by itself, bypass the site-wide error handler. I'd take a look at the code in the site-wide error handler to see if there's anything in there that would prevent it from doing anything when an error occurs. You might also look at how you're using CFTRY/CFCATCH - maybe you are catching the error after all, and your error trapping code doesn't do anything useful. Finally, the site-wide error handler will only catch run-time exceptions, I think. I could be wrong about this, as I haven't worked with the site-wide error handler in a while, but if this is the case and you have a compile-time error in your code, it's going to be displayed. This is something that used to be handled with the CFERROR tag (type=request), but you really just shouldn't have any compile-time errors anyway. Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Service-Disabled Veteran-Owned Small Business (SDVOSB) 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:359776 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: onApplicationStart and cfmail, when doess server start?
That is correct behavior. An application does not start until a page within its scope is requested. You have a few options though. Use onServerStart (CF 9+). Use another server to monitor it. Use a third party program such as FusionReactor. I highly recommend it and it's well worth the money spent. On Tue, Apr 1, 2014 at 10:31 AM, morchella morchella.delici...@gmail.comwrote: so i am trying some thing out on localhost befor i move to dev i want to know when my cf server was started or restarted. so after my onApplicationStart i put in a cfmail and fir up an instance of cf9 for my localhost. i dont get the email unless i actually goto 127.x.x.x to view a page. i thought i should get it imeditaly when the server starts? how would or should i be doing this. thanks a bunch. will help to know when offshore reboots some thing with out informing us. -m ~| 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:358272 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF10 dump bug
At this point I would look at bad HTML preceding the cfdump or CSS styles causing the reformatting. On Wed, Sep 11, 2013 at 7:35 AM, Nando d.na...@gmail.com wrote: Russ, I already tried your tag, but it doesn't seem to format rows of data from a query in a way that is easy to overview. The data is displayed vertically in columns, disconnected from the fields, which are displayed as an initial column as the first nested array. Is that just how it works, or am I missing something? On Wed, Sep 11, 2013 at 2:28 PM, Russ Michaels r...@michaels.me.uk wrote: if it is really causing you an issue, then you could try this. http://cfdump.riaforge.org/ On Wed, Sep 11, 2013 at 1:22 PM, Nando d.na...@gmail.com wrote: Thanks Ray. Unfortunately, exchanging the dump file didn't work. I cleared all caches and restarted the server, same result. Bummer. On Wed, Sep 11, 2013 at 1:53 PM, Raymond Camden raymondcam...@gmail.com wrote: Sent On Wed, Sep 11, 2013 at 6:37 AM, Nando d.na...@gmail.com wrote: Ray, Thanks, but I don't see an attachment. Does the hof list allow them? Maybe a direct email to d.na...@gmail.com would work better? On Wed, Sep 11, 2013 at 1:22 PM, Raymond Camden raymondcam...@gmail.com wrote: Here is mine. On Wed, Sep 11, 2013 at 6:14 AM, Nando d.na...@gmail.com wrote: The bug report I filed now has a status of Withdrawn, Cannot reproduce. So the only hope I have of fixing this seems to be to get a working copy of dump.cfm from someone ... On Wed, Sep 11, 2013 at 1:10 PM, Nando d.na...@gmail.com wrote: Ray, I tried several, all with the same result. But for the screenshot to demonstrate the problem for the bug report, I used simply *select * from Holiday*. I also tried specifying the fields in a few queries, but it didn't make any difference. I tried it both in Chrome and in Safari with the same result. Do you think you send me your dump.cfm file from your CF 10 install? It's under WEB-INF cftags (which I guess you know anyway). I'm patched to Update 11, current, and I assume you must be as well. On Wed, Sep 11, 2013 at 12:53 PM, Raymond Camden raymondcam...@gmail.comwrote: I'm definitely not seeing this in my query dumps. Can you share the query you used? I On Wed, Sep 11, 2013 at 5:24 AM, Nando d.na...@gmail.com wrote: I noticed a bug in cfdump yesterday when dumping a query to a browser screen. The database fields are shifted one column to the right, and the data row numbers, instead of being in a column to the left of the rows, are splayed out horizontally. www.aria-media.com/cfdumpBug.png I looked for a bug report but was surprised not to find one, so I filed one https://bugbase.adobe.com/index.cfm?event=bugid=3629697. I would assume others would have run across this quite easily. Anyone else seen this? Am I the only one? -- Nando Breiter *Aria Media via Rompada 40 6987 Caslano Switzerland * ~| 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:356779 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Outputting SQL aliases as table headers
You can use array notation to reference columns with spaces. So, instead of myQuery.column with space use myQuery[column with space][myQuery.currentRow] On Thu, Aug 29, 2013 at 10:09 AM, DURETTE, STEVEN J sd1...@att.com wrote: Try looking at query_name.columnList it should have a list of the columns returned from a cfquery. Of course replace query_name with the name of your actual query. -Original Message- From: Monique Boea [mailto:moniqueb...@gmail.com] Sent: Thursday, August 29, 2013 11:08 AM To: cf-talk Subject: Re: Outputting SQL aliases as table headers They are dynamic with spaces. ~| 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:356655 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Form Fields suddenly self validating? Now required?
As Justin mentioned, if the page was recently changed to an html 5 doctype setting required to any value evaluates to true. Try remove the required attribute completely. You can also add novalidate to the form tag. On Tue, May 21, 2013 at 6:41 PM, Russ Michaels r...@michaels.me.uk wrote: are you using CFFORM or just FORM ? On Tue, May 21, 2013 at 11:37 PM, Matt Quackenbush quackfu...@gmail.com wrote: Link(s)? CF cannot do anything on the client side (i.e. in the browser). JavaScript is required for any validation to take place on the client side. Without seeing code / markup it's impossible to say beyond that. On Tue, May 21, 2013 at 6:30 PM, Jeff F cftalk_l...@fongemie.com wrote: Hey everyone, I have a very old site that has a basic form. All of a sudden, the form is requiring all form form fields to be filled out? The form is a basic form action=, and I've got required=no on the fields. What's interesting is that the validation results are quite nice looking, almost Jquery-ish. The form fields get a slight red glow around the edges, and the little bubbles that show on the page look great, however I don't want any of it. I did read about newer versions of CF server validating, so I tried disabling that by adding serverSideFormValidation=no to the cfapplication. What the heck is this? ~| 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:355819 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: I am stumped
I think it's a matter of order of execution in your where clause. I believe it is being interpreted as: WHERE (Name = '#Form.SHIPTONAME#' AND Birthdate = '#Birthdate#') OR Email = '#Form.Email#' and you are expecting: WHERE Name = '#Form.SHIPTONAME#' AND (Birthdate = '#Birthdate#' OR Email = '#Form.Email#') Hope this helps On Wed, Apr 10, 2013 at 2:49 PM, Bruce Sorge sor...@gmail.com wrote: I have a site where a user is only supposed to register for one deal. I have this query: cfquery datasource=#Request.LiveDSN# name=qCheckUserTable SELECT Name, Birthdate, Email FROM Users WHERE Name = cfqueryparam cfsqltype=cf_sql_varchar value=#Form.SHIPTONAME# / AND Birthdate = cfqueryparam cfsqltype=cf_sql_varchar value=#Birthdate# / OR Email = cfqueryparam cfsqltype=cf_sql_varchar value=#Form.Email# / /cfquery I then do this: cfif qCheckUserTable.RecordCount GT 0 cfinclude template=header.cfm BRBRBR cfoutput#Form.SHIPTONAME#/cfoutput, It appears that you have already registered for this deal. You can click the back button and enter another's information or quit the application. You can only register an individual for one deal only. cfinclude template=footer.cfm cfabort cfelse blah blah blah Well today someone managed to register more than once. In the db, the only difference is the birthdate, which should not matter since I am checking for their name, birthdate or email. The name and email in both records are identical. I ran this query against the db several times using different birth-dates and every time I get the records, which means the name/email search is working. I suspect that this person tried for a while to get around this since her registrations were about an hour apart. Is there something that I am overlooking in the query? How would she have gotten by this? I am guessing I missed something very simple. Thanks, Bruce ~| 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:355345 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF Builder 2 or Sublime Test 2
Check out the SublimeLinter plugin for Sublime Text 2. It adds html tidy support as well as support for many other languages. https://github.com/SublimeLinter/SublimeLinter On Mon, Mar 18, 2013 at 12:17 PM, Rob Voyle robvo...@voyle.com wrote: Hi Mark I was thinking more of integration with W3C or some built in html validator I'm not too interested in writing my own. Rob On 18 Mar 2013 at 16:51, Mark Drew wrote: CFBuilder might (if you write a plugin for it) since that deals with the idea of a site. I haven't seen one for Sublime Text 2 but that is just a matter of time really, it should be fairly easy to write Sincerely Mark Drew On 18 Mar 2013, at 16:45, Rob Voyle robvo...@voyle.com wrote: Hi Folks Looking at: CF Builder 2 or Sublime Test 2 do either validate web pages (missing td p) etc. do either validate missing links? Thanks Rob ~| 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:355084 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfajaxproxy... not defined return variable.
In your cfc method try changing the returntype=json to returntype=any and add the attribute returnformat=json so you function declaration should look like: cffunction name=getAllConferencePresentations access=remote output=false returntype=any returnformat=json I have not tested this so it may not fix your problem, but I believe json isn't a valid returntype. - Rodney On Wed, Sep 12, 2012 at 12:36 PM, Greg Morphis gmorp...@gmail.com wrote: What's weird is if I click on the RequestURL http://localhost:81/resources/proxy.cfc?method=getAllConferencePresentationsreturnFormat=jsonargumentCollection=%7B%22tag_id%22%3A0%2C%22year%22%3A2012%7D_cf_nodebug=true_cf_nocache=true_cf_clientid=235E1C59C699DA256BA5C27C5890D98B_cf_rc=0 I get: COLUMNS:[ID,TITLE,PATH,AUTHOR,CONFERENCETITLE,TAG_ID,DATE],DATA:[[44,Affiliate,\/assets\/utilities\/serve.cfm?gid=00666248-bead-4df7-b51f-2790a9bb232e,foo,NASWA UI Committee Meeting,null,July, 16 2012 10:40:04], ... but it still highlights var pId = presentation.DATA[0][0]; saying presentation is undefined. On Wed, Sep 12, 2012 at 12:23 PM, Andrew Scott andr...@andyscott.id.au wrote: Greg, the calling page will not help you here. You need to have the network tabbed active, and then refresh the page or force the call that is having the problem. Once that call is made, it will appear in the list on the left hand side. When you click on that call, which if I read your posting is called proxy.cfc so when you see proxy.cfc appear you click on that call. Then a window will open in the network area, that has many tabs, one of which is the response. Now if you have done that, and it is showing no response data, that means the call is failing and you will need to consult your logs as to why proxy.cfc is failing. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 http://plus.google.com/108193156965451149543 On Thu, Sep 13, 2012 at 3:13 AM, Greg Morphis gmorp...@gmail.com wrote: The demo.cfm has this at the top and then the rest is the same cfm code 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='235E1C59C699DA256BA5C27C5890D98B';/* ]] *//scriptscript type=text/javascript src=/CFIDE/scripts/ajax/messages/cfmessage.js http://localhost:81/CFIDE/scripts/ajax/messages/cfmessage.js /script script type=text/javascript src=/CFIDE/scripts/ajax/package/cfajax.js /script script type=text/javascript/* ![CDATA[ */ ColdFusion.Ajax.importTag('CFAJAXPROXY'); /* ]] *//script script type=text/javascript/* ![CDATA[ */ var _cf_proxy=ColdFusion.AjaxProxy.init('/resources/proxy.cfc','proxy'); _cf_proxy.prototype.getAllConferencePresentations=function(tag_id,year) { return ColdFusion.AjaxProxy.invoke(this, getAllConferencePresentations, { tag_id:tag_id,year:year});}; /* ]] *//script ~| 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:352545 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: BUG in CF9 Encrypt and Decrypt?
I'd start by removing trim() from your encrypt call. Any change to an encyrtped value will cause failure. -- Rodney On Wed, Aug 31, 2011 at 1:23 PM, Robert Harrison rob...@austin-williams.com wrote: This has got to be a bug. The question is does this make CF encrypt and decrypt totally unreliable, or is there something I know I can count on to work around this... like make a longer key or something? -Original Message- Am I doing something wrong here? See these lines of code. cfset testval=6546 cfset inval=#encrypt(trim(testval),sn)# cfset outval=#decrypt(trim(inval),sn)# This gives the error: The input and output encodings are not same. Most of the time this works fine. Change the testval or change the key it works... but every now and then I get the error. Am I doing something wrong, or is this a bug? Thanks ~| 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:347167 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: BUG in CF9 Encrypt and Decrypt?
Er, remove from the decrypt call. -- Rodney ~| 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:347168 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion Builder 2 - Comment Mapping
Go to Preferences General Keys and remove the Ctrl+Shift+M mapping then you should be able to set it under ColdFusion. I believe it is mapped to 'Add Import' by default. -- Rodney On Thu, Aug 25, 2011 at 9:00 AM, Cameron Childress camer...@gmail.comwrote: Finally giving CFB2 a try (plugin mode). I'm trying to reestablish my keyboard mappings under Preferences ColdFusion Profile Keys and running into a problem where historically common keyboard shortcuts like Ctrl+Shift+M for wrapping in a ColdFusion Comment conflicts with unknown command. I can't seem to find a way to delete the conflicting comment, or even find it, even int he underlying eclipse mappings. My Google foo is failing me, but surely this has been addressed n the list previously? -Cameron -- Cameron Childress -- p: 678.637.5072 im: cameroncf facebook http://www.facebook.com/cameroncf | twitterhttp://twitter.com/cameronc | google+ https://profiles.google.com/u/0/117829379451708140985 ~| 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:347002 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Lightweight code editor, CF support would be a plus
You didn't mention what OS, but if your looking for a Windows editor I'd recommend Emeditor by Emurasoft. It's lightweight, GREAT for log files and has a CF plugin. The plugin is out of date but works in a pinch. - Rod On Sat, Feb 5, 2011 at 8:53 PM, Pete Ruckelshaus pruckelsh...@gmail.comwrote: I'm looking for a good, lightweight code/text editor that I can install on a dev server with limited resources. I'll primarily use it for log files, etc., but there might be the odd instance where I need to directly edit a html of cf file, so support for html and cf would be useful. Any suggestions? And, no, I don't want to use vi. Thanks, Pete ~| 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:341887 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: why is cf_builder so slow? (was: expensive)
I tried the initial release of CFB and had the same slowness issues others have already stated so I never purchased it. I've decided to give it another try since the update should fix some of the problems I experienced, however on reinstall of the trial I need to enter a serial number or it kicks me out since I already had the trial installed once before. Anyone have a contact at Adobe that can help me out? ;) Thanks. - Rodney On Wed, Jan 26, 2011 at 5:18 PM, Russ Michaels r...@michaels.me.uk wrote: i believe there was also an option to automatically start cf when u start CFB and stop CF when you stop CFB, this would of course also slow things down as CF does take a while to start, but it never worked for me. On Wed, Jan 26, 2011 at 8:34 PM, Sean Corfield seancorfi...@gmail.com wrote: On Wed, Jan 26, 2011 at 11:28 AM, Russ Michaels r...@michaels.me.uk wrote: I had the same problems but I found the cause. I had CFB set to connect to CF automatically and check the server state, RDS etc. If you don't have coldFusion running when u launch CFB (normal on a dev machine) then this will make it slow to start up. Useful tip, thanx Russ. Russ is referring to the Build Server Settings option (Preferences ColdFusion Server Settings) and unchecking (Initiate build when) ColdFusion Builder started. Note, however, that _might_ prevent CFBuilder from resolving mappings for CFCs etc until you Refresh Server (Views Servers select a server and right-click Refresh Server). Since I so rarely stop/start CFBuilder, I don't mind it being slow to startup. -- Sean A Corfield -- (904) 302-SEAN Railo Technologies, Inc. -- http://getrailo.com/ An Architect's View -- http://corfield.org/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| 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:341549 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: why is cf_builder so slow? (was: expensive)
Thanks for the suggestion but it did not work. - Rodney On Thu, Jan 27, 2011 at 11:41 AM, Wil Genovese jugg...@trunkful.com wrote: I've seen this happen before when the trial was not uninstalled properly or the uninstall didn't complete. This is the the fault of the EVIL licensing software that Adobe crams into all of its products. I had to reinstall and get the same error you got, then use the CFBuilder uninstaller and then reinstall again. This usually fixes the EVIL licensing software. Wil Genovese Sr. Web Application Developer/ Systems Administrator Wil Genovese Consulting wilg...@trunkful.com www.trunkful.com On Jan 27, 2011, at 11:35 AM, Rodney Enke wrote: I tried the initial release of CFB and had the same slowness issues others have already stated so I never purchased it. I've decided to give it another try since the update should fix some of the problems I experienced, however on reinstall of the trial I need to enter a serial number or it kicks me out since I already had the trial installed once before. Anyone have a contact at Adobe that can help me out? ;) Thanks. - Rodney ~| 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:341574 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Compare Strings
Your first set of statements will work once you change the first replace to rereplace. - Rod On Tue, Apr 7, 2009 at 9:53 AM, Pranathi Reddy rk.prana...@gmail.comwrote: cfset string1 = '0010as1000' cfset string2 = '10as1' cfoutput#compareNoCase(replace(string1,'^0*|0*$','','all'),rereplace(string2,'^0*|0*$','','all'))#/cfoutput ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321404 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: can't seem to get form in structKeyExists
Ony form fields, not the form name, get passed in with the form variables. Change your if statement to the following: cfif structKeyExists(form,'county') That should fix it. - Rod On 6/7/06, Daniel Kessler [EMAIL PROTECTED] wrote: !--- the below form submits using the following js --- function county_nav(the_loc){ document.county_form.action=String(the_loc); document.county_form.submit(); } !--- end js --- cfset the_page = listlast(cgi.SCRIPT_NAME,/) form name=county_form action=some_value method=post enctype=multipart/form-data cfoutputselect name=county onchange=javascript:county_nav('#the_page#?county='+this.value)/ cfoutput option value= nbsp;/option cfoutput query=counties option value=#county##county#/option /cfoutput /select /form !--- after a form submit, I output the following and it outputs correctly --- cfoutputform:#form.county#/cfoutput cfif structKeyExists(form,'county_form') !--- after a form submit, I output the following and it DOES NOT output at all --- county:#form.county# !--- cut lotsa other code --- /cfif What am I doing wrong? _ Daniel Kessler College of Health and Human Performance University of Maryland Suite 2387 Valley Drive College Park, MD 20742-2611 Phone: 301-405-2545 http://hhp.umd.edu ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:242784 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CSS UL IE help
IE is applying your UL style (style=padding:5px 0px 5px 40px) to each LI element and Firefox is not. Either remove the UL style completely or wrap a DIV around the list and move the UL style to the DIV element. - Rod On 3/3/06, Ray Champagne [EMAIL PROTECTED] wrote: I have a site I'm mocking up and am having some trouble with padding in my ul list looking different in IE and FF. Take a look at the below URL - the bottom green bulleted list looks great in FF, but has way too much padding in IE. Anyone know how to fix that? Either Google can't find what I'm looking for as far as answers go, or I'm not searching for the right terms. Thanks for the help! Ray http://wwwcvwp.com/proulx/index.cfm ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234044 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Can anyone spot a problem with this query?
You're missing the closing parenthesis ')' after the last queryparam. - Rod On 1/25/06, Rick Faircloth [EMAIL PROTECTED] wrote: MySQL is giving me an ODBC Error Code = 23000 (Integrity contraint violation) and says I have an error in my SQL syntax...I can't find it...data being sent from form fields has been tested an appear to be in proper form...I can't figure out why it's getting heartburn over this query... ??? Thanks, Rick CFQUERY Name=InsertCampWeek Datasource=#DSN# Insert into campweeks ( CampWeekName, CFIF IsDate(Trim(Form.StartDate)) StartDate, /CFIF CFIF IsDate(Trim(Form.EndDate)) EndDate, /CFIF DeanName, DeanBio, DeanPhoto, WeekDescription, Cost, Grades, CFIF IsDate(Trim(Form.RegistrationStartTime)) RegistrationStartTime, /CFIF CFIF IsDate(Trim(Form.DismissalTime)) DismissalTime, /CFIF SpacesAvailable ) Values ( cfqueryparam cfsqltype=CF_SQL_VARCHAR Value=#Form.CampWeekName#, CFIF IsDate(Trim(Form.StartDate)) cfqueryparam cfsqltype=CF_SQL_DATE Value=#DateFormat(CreateODBCDate(ParseDateTime(Form.StartDa te)), 'M/D/')#, /CFIF CFIF IsDate(Trim(Form.EndDate)) cfqueryparam cfsqltype=CF_SQL_DATE Value=#DateFormat(CreateODBCDate(ParseDateTime(Form.EndDate )), 'M/D/')#, /CFIF cfqueryparam cfsqltype=CF_SQL_VARCHAR Value=#Form.DeanName#, cfqueryparam cfsqltype=CF_SQL_LONGVARCHAR Value=#Form.DeanBio#, cfqueryparam cfsqltype=CF_SQL_VARCHAR Value=#Form.DeanPhoto#, cfqueryparam cfsqltype=CF_SQL_LONGVARCHAR Value=#Form.WeekDescription#, cfqueryparam cfsqltype=CF_SQL_DOUBLE Value=#LSParseCurrency(Form.Cost)#, cfqueryparam cfsqltype=CF_SQL_VARCHAR Value=#Form.Grades#, CFIF IsDate(Form.RegistrationStartTime) cfqueryparam cfsqltype=CF_SQL_TIME Value=#TimeFormat(CreateODBCTime(Form.RegistrationStartTime ), 'h:mm tt')#, /CFIF CFIF IsDate(Form.DismissalTime) cfqueryparam cfsqltype=CF_SQL_TIME Value=#TimeFormat(CreateODBCTime(Form.DismissalTime), 'h:mm tt')#, /CFIF cfqueryparam cfsqltype=CF_SQL_INTEGER Value=#Form.SpacesAvailable# /CFQUERY ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230457 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Any Interest in a Completely Free CFML Calendar?
I would definitely be interested in a free CFML calendar. - Rod Enke PracticeMatch, Inc. 314-878-1440 www.practicematch.com http://www.practicematch.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221082 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Studio 8 announced (flash player 8 in firefox)
There are some extensions in Firefox that cause problems with the new flash player. Try disabling them if you have any installed. - Rod On 8/8/05, Phill B [EMAIL PROTECTED] wrote: Winxp pro. and firefox 1.0.6 Flash absolutely doesn't load. Just a blank spot where it should be. On 8/8/05, Thomas Chiverton [EMAIL PROTECTED] wrote: On Monday 08 August 2005 15:47, Phill B wrote: I clicked on this link http://www.macromedia.com/software/studio/experience/ and upgraded firefox to the flash player 8. Now Flash doesn't work at all in firefox. F'ing great. Anyone else have this problem? What O/S ? In what way doesn't it work ? -- Tom Chiverton Advanced ColdFusion Programmer ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214028 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: listtoArray blank entries
You'll have to loop through the list and append each value to the array if you want to capture empty list elements. The following code should work, but I haven't tested it so it might not. cfset myAr = ArrayNew(1) cfset myVar = 'Produce|Apples |green, bagged|1.23/lb3 lb|1|0 g|0 mg|0 mg|22 g|5 g|16 g|0 g|2%' cfloop index=tempVar list=#myVar# delimiters=| cfset result = ArraryAppend(myAr, tempVar) /cfloop cfoutput#arrayLen(myAr)#/cfoutput - Rod Enke PracticeMatch, Inc. www.practicematch.com http://www.practicematch.com On 6/29/05, Daniel Kessler [EMAIL PROTECTED] wrote: !--- 17 entries --- cfset myvar = 'Produce|Apples |green, bagged|1.23/lb3 lb|1|0 g|0 mg|0 mg|22 g|5 g|16 g|0 g|2%' cfset myAr = listToArray(myVar,|) !--- outputs --- #arrayLen(myAr)# How do I make it an array that includes all the entries? This messes up my indexing. I only want it to keep an empty entry or empty quotes. I'll be lining up 1 through 17 for manipulation and then inserting into a db and it's all by index. -- Daniel Kessler Department of Public and Community Health University of Maryland Suite 2387 Valley Drive College Park, MD 20742-2611 301-405-2545 Phone www.phi.umd.edu http://www.phi.umd.edu ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:210891 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFChart dieing
I would guess that you updated your JVM. I had the same problem when CFMX first came out and I had to roll back the JVM to 1.3.1_09 in order to use another account besides the LocalSystem account for the CF service and have a working CFCHART. A newer JVM may work, but I haven't tried. - Rod Enke PracticeMatch, Inc. 314-819-4172 www.practicematch.com On Sun, 6 Mar 2005 22:13:41 -0500, Douglas Knudsen [EMAIL PROTECTED] wrote: ok, I figured this out. SEems for some reason suddenly, if a CF instance service is running under a local account, CFCHART will not work. We get no error message and no chart, the request just hangs forever. If I change the service to use the localsystem user, bamm charts start working again. I have no clue what the heck started this. This issue happened to us in our production environment a couple weeks back. Hosed everything up. I created a new JRun instance dropped a fresh CF war in and bamm, worked nice. I just checked, its running under the localsystem user as I forgot to switch over to a local account. We have been running the CF service under a local account cf for sometime now, why suddenly this issue? I even created a new local account, didn't work either. CF works fine, just the cfchart dies horribly. running CFMX6.1 UPD 1, IIS, Win2K Doug On Fri, 4 Mar 2005 13:44:40 -0500, Douglas Knudsen [EMAIL PROTECTED] wrote: oh, an dthanks for your responses barney. On Fri, 4 Mar 2005 13:44:21 -0500, Douglas Knudsen [EMAIL PROTECTED] wrote: ah, ok. I'm still stuck with no working cfcharts on a dev box of mine. Just created a new CF instance and it too has broken cfchart. Whacked. next step is to do the old remove/reinstall I suppose. D On Fri, 4 Mar 2005 10:29:57 -0800, Barney Boisvert [EMAIL PROTECTED] wrote: It's all static. The chart gets generated during the page request, and then returned as a static file from the GraphData servlet for subsequent requests. cheers, barneyb On Fri, 4 Mar 2005 11:49:17 -0500, Douglas Knudsen [EMAIL PROTECTED] wrote: does the cfchart function rely on flashremoting for Flash based charts? -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197731 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFChart dieing
Yeah, stock VJM that ships with MX doesn't work. I had to roll back to an older version after talking with MM support for a week. - Rod On Mon, 7 Mar 2005 15:14:48 -0500, Douglas Knudsen [EMAIL PROTECTED] wrote: yeah, I tried updating the JVM AFTER this occured, no help at all. Our prod machine has never had the stock JVM changed, still at 1.4.2_b28, IIRC. This really bites. We have 6 boxes running CFMX6.1 UPD1 ENT. 2 of the 6 have this issue, the others do not. DK On Mon, 7 Mar 2005 12:34:28 -0600, Rodney Enke [EMAIL PROTECTED] wrote: I would guess that you updated your JVM. I had the same problem when CFMX first came out and I had to roll back the JVM to 1.3.1_09 in order to use another account besides the LocalSystem account for the CF service and have a working CFCHART. A newer JVM may work, but I haven't tried. - Rod Enke PracticeMatch, Inc. 314-819-4172 www.practicematch.com On Sun, 6 Mar 2005 22:13:41 -0500, Douglas Knudsen [EMAIL PROTECTED] wrote: ok, I figured this out. SEems for some reason suddenly, if a CF instance service is running under a local account, CFCHART will not work. We get no error message and no chart, the request just hangs forever. If I change the service to use the localsystem user, bamm charts start working again. I have no clue what the heck started this. This issue happened to us in our production environment a couple weeks back. Hosed everything up. I created a new JRun instance dropped a fresh CF war in and bamm, worked nice. I just checked, its running under the localsystem user as I forgot to switch over to a local account. We have been running the CF service under a local account cf for sometime now, why suddenly this issue? I even created a new local account, didn't work either. CF works fine, just the cfchart dies horribly. running CFMX6.1 UPD 1, IIS, Win2K Doug On Fri, 4 Mar 2005 13:44:40 -0500, Douglas Knudsen [EMAIL PROTECTED] wrote: oh, an dthanks for your responses barney. On Fri, 4 Mar 2005 13:44:21 -0500, Douglas Knudsen [EMAIL PROTECTED] wrote: ah, ok. I'm still stuck with no working cfcharts on a dev box of mine. Just created a new CF instance and it too has broken cfchart. Whacked. next step is to do the old remove/reinstall I suppose. D On Fri, 4 Mar 2005 10:29:57 -0800, Barney Boisvert [EMAIL PROTECTED] wrote: It's all static. The chart gets generated during the page request, and then returned as a static file from the GraphData servlet for subsequent requests. cheers, barneyb On Fri, 4 Mar 2005 11:49:17 -0500, Douglas Knudsen [EMAIL PROTECTED] wrote: does the cfchart function rely on flashremoting for Flash based charts? -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197741 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Free Coldfusion Devs Tool
Great little app, but I keep getting an error along the lines of The selected method maxMemory was not found. Everything else appears to be working fine. - Rod On Tue, 22 Feb 2005 14:55:55 -0500, dave [EMAIL PROTECTED] wrote: totally! that and the lack of free community tools is what is really hurting cfm compared to php. Thanks Kevin :) From: jonese [EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 2:07 PM To: CF-Talk cf-talk@houseoffusion.com Subject: Re: Free Coldfusion Devs Tool Damn Bryan H. could you be more of a . They guy just sent a quick note about a new product he has which will HELP CF DEVELOPERS. It's CF related (sure it's not code but it's related to server monitoring and maintence). Sometimes i think the CF community just needs to drink a beer and relax. jonese On Tue, 22 Feb 2005 13:30:42 -0500, Bryan F. Hogan wrote: If I wanted to know about your product I would have read it from a web feed or signed up to know about from an email notification list. -Original Message- From: Kevin Aebig [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 1:27 PM To: CF-Talk Subject: Free Coldfusion Devs Tool Built for developers, Coldfusion Remote Dashboard is console desktop app to monitor and administer Coldfusion Application Servers. Features include: - Live Session Gathering - CFC Parsing and Invoking - Metric, Memory Harddisk Statistics - Datasource Management Querying - Uses built-in CF Administrative Password and roles authentication - Easily maintain multiple servers through server maps - Multiple consoles can login to a single server - Version detection alerts of new versions released - bunch of other goodies... This application is free for download and available at: http://www.keslabs.com/crd/ This initial release is still considered BETA and though the next release should be full version, please email me if you find any issues that I might have overlooked. Sincerely, Kevin KES Labs ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195969 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Free Coldfusion Devs Tool
Running CF MX 6.1 standalone with no sandbox restrictions. I believe it is because we are using an old version of Java, which is required for some funky stuff we are doing. I hacked the CFC to return the correct result. I guess it's time to upgrade that JVM and funky code... - Rod On Tue, 22 Feb 2005 14:15:09 -0600, Kevin Aebig [EMAIL PROTECTED] wrote: What version of Coldfusion are you running? Is it on a shared server? Any sandbox restrictions? Cheers, Kevin -Original Message- From: Rodney Enke [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 2:10 PM To: CF-Talk Subject: Re: Free Coldfusion Devs Tool Great little app, but I keep getting an error along the lines of The selected method maxMemory was not found. Everything else appears to be working fine. - Rod On Tue, 22 Feb 2005 14:55:55 -0500, dave [EMAIL PROTECTED] wrote: totally! that and the lack of free community tools is what is really hurting cfm compared to php. Thanks Kevin :) From: jonese [EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 2:07 PM To: CF-Talk cf-talk@houseoffusion.com Subject: Re: Free Coldfusion Devs Tool Damn Bryan H. could you be more of a . They guy just sent a quick note about a new product he has which will HELP CF DEVELOPERS. It's CF related (sure it's not code but it's related to server monitoring and maintence). Sometimes i think the CF community just needs to drink a beer and relax. jonese On Tue, 22 Feb 2005 13:30:42 -0500, Bryan F. Hogan wrote: If I wanted to know about your product I would have read it from a web feed or signed up to know about from an email notification list. -Original Message- From: Kevin Aebig [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 1:27 PM To: CF-Talk Subject: Free Coldfusion Devs Tool Built for developers, Coldfusion Remote Dashboard is console desktop app to monitor and administer Coldfusion Application Servers. Features include: - Live Session Gathering - CFC Parsing and Invoking - Metric, Memory Harddisk Statistics - Datasource Management Querying - Uses built-in CF Administrative Password and roles authentication - Easily maintain multiple servers through server maps - Multiple consoles can login to a single server - Version detection alerts of new versions released - bunch of other goodies... This application is free for download and available at: http://www.keslabs.com/crd/ This initial release is still considered BETA and though the next release should be full version, please email me if you find any issues that I might have overlooked. Sincerely, Kevin KES Labs ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195982 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54