Re: local install - ses non working(I think)
On Tue, Dec 23, 2014 at 6:00 PM, Phillip Vector vec...@mostdeadlygame.com wrote: *stares blankly at the screen* *gets up and goes to get some popcorn* Ok.. Proceed. LOL :-) On Tue, Dec 23, 2014 at 3:58 PM, Matthew Smith chedders...@gmail.com wrote: I have been developing on our live server as the site has been down for some time. I am trying to get things right and just installed apache and cf11 on my local box. This is the error I get when I try to bring up the site's home page. Any ideas, I am not sure what to try. Thanks. MissingInclude Could not find the included template /site_theartoflovingcatsanddogs_com/index.cfm/cfid/2/cftoken/60648468/index.cfm. Note: If you wish to use an absolute template path (for example, template=/mypath/index.cfm) with CFINCLUDE, you must create a mapping for the path using the ColdFusion Administrator. Or, you can use per-application settings to specify mappings specific to this application by specifying a mappings struct to THIS.mappings in Application.cfc. br Using relative paths (for example, template=index.cfm or template=../index.cfm) does not require the creation of any special mappings. It is therefore recommended that you use relative paths with CFINCLUDE whenever possible. /site_theartoflovingcatsanddogs_com/index.cfm/cfid/2/cftoken/60648468/index.cfm [empty string] [empty string]cfcatch.tagcontext - array1cfcatch.tagcontext - struct COLUMN0IDCFINCLUDELINE29RAW_TRACEat cfindex2ecfm1457390167.runPage(C:\wwwroot\index.cfm:29)TEMPLATE C:\wwwroot\index.cfmTYPECFML2cfcatch.tagcontext - structCOLUMN0IDCFINCLUDE LINE198RAW_TRACEat cfApplication2ecfc65118548$funcONREQUEST.runFunction(C:\wwwroot\Application.cfc:198) TEMPLATEC:\wwwroot\Application.cfcTYPECFML -- Regards, chedder is bedder ~| 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:359879 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Eclipse CFEclipse
You realize that this thread is over 7 YEARS old, right? Lol On Dec 4, 2014 7:38 AM, Casey Dougall casey.doug...@gmail.com wrote: We've gone down this road many a time, and I was a hard convert when coldfusion builder 1.0 came out myself but it really didn't take long to get use to. Today I switch between CB3 and sublimetext depending on what I'm working on. Svn is best when you tie it into continuous integration where your commit to trunk can be built to DEV server automatically with the likes of Jenkins installed. Then those build are promoted to QA, UAT and to production. Stop saying you can't or its too much work or I like the old way, just suck it up and do it. Teams of 1 to 1000 say yes.. But I would jump right to Git over Svn any day. On Dec 6, 2007 6:29 AM, Tom Chiverton tom.chiver...@halliwells.com wrote: On Thursday 06 Dec 2007, Tom Chiverton wrote: On Thursday 06 Dec 2007, mac jordan wrote: I the way that it seems to insist on setting a up a project on my machine, Ahh, yes, that's an Eclipse-ism I think. Just checked, and you shouldn't need a project to use the FTP view. -- Tom Chiverton Helping to competently compete performance-oriented relationships on: http://thefalken.livejournal.com Please note, as of 10th December 2007 the registered office address of Halliwells LLP will be at 3 Hardman Square, Spinningfields, Manchester, M3 3EB This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| 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:359759 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Eclipse CFEclipse
Lol. That's awesome. :-) On Dec 4, 2014 7:55 AM, Casey Dougall casey.doug...@gmail.com wrote: Omg, this is what I get for archiving mail... I'm totally not going to do that anymore. Stupid inbox.google.com made it so easy to archive we hen I switched back to gmail unread messages from eons ago made there way to the top, front and center On Thu, Dec 4, 2014, 8:50 AM Matt Quackenbush quackfu...@gmail.com wrote: You realize that this thread is over 7 YEARS old, right? Lol On Dec 4, 2014 7:38 AM, Casey Dougall casey.doug...@gmail.com wrote: We've gone down this road many a time, and I was a hard convert when coldfusion builder 1.0 came out myself but it really didn't take long to get use to. Today I switch between CB3 and sublimetext depending on what I'm working on. Svn is best when you tie it into continuous integration where your commit to trunk can be built to DEV server automatically with the likes of Jenkins installed. Then those build are promoted to QA, UAT and to production. Stop saying you can't or its too much work or I like the old way, just suck it up and do it. Teams of 1 to 1000 say yes.. But I would jump right to Git over Svn any day. On Dec 6, 2007 6:29 AM, Tom Chiverton tom.chiver...@halliwells.com wrote: On Thursday 06 Dec 2007, Tom Chiverton wrote: On Thursday 06 Dec 2007, mac jordan wrote: I the way that it seems to insist on setting a up a project on my machine, Ahh, yes, that's an Eclipse-ism I think. Just checked, and you shouldn't need a project to use the FTP view. -- Tom Chiverton Helping to competently compete performance-oriented relationships on: http://thefalken.livejournal.com Please note, as of 10th December 2007 the registered office address of Halliwells LLP will be at 3 Hardman Square, Spinningfields, Manchester, M3 3EB This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| 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:359761 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Eclipse CFEclipse
1. Nathan didn't reply to a 7-yr-old message. 2. Gmail != Google Inbox http://www.google.com/inbox/ On Thu, Dec 4, 2014 at 10:41 AM, wrote: BTW, I have invites to anyone who wants to try Google Inbox. Yes, you too can have the opportunity to reply to seven year old threads. This one also is at least 7 years old ;-) Any one can get a Gmail address, no invite is necessary ;-) ~| 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:359764 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Eclipse CFEclipse
On Thu, Dec 4, 2014 at 10:59 AM, Phillip Vector vec...@mostdeadlygame.com wrote: Just to point out... On Dec 6, 2007 6:29 AM, Tom Chiverton tom.chiver...@halliwells.com wrote: Yeah.. He did. On Thu, Dec 4, 2014 at 8:57 AM, Matt Quackenbush quackfu...@gmail.com wrote: 1. Nathan didn't reply to a 7-yr-old message. Seriously? Just to point it out, you aren't paying attention. Let me paraphrase my previous statement for those that like to not bother reading and be a smart(dumb) ass. Nathan DID NOT reply to a 7-yr-old thread. Thank you for playing along. On Thu, Dec 4, 2014 at 7:59 AM, Nathan Strutz str...@gmail.com wrote: On Thu Dec 04 2014 at 8:57:53 AM Matt Quackenbush quackfu...@gmail.com wrote: Lol. That's awesome. :-) On Dec 4, 2014 7:55 AM, Casey Dougall casey.doug...@gmail.com wrote: Omg, this is what I get for archiving mail... I'm totally not going to do that anymore. Stupid inbox.google.com made it so easy to archive we hen I switched back to gmail unread messages from eons ago made there way to the top, front and center On Thu, Dec 4, 2014, 8:50 AM Matt Quackenbush quackfu...@gmail.com wrote: You realize that this thread is over 7 YEARS old, right? Lol On Dec 4, 2014 7:38 AM, Casey Dougall casey.doug...@gmail.com wrote: On Dec 6, 2007 6:29 AM, Tom Chiverton tom.chiver...@halliwells.com wrote: ~| 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:359766 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Is time for a change?
While there might not be features you're compelled to upgrade to get, security *should* be something of concern. CF7 is ancient, completely unsupported, and riddled with security features. That said, I cannot in good conscience recommend paying for a CF license, no matter what version or what features it might or might not have. I would *strongly* recommend that you research a VPS from Vivio ( https://www.viviotech.net/) and use Railo. There's a reasonable chance that you will be able to run your old CF7 apps as-is on Railo, as long as you haven't done much dipping into the underlying classes or undocumented features. Vivio's support is second to none, and they are a huge supporter of the CFML community. HTH On Tue, Nov 11, 2014 at 9:28 AM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: I'd be interested to know which route you decide to take. I stopped taking on new clients about 2 years ago. I now look after only 3 and their bandwidth requirements are small. They've all been with me for a very long time and do produce a useful bit of income. My setup now is a windows 2003 server with CF7 / SQL 2000. Old, I know, but it works and there has been nothing of use to me in the upgrades, certainly nothing to make it worth me paying the crazy upgrade costs. The server sits in my garage on a business broadband line, not ideal, I know this, especially as my garage has been converted into a headshot studio for my photography business! I don't have time for the major hassle of porting my sites from CF7 to whatever CF is on now. I also integrating one of the sites quite heavily into my SmarterMail server, such as automated generation of mail list members and I pull the contents of one of the mail lists into an archive made available on the website. Ideally I'd like to get everything shifted to a VPS, but would I be able to run these old applications? And where could I get an inexpensive yet reliable service? I'd appreciate any ideas, please. -Original Message- From: Rick Eidson [mailto:cfh...@kchost.net] Sent: 08 November 2014 01:48 To: cf-talk Subject: RE: Is time for a change? Oh I know all about the email hosting.. .Before I moved to Hostek I had a T1 line into my basement. Did all my own hosting, I had 2 server cabinets with all Dells...(I still have them) pretty good setup. I started my company with that and then the T1 became outdated and very expensive. I used ArgoSoft Mail Server, actually really liked it but the SPAM and Blacklist were a nightmare. But back then my company was bigger with closer to 100 domains/clients. I formed a partnership with another person who pretty much screwed me over. We split up the company (lost a lot of clients in the breakup) and I formed Eidson Empire, LLC. and moved to Hostek for my provider. I still not sure what I am going to do.. I think the VPS will be more than I can afford right now. Maybe if I land about 10 more clients I can justify it. Rick ~| 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:359611 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Is time for a change?
On Tue, Nov 11, 2014 at 9:56 AM, Matt Quackenbush quackfu...@gmail.com wrote: and riddled with security features LMAO. And by security features I, of course, actually meant security HOLES. :P ~| 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:359612 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Is time for a change?
I only have one response when people are looking for CFML hosting. Use Vivio! https://www.viviotech.net/ I was once told, If you have nothing good to say, say nothing at all. As such, I'll refrain from commenting on any other CFML host. :-) On Fri, Nov 7, 2014 at 1:15 PM, Rick Eidson cfh...@kchost.net wrote: Anyone using Hostek? I have been with them for. well a long time. But in the last year it seems there have been more problems than ever. I really hate the idea of moving all my clients but I am wondering if in the long run will I be better off. Any thoughts? Rick ~| 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:359566 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Cartweaver code
I don't see a `cw-auth-firstdata.cfm` in the CW4 code base. However, the code snippets you posted **are** exceptionally similar to those in CW4 auth files. ~| 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:359353 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Having trouble with cfcI have removed all references to site_theartoflovingcatsanddogs_com and deleted the template cache. No luck. Any help?
I am trying really, really, really, really hard to not be rude here, but there's no way you can have 15 years of CF experience as you've claimed in other threads. Each thread you've posted recently has displayed an absolute dearth of information with which we can even attempt to help you, but they've also displayed an absolute clear lack of any troubleshooting effort of your own. We **WANT** to help people; it's why we are on these mailing lists. However, you ___must___ be willing to help yourself, first. We are not your own personal help desk. Please review the following links and then report back. http://www.catb.org/esr/faqs/smart-questions.html http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/index.html My apologies if I've incorrectly remembered the CF version you're using; I believe you previously said CF9, so that's the link I provided. If it's another version, links to the documentation are readily available by Googling CF {version number} documentation. Thanks. On Mon, Jul 21, 2014 at 6:44 PM, Matthew Smith chedders...@gmail.com wrote: Could not find the ColdFusion component or interface site_theartoflovingcatsanddogs_com.cfcs.qrystodatabase. Ensure that the name is correct and that the component or interface exists. The error occurred in *D:/home/fatcate-juice.com/wwwroot/cfcs/paypal.cfc http://fatcate-juice.com/wwwroot/cfcs/paypal.cfc: line 164* *Called from* D:/home/fatcate-juice.com/wwwroot/fbx_settings.cfm: line 48 *Called from* D:/home/fatcate-juice.com/wwwroot/fbx_fusebox30_CF50.cfm: line 191 *Called from* D:/home/fatcate-juice.com/wwwroot/fbx_fusebox30_CF50.cfm: line 33 *Called from* D:/home/fatcate-juice.com/wwwroot/fbx_fusebox30_CF50.cfm: line 1 *Called from* D:/home/fatcate-juice.com/wwwroot/index.cfm: line 9 *Called from* D:/home/fatcate-juice.com/wwwroot/Application.cfc: line 61 162 : cfargument name=app_user_id type=numeric required=no default=0 163 : cfargument name=cfuserid type=string required=no default=*164 : cfobject component=#request.cfcpath#qrystodatabase name=qry /* 165 : cfset qry_unlock_items_for_paypal = qry.qry_unlock_items_for_paypal( app_user_id=#arguments.app_user_id#, cfuserid=#arguments.cfuserid# ) / 166 : /cffunction -- Regards, chedder is bedder ~| 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:358943 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: help
Defies logic, especially given certain claims. http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358850 On Fri, Jul 18, 2014 at 8:26 AM, mac jordan mac.jor...@gmail.com wrote: On Fri, Jul 18, 2014 at 2:21 PM, Dave Watts dwa...@figleaf.com wrote: Still doesn't work...? That's still not a URL, is it? âIt's like pulling teeth â¦â -- mac jordan www.kestrel.org | www.reactivecooking.com | www.jordan-cats.org twitter: @ramtops ~| 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:358904 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: George and redhotkitties.com
sigh On Thu, Jul 10, 2014 at 2:45 PM, Matthew Smith chedders...@gmail.com wrote: Please email chedders...@gmail.com ~| 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:358839 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: George and redhotkitties.com
/me grabs popcorn On Thu, Jul 10, 2014 at 5:06 PM, Matthew Smith chedders...@gmail.com wrote: I've never worked with you... On Jul 10, 2014, at 16:10, Phillip Vector vec...@mostdeadlygame.com wrote: I know.. I did some work for him on this and I kept telling him that he needs to do such and such with his hosting provider, but he kept coming back with the username and password for them. I managed to fix the issue he had, but that popped up a few more. I then fixed those and got him to the point where he needs to upload pictures he has (or edit the database to pictures he has). Still owes me $200 for my trouble. On Thu, Jul 10, 2014 at 12:58 PM, Russ Michaels r...@michaels.me.uk wrote: this is starting to remind me of a movie http://www.imdb.com/title/tt0109686/ On Thu, Jul 10, 2014 at 8:56 PM, Matt Quackenbush quackfu...@gmail.com wrote: sigh On Thu, Jul 10, 2014 at 2:45 PM, Matthew Smith chedders...@gmail.com wrote: Please email chedders...@gmail.com ~| 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:358843 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Dynamic Query Name in Custom Tag?
Try cfdump var=#variables[ 'ConvertedFields_' attributes.QueryName ]# On Tue, May 27, 2014 at 4:49 PM, Dan LeGate d...@legeek.com wrote: Hi all, I'm attempting to create a dynamic query name inside a Custom Tag. It seems to get created fine, but referencing it seems to be the problem. Here's where I set it up: cfquery name=ConvertedFields_#attributes.QueryName# dbtype=query So, yes, it's a Query of Query, if that makes a difference. But when I try to reference it later, like this: cfdump var=ConvertedFields_#attributes.QueryName# or cfdump var=#ConvertedFields_[attributes.QueryName]# or cfdump var=#ConvertedFields_['#attributes.QueryName#']# It always errors out with Variable CONVERTEDFIELDS_ is undefined. I know I'm missing something simple here. My brain is not recalling how to handle these. :-) Any help is appreciated. ~| 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:358693 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: HMail server
Same here. On May 11, 2014 10:07 AM, Scott Stroz boyz...@gmail.com wrote: On Sat, May 10, 2014 at 3:36 PM, Al Musella, DPM muse...@virtualtrials.comwrote: I mention it here becuase it is one of the common mail servers to use for cf. It is? I have never heard of hmail until about 2 minutes ago. -- Scott Stroz --- You can make things happen, you can watch things happen or you can wonder what the f*k happened. - Cpt. Phil Harris http://xkcd.com/386/ ~| 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:358614 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: max reqs
Two instances would be done with an Enterprise license. On Fri, May 9, 2014 at 9:53 AM, John M Bliss bliss.j...@gmail.com wrote: Would I need two CF server licenses for this...? Also, this is CF Standard we're talking about. Does Standard do multi-server? On Fri, May 9, 2014 at 9:47 AM, Dave Watts dwa...@figleaf.com wrote: We have one ACF10 production server for two sites: 1 - a longer request-time management site 2 - a short request-time site for the public ( 300 milliseconds / req) What's the best/easiest way to reserve, say, half of my Maximum number of simultaneous Template requests for the short request-time site? Is there a way to do that via CF admin? Application vars? Programmatically? To the best of my knowledge, there is no way to do this. But that's why CF has multi-server functionality. You can create two instances, dedicate one instance to each site, and control the resources available to each instance. Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358597 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: max reqs
In short, yes. There'll be some configuration change requirements, but yes, people do it all the time. On Fri, May 9, 2014 at 3:32 PM, John M Bliss bliss.j...@gmail.com wrote: Can ACF10 Standard and Railo coexist on the same server, one attached to one IIS website and the other attached to another IIS website? On Fri, May 9, 2014 at 10:56 AM, Russ Michaels r...@michaels.me.uk wrote: if shelling out for a enterprise license is not viable, you could try using Railo for the management site. On Fri, May 9, 2014 at 3:09 PM, Dave Watts dwa...@figleaf.com wrote: Would I need two CF server licenses for this...? No, just one Enterprise license. Also, this is CF Standard we're talking about. Does Standard do multi-server? No. Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358602 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: max reqs
By the way, I apologize for my brevity earlier. I would give the long answer (i.e. how to do it), too, but, well, I haven't used Windows in several years and it's been even longer since I used ACF, so I've never personally done a side-by-side install on Windows. On Fri, May 9, 2014 at 5:34 PM, Gerald Guido gerald.gu...@gmail.com wrote: Yeah, what Matt said. There are several ways to do it. I have done it like so: http://blogs.iis.net/wonyoo/archive/2008/07/09/application-request-routing-arr-as-a-reverse-proxy.aspx HTH G! -- Gerald Guido Twitter https://twitter.com/CozmoTrouble Blarg http://www.myinternetisbroken.com Facebook https://www.facebook.com/gerald.guido.9 On Fri, May 9, 2014 at 3:39 PM, Matt Quackenbush quackfu...@gmail.com wrote: In short, yes. There'll be some configuration change requirements, but yes, people do it all the time. On Fri, May 9, 2014 at 3:32 PM, John M Bliss bliss.j...@gmail.com wrote: Can ACF10 Standard and Railo coexist on the same server, one attached to one IIS website and the other attached to another IIS website? On Fri, May 9, 2014 at 10:56 AM, Russ Michaels r...@michaels.me.uk wrote: if shelling out for a enterprise license is not viable, you could try using Railo for the management site. On Fri, May 9, 2014 at 3:09 PM, Dave Watts dwa...@figleaf.com wrote: Would I need two CF server licenses for this...? No, just one Enterprise license. Also, this is CF Standard we're talking about. Does Standard do multi-server? No. Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358604 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Unable to add text to HTML HEAD tag
Suggestion #1: Stop using any and all CF UI tags. Use JavaScript, whether you write it from scratch or rely on a JS framework such as jQuery. Suggestion #2: Refer to Suggestion #1. On Wed, May 7, 2014 at 11:19 AM, John Pullam jpul...@mcleansystems.comwrote: I'm doing some testing on my new CF10 desktop system and have run into an odd one that I can't figure out. This program has been running OK for several years but when I ran it in CF10 it generated the error message Unable to add text to HTML HEAD tag. It did this at the end of the page after everything else looked fine. The error line it contained was a cfjaxaproxy inside a CFWINDOW tag. The detailed explanation says This is probably because you have already used a CFFLUSH tag in your template or buffered output is turned off. I haven't used a CFFLUSH and my administrator is set for 1024 buffering (the default). When I comment out the CFWINDOW tag it runs fine. The CFWINDOW is this: cfwindow name=Invoice modal=true resizable=false title=Invoice Details width=320 height=300 x=500 y=170 bodyStyle=font-size:12px; font-family: verdana; color: black; text-align: left; headerStyle=font-size:13px; font-weight:bold; font-family:Verdana; background-color: ##003399; color: white; text-align:left; cfajaximport tags=cfform, cfwindow scriptsrc=/CFIDE/scripts /cfwindow I took out the cfajaximport but the error just moved to another line number. Any suggestions? ~| 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:358571 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Unable to add text to HTML HEAD tag
This. Precisely. On Wed, May 7, 2014 at 12:28 PM, Carl Von Stetten vonner.li...@vonner.netwrote: Rewrite the whole thing right now? No. I would progressively replace CF UI tags with clean JS frameworks or custom JS as you touch each section of your application. You'll find fewer and fewer people are using the CF UI tags and therefore less and less assistance available. And most of the CF UI tag problems people seek assistance with are directly related to shortcomings/bugs in said tags that will probably never be fixed by Adobe. Considering that the CF UI stuff is built on top of JS libraries that are several versions (and several years) old, you are far better off investing in implementing current versions of JS libraries yourself and reaping the benefits of the cumulative feature improvements/bug fixes of those libraries. Just my $0.01 (inflation sucks, don't it) -Carl V. On 5/7/2014 8:35 AM, John Pullam wrote: So you suggest going back and rewriting a 50,000 line application in order to resolve the problem? Not a very practical solution, I'm afraid. Does anyone have a more realistic suggestion? ~| 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:358575 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Unable to add text to HTML HEAD tag
It's too bad you feel that way. You asked an open-ended question (Any suggestions?), and I gave you the best advice I can give. If I were personally tackling the problem you face, I would do so exactly as I suggested. I won't apologize for that, because it is exceptionally sound advice, and was a direct answer to the exact question you asked. Additionally, I did not in any way, shape, or form criticize you or anyone else, and I certainly formed no opinion on your intellect or experience level. On Wed, May 7, 2014 at 2:21 PM, John Pullam jpul...@mcleansystems.comwrote: I don't dispute that rewriting it might be the best long term solution. And perhaps doing it in pieces is smart too (although I'd hate to be the person who had to maintain the application when it is in the middle.) But I wasn't asking for advice on CF programming strategy, rather I was looking for help on one particular problem, after having spent a few hours with no results from searches and tests. It annoys me (and I'm sure others) when people feel compelled to advise/lecture on programming techniques rather than discuss the issue. It also detracts from the quality of discussion because who wants to put themselves up for that criticism? Clearly anyone who advises me on my problem must be as dumb and inexperienced as I am! I will probably get very little additional feedback on this question because of that response. ~| 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:358579 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfajaxproxy problem
On May 2, 2014 4:07 PM, Pete Ruckelshaus pruckelsh...@gmail.com wrote: Any idea of what I'm missing here? I can easily do this without using cfajax, but wanted to try something new and now it's bugging me. Thanks, Pete There's your answer. Seriously, one should never use any of the CF UI tags. They render horrific JavaScript and are terrible for one's own skill development. ~| 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:358548 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Quick Survey
On Wed, Mar 26, 2014 at 8:21 AM, John M Bliss bliss.j...@gmail.com wrote: I'll blissfully assume that 2/3 - 3/4 of the people on this list are not going to take this survey because they're not moving away from CFML. That's the wrong assumption. It should be: I'll blissfully assume that 2/3 - 3/4 of the people on this list are not going to take this survey because the subject line isn't CF is dead. :-) ~| 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:358095 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: The long tail of ColdFusion fail
On Wed, Mar 26, 2014 at 5:21 PM, Raymond Camden raymondcam...@gmail.comwrote: On Wed, Mar 26, 2014 at 3:58 PM, Dave Watts dwa...@figleaf.com wrote: Except that in your analogy, it is obvious that one need to open the doors from time to time in order to be able to use the car. With CF, there is never a good reason to leave the server unlocked. Sure there is. Development servers don't need a secure setup if they're not exposed to untrusted networks. And it's not as if this is a binary thing: locked vs unlocked. There are different levels of locked that are appropriate for different use-cases and environments. Dave, you seem to be implying that there isn't one solution that works for everyone magically. Insane. ^ in honor of deadpanners everywhere :D ~| 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:358141 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF to groovy, awe man wth...
I would recommend taking a look through http://compiledammit.com/. It is authored by a group of ex-CFers who have moved over to Groovy land. They have a series of posts that are written specifically for CFers, too. And +infinity to learning on the job. HTH On Mar 17, 2014 10:12 AM, morchella morchella.delici...@gmail.com wrote: Dave i agree completly. questions like that are not appreciated where i am currently! i have found some basic tut's and will go through them. hopfuly i can set up a test env on local machine without needing admin right to instal the JDK. hate being on lockdown. i need to change my outlook as every one has already stated! being paid to learn is a good thing. i should have done that with Java in 2001. things might be different now! On Mon, Mar 17, 2014 at 9:59 AM, Dave Watts dwa...@figleaf.com wrote: so we have some people at the top here wanting us to switch from cf to groovy. i have no control other then will support all apps until this thing happens. so was curious if any one here has done any groovy stuff, and what advice they could give to a old man who has done cf since 1998. i don't want to learn it. but have to. so any good books or resources that you know of? hoping it doesn't happen, or that i find another cf shop before it does. A bunch of other people have already replied about the positive value of learning new things. Remember, this is an industry where you constantly have to learn new things! Getting paid to learn them on-the-job is the best possible thing for you, personally. That said, it may not actually be the best thing for your employer, simply because the value of existing code is very, very high, as is the cost of rebuilding applications in a new language. So, you might want to ask your employer what value they expect to get from this? Honestly, as a consultant, I see this we're going to rewrite all our language X applications in language Y, and it's usually just a way for consultants (like me!) to make money while providing very little actual value to the organization making the switch. It's true when people rewrite other applications in CF, and it's true when people rewrite CF applications in something else. The best approach is to build new applications in the new environment, and move old applications to the new environment when they need significant changes that would be expensive to implement even in CF. Dave Watts, CTO, Fig Leaf Software 1-202-527-9569 http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357955 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: The long tail of ColdFusion fail
On Mon, Mar 17, 2014 at 3:11 PM, Phillip Vector vec...@mostdeadlygame.comwrote: We're not releasing any more CF sites and are converting those site we can to PHP. Oh yeah. Change from a closed source to an open source. What can possibly go wrong. :) That has to be one of the most uneducated posts I have ever read. For those reading this in the future, please never succumb to the ridiculous thought that closed source equates to security or that open source equates to insecurity. the fact of the matter is that neither closed- nor open-source is inherently more or less secure than the other. Do your homework and never listen to uneducated opinions/statements like the one espoused by the poster I quoted above. ~| 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:357967 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: The long tail of ColdFusion fail
+infinity On Mon, Mar 17, 2014 at 5:57 PM, Russ Michaels r...@michaels.me.uk wrote: And to follow that up, yes php has its fair share of security issues too but this is mainly directed at the uber popular apps because there are 100s of thousands of sites using them not because it is foss. Yes cf has been hacked but it has not been targeted anywhere near as many times as php because it is not worth it given the number of sites using cf. Moving to Railo would be a less drastic step, but I can certainly understand why it is hard to sell cf solutions. Russ Michaels www.michaels.me.uk cfmldeveloper.com cflive.net cfsearch.com On 17 Mar 2014 19:22, Matt Quackenbush quackfu...@gmail.com wrote: On Mon, Mar 17, 2014 at 3:11 PM, Phillip Vector vec...@mostdeadlygame.comwrote: We're not releasing any more CF sites and are converting those site we can to PHP. Oh yeah. Change from a closed source to an open source. What can possibly go wrong. :) That has to be one of the most uneducated posts I have ever read. For those reading this in the future, please never succumb to the ridiculous thought that closed source equates to security or that open source equates to insecurity. the fact of the matter is that neither closed- nor open-source is inherently more or less secure than the other. Do your homework and never listen to uneducated opinions/statements like the one espoused by the poster I quoted above. ~| 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:357982 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Honest question about cfform
In a nutshell Because it's a bloated, outdated, streaming pile of dung. :-) On Mar 3, 2014 10:43 PM, Gerald Guido gerald.gu...@gmail.com wrote: My bad: Why are people so vehemently opposed to CFForm? G! -- Gerald Guido Twitter https://twitter.com/CozmoTrouble Blarg http://www.myinternetisbroken.com Facebook https://www.facebook.com/gerald.guido.9 On Mon, Mar 3, 2014 at 10:39 PM, Gerald Guido gerald.gu...@gmail.com wrote: Why are people so vehemently opposed so to CFForm? Many TIA in advance, Curious-G! -- Gerald Guido Twitter https://twitter.com/CozmoTrouble Blarg http://www.myinternetisbroken.com Facebook https://www.facebook.com/gerald.guido.9 ~| 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:357820 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Honest question about cfform
The business case is that it is bloated, outdated (i.e. the Javascript libraries that it utilizes), and it is not even good Javascript at that. Maybe you would be better served giving your case for it and then folks can provide counterpoints. But the answer to the question you asked is what I gave. ;-) On Mar 4, 2014 12:06 AM, Gerald Guido gerald.gu...@gmail.com wrote: I am going to ignore that. Can I get a business case argument? Thanxk G! -- Gerald Guido Twitter https://twitter.com/CozmoTrouble Blarg http://www.myinternetisbroken.com Facebook https://www.facebook.com/gerald.guido.9 On Mon, Mar 3, 2014 at 11:57 PM, Matt Quackenbush quackfu...@gmail.com wrote: In a nutshell Because it's a bloated, outdated, streaming pile of dung. :-) On Mar 3, 2014 10:43 PM, Gerald Guido gerald.gu...@gmail.com wrote: My bad: Why are people so vehemently opposed to CFForm? G! -- Gerald Guido Twitter https://twitter.com/CozmoTrouble Blarg http://www.myinternetisbroken.com Facebook https://www.facebook.com/gerald.guido.9 On Mon, Mar 3, 2014 at 10:39 PM, Gerald Guido gerald.gu...@gmail.com wrote: Why are people so vehemently opposed so to CFForm? Many TIA in advance, Curious-G! -- Gerald Guido Twitter https://twitter.com/CozmoTrouble Blarg http://www.myinternetisbroken.com Facebook https://www.facebook.com/gerald.guido.9 ~| 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:357823 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Honest question about cfform
I'm not sure what you're asking (saying?), but if you're asking me if it's worth not using cfform the answer is a resounding hell yes! There is no viable use case for cfform in my world. On Mar 4, 2014 12:44 AM, Gerald Guido gerald.gu...@gmail.com wrote: I am acutely aware of the arguments on both sides. But as I start rewriting our form validation system, as you have Mr. Quackenbush, I really have to pose the question: Is the juice worth the squeeze? Food for thought G! -- Gerald Guido Twitter https://twitter.com/CozmoTrouble Blarg http://www.myinternetisbroken.com Facebook https://www.facebook.com/gerald.guido.9 On Tue, Mar 4, 2014 at 12:24 AM, Matt Quackenbush quackfu...@gmail.com wrote: The business case is that it is bloated, outdated (i.e. the Javascript libraries that it utilizes), and it is not even good Javascript at that. Maybe you would be better served giving your case for it and then folks can provide counterpoints. But the answer to the question you asked is what I gave. ;-) On Mar 4, 2014 12:06 AM, Gerald Guido gerald.gu...@gmail.com wrote: I am going to ignore that. Can I get a business case argument? Thanxk G! -- Gerald Guido Twitter https://twitter.com/CozmoTrouble Blarg http://www.myinternetisbroken.com Facebook https://www.facebook.com/gerald.guido.9 On Mon, Mar 3, 2014 at 11:57 PM, Matt Quackenbush quackfu...@gmail.com wrote: In a nutshell Because it's a bloated, outdated, streaming pile of dung. :-) On Mar 3, 2014 10:43 PM, Gerald Guido gerald.gu...@gmail.com wrote: My bad: Why are people so vehemently opposed to CFForm? G! -- Gerald Guido Twitter https://twitter.com/CozmoTrouble Blarg http://www.myinternetisbroken.com Facebook https://www.facebook.com/gerald.guido.9 On Mon, Mar 3, 2014 at 10:39 PM, Gerald Guido gerald.gu...@gmail.com wrote: Why are people so vehemently opposed so to CFForm? Many TIA in advance, Curious-G! -- Gerald Guido Twitter https://twitter.com/CozmoTrouble Blarg http://www.myinternetisbroken.com Facebook https://www.facebook.com/gerald.guido.9 ~| 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:357825 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Honest question about cfform
Never. Ever. I have never used cfform and it's unfathomable to me to think I ever would. The only conceivable efficiency for cfform is for a developer that knows essentially nothing other than following along with his / her WACK and got to the part that says, Oh, shiny! And no, that's not actually efficient. I wouldn't even use cfform for a prototype of the most basic of applications. Seriously. On Mar 4, 2014 1:01 AM, Gerald Guido gerald.gu...@gmail.com wrote: Not ever? As in 100% never? Curious, G! -- Gerald Guido Twitter https://twitter.com/CozmoTrouble Blarg http://www.myinternetisbroken.com Facebook https://www.facebook.com/gerald.guido.9 On Tue, Mar 4, 2014 at 12:56 AM, Matt Quackenbush quackfu...@gmail.com wrote: I'm not sure what you're asking (saying?), but if you're asking me if it's worth not using cfform the answer is a resounding hell yes! There is no viable use case for cfform in my world. On Mar 4, 2014 12:44 AM, Gerald Guido gerald.gu...@gmail.com wrote: I am acutely aware of the arguments on both sides. But as I start rewriting our form validation system, as you have Mr. Quackenbush, I really have to pose the question: Is the juice worth the squeeze? Food for thought G! -- Gerald Guido Twitter https://twitter.com/CozmoTrouble Blarg http://www.myinternetisbroken.com Facebook https://www.facebook.com/gerald.guido.9 On Tue, Mar 4, 2014 at 12:24 AM, Matt Quackenbush quackfu...@gmail.com wrote: The business case is that it is bloated, outdated (i.e. the Javascript libraries that it utilizes), and it is not even good Javascript at that. Maybe you would be better served giving your case for it and then folks can provide counterpoints. But the answer to the question you asked is what I gave. ;-) On Mar 4, 2014 12:06 AM, Gerald Guido gerald.gu...@gmail.com wrote: I am going to ignore that. Can I get a business case argument? Thanxk G! -- Gerald Guido Twitter https://twitter.com/CozmoTrouble Blarg http://www.myinternetisbroken.com Facebook https://www.facebook.com/gerald.guido.9 On Mon, Mar 3, 2014 at 11:57 PM, Matt Quackenbush quackfu...@gmail.com wrote: In a nutshell Because it's a bloated, outdated, streaming pile of dung. :-) On Mar 3, 2014 10:43 PM, Gerald Guido gerald.gu...@gmail.com wrote: My bad: Why are people so vehemently opposed to CFForm? G! -- Gerald Guido Twitter https://twitter.com/CozmoTrouble Blarg http://www.myinternetisbroken.com Facebook https://www.facebook.com/gerald.guido.9 On Mon, Mar 3, 2014 at 10:39 PM, Gerald Guido gerald.gu...@gmail.com wrote: Why are people so vehemently opposed so to CFForm? Many TIA in advance, Curious-G! -- Gerald Guido Twitter https://twitter.com/CozmoTrouble Blarg http://www.myinternetisbroken.com Facebook https://www.facebook.com/gerald.guido.9 ~| 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:357827 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: How do I pass this jQuery variable as arguments to a cfc method?
It is **impossible** to use document.write java script (sic) to write the variable to a CF variable. Cannot be done. Why? Because CF variables are only available on the server side, and are long gone figments of one's imagination by the time the HTML/JavaScript/CSS/etc. reaches the client side (the browser). You can, however, use JavaScript to write a form field value or to directly POST/GET to/from a CFC once the page has loaded in the browser. On Wed, Jan 15, 2014 at 4:17 PM, Robert Harrison rob...@austin-williams.com wrote: If the value isn't changing after the page is rendered you may be able to use document.write java script to write the variable to a CF variable that you can pass to the CFC. I've done that before and it works fine, so long as the variable doesn't change after the page is rendered. Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: Wednesday, January 15, 2014 3:57 PM To: cf-talk Subject: How do I pass this jQuery variable as arguments to a cfc method? Hi, all... I've approached this problem from every direction I can think of and with reference to many, many websites, but I still can put together an answer. I have this HTML in a form: cfoutput query = qGetSpecials div class=special_title_container span class=title_checkbox_span input id=special_id_#special_id# class=special_title_checkbox value=#special_title# type=checkbox name=special_title /span span class=special_title_span#special_title#/span /div /cfoutput Which is output into this: input id=special_id_26 class=special_title_checkbox value=First Special type=checkbox name=special_title input id=special_id_27 class=special_title_checkbox value=Second Special type=checkbox name=special_title input id=special_id_28 class=special_title_checkbox value=Third Special type=checkbox name=special_title This jQuery processing the inputs: $(document).ready(function() { $('#newsletter_preview_button').click(function() { var specialTitleID = $('.special_title_checkbox:checked'); $('.special_title_checkbox:checked').each(function(index,value) { var specialTitleID = $(this).attr('id').split('_').pop(); var specialTitleID = 'specialTitle_'+specialTitleID; alert(specialTitleID); --- [ this alerts the three input values, 26, 27, 28, individually when form is submitted ] }); values = { emailNewsletterGreeting: emailNewsletterGreeting, specialTitleID: specialTitleID} (Followed by AJAX code...) And this cfc method: cffunction name = mProcessEmailNewsletterForm displayName= mProcessEmailNewsletterForm hint = Processes Email Newsletter Form output = true access = remote returnType= struct cfargument name = emailNewsletterGreeting type = string required = no / cfargument name = specialTitleID type = string required = no / cfset emailNewsletterStruct = structNew() / cfset emailNewsletterStruct.email_newsletter_greeting = '#arguments.email_newsletter_greeting#' / cfset emailNewsletterStruct.specialTitleID = '#arguments.specialTitleID#' / cfreturn emailNewsletterStruct / /cffunction But, the cffunction above doesn't know what to do with the value, specialTitleID, when it's received. Or, rather, I don't know how to change it in the jQuery code or the cffunction code so that each specialTitleID can be separted into individual cfarguments. I've tried specifying cfargument name=specialTitleID as type=array, type=list, type=string, but I get a JS error in Firebug no matter what I try. I'm sure it's simple, I just haven't handled a multi-valued variable going via AJAX to a cfc method before. (or that I remember...). Suggestions, anyone? Thanks, Rick -- -- Ninety percent of the politicians give the other ten percent a bad reputation. Henry Kissinger ~| 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:357432 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Hosting... Again
Viviotech. End of discussion. Okay, I'll go on. Vivio provides unprecedented support **and community involvement**. They are the only host that I can - or will - recommend if one is seeking CFML hosting. No one else even compares to their commitment and professionalism. On Mon, Jan 13, 2014 at 10:02 AM, Jon Clausen jon_clau...@silowebworks.comwrote: +1 for Viviotech. Iè´e never had anything but excellent support and turnaround times from them. Iè´e heard some great things about Edge Web Hosting, too, but never had a reason to switch from Viviotech. On Jan 10, 2014, at 8:22 AM, Robert Harrison rob...@austin-williams.com wrote: Hi All, I've got a lot of large CF sites I have to move because my host is not up to what we've grown to be. Love the guy and been with him for years, but now I have to go. I've asked this before (in October), but now that I'm no longer in denial I'm looking for CF hosting recommendations again. I have the previous recommendations which I'm listing below. If anyone has comments about any of the hosts below, or better recommendations, please provide your feedback. I'm about to move a boatload of serous sites. So far, I've gotten recommendations for: Hostek Viviotech CrystalTech http://www.kickassvps.com/ Please let me know if you have additional recommendations or feedback on these hosts. Thanks, Robert ~| 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:357400 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: valid ColdFusion MX 7 download-link
I'd be very surprised if you found an active download link for CF7. Most likely the only way that's going to happen is if someone has the installer file laying around somewhere and puts it on their server for you. CF7 is 4 major versions old now, and has not been supported for years now. If you don't want to pay for a new license (totally understandable), I would recommend looking at Railo instead. Not only is Railo free, it is infinitely better than CF7 - not to mention more secure and actively supported. http://www.getrailo.org/index.cfm/download/ HTH On Dec 10, 2013 7:58 AM, Uwe Degenhardt cf-t...@sdsolutions.de wrote: Hi list, does anybody have a valid ColdFusion MX 7 download-link for me ? Thanks ! Uwe ~| 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:357327 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cffile read 47 MB
Switch to 64-bit. :-) (Seriously. There's not much hope for memory-intensive operations on a 32-bit machine. You're limited to only being able to utilize something like 3.4GB of RAM, and that just ain't gonna cut it.) On Mon, Dec 9, 2013 at 5:25 PM, John M Bliss bliss.j...@gmail.com wrote: And for 32 bit? On Dec 9, 2013 5:14 PM, Steve 'Cutter' Blades cold.fus...@cutterscrossing.com wrote: Looks like you're still using the default install values. On a 64-bit system, I generally look at my overall RAM available, subtract 2GB for the OS, then adjust my CF RAM availability according to what's left, starting at 1 GB max, 256 min, then gradually move up half a gig as required. Finding the right balance in your JVM config (min, max, gc, etc) can really help tweak the performance of your application. Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 12/9/2013 4:01 PM, John M Bliss wrote: Hi, I'm attempting to perform a cffile read on a 47 MB XML file. It's failing but ACF10 is not throwing an error to the browser. Finally dug into the logs and am seeing Java heap space errors. My JVM is configured as such: Min JVM Heap Size - 256 Max JVM Heap Size - 512 JVM Arguments - -XX:MaxPermSize=192m Solution is just to increase those numbers? Does this behavior seem odd? ~| 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:357322 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: TEST IGNORE (2)
I've gotten three (identical) thread-starting emails from you today. I think it's working just fine. :-) On Dec 3, 2013 1:29 PM, John M Bliss bliss.j...@gmail.com wrote: Having trouble starting a new thread via email. Am I the only one? On Wed, Nov 27, 2013 at 11:18 AM, Bryan Stevenson br...@electricedgesystems.com wrote: YepI think I joined in the late 90sprobably 98 *Bryan Stevenson*B.Comm. President CEO Electric Edge Systems Group Inc. - makers of FACTS^(TM) phone: 250.480.0642 cell: 250.920.8830 e-mail: br...@electricedgesystems.com mailto: br...@electricedgesystems.com web: www.electricedgesystems.com http://www.electricedgesystems.com and www.fisheryfacts.com http://www.fisheryfacts.com Please consider the environment before printing this e-mail -CONFIDENTIALITY-- This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. On 13-11-27 03:28 AM, Steve 'Cutter' Blades wrote: No, it's been around longer than ten years. I've been lurking around in here since at least 2000 (if not a little earlier...) Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 11/27/2013 4:59 AM, Adam Cameron wrote: I've been monitoring it for over a year, and have been a member for about... perhaps not ten years (because I doubt it's been around that long, but for ages). I have just seldom had need to reply, and had not noticed what few replies I had made had disappeared into the ether. But I seem to have fixed the disconnect between my email address and what HoF thought my email address was (PEBCAK on my part). That said, yesterday's performance put me off a bit. ~| 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:357242 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
On Tue, Nov 26, 2013 at 2:52 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file, then they would be correct...but in a cfm file...everything is parsed. I know you've been told this repeatedly and so I'm probably just wasting my breath (finger energy, I suppose), but you are 100% incorrect. 100% WRONG. Here's a 100% accurate statement that is based upon your 100% inaccurate one: CF does not execute html files unless your web server is specifically custom-configured to do so. In a default CF installation, CF only executes *.cfm(l) and *.cfc files. At no time does CF parse the entire file that it executes, but rather, it relies on specific syntax and code constructs - CFML and/or CFScript - to determine its parsing boundaries. CF never has and never will parse HTML. Period. The point behind having mappings is so that in the code, you are refering to a directiory by name rather than having to deal with what the path is from the file. You are correct that by setting a CF mapping named `/foo` you can then reference the mapping by name as simply `/foo` rather than needing to write out the full path. CF handles determining what that is when it renders it int o html. You are 100% WRONG if you think CF does anything with mappings for any purpose other than **CFML FILE SYSTEM ACCESS**. ~| 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:357169 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
I don't know that you did and I did not say that you did. But you repeatedly stated that CF parses html, and that is 100% WRONG. CF only parses CFML/CFScript. On Tue, Nov 26, 2013 at 3:07 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Matt...where did I say I was executing a non-cfm file? On Tue, Nov 26, 2013 at 2:04 PM, Matt Quackenbush quackfu...@gmail.com wrote: On Tue, Nov 26, 2013 at 2:52 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file, then they would be correct...but in a cfm file...everything is parsed. I know you've been told this repeatedly and so I'm probably just wasting my breath (finger energy, I suppose), but you are 100% incorrect. 100% WRONG. Here's a 100% accurate statement that is based upon your 100% inaccurate one: CF does not execute html files unless your web server is specifically custom-configured to do so. In a default CF installation, CF only executes *.cfm(l) and *.cfc files. At no time does CF parse the entire file that it executes, but rather, it relies on specific syntax and code constructs - CFML and/or CFScript - to determine its parsing boundaries. CF never has and never will parse HTML. Period. The point behind having mappings is so that in the code, you are refering to a directiory by name rather than having to deal with what the path is from the file. You are correct that by setting a CF mapping named `/foo` you can then reference the mapping by name as simply `/foo` rather than needing to write out the full path. CF handles determining what that is when it renders it int o html. You are 100% WRONG if you think CF does anything with mappings for any purpose other than **CFML FILE SYSTEM ACCESS**. ~| 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:357172 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
Correct. And you should read what I wrote. I addressed your words, exactly. On Tue, Nov 26, 2013 at 3:09 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Matt...please read what you quoted and that should address your statement about non-cfm files... Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file, then they would be correct...but in a cfm file...everything is parsed. I know you've been told this repeatedly and so I'm probably just wasting my breath (finger energy, I suppose), but you are 100% incorrect. 100% WRONG. Here's a 100% accurate statement that is based upon your 100% inaccurate one: CF does not execute html files unless your web server is specifically custom-configured to do so. In a default CF installation, CF only executes *.cfm(l) and *.cfc files. At no time does CF parse the entire file that it executes, but rather, it relies on specific syntax and code constructs - CFML and/or CFScript - to determine its parsing boundaries. CF never has and never will parse HTML. Period. Please read before commenting. I clearly stated that it was in a cfm file...not an html file...sheesh Eric On Tue, Nov 26, 2013 at 2:07 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Matt...where did I say I was executing a non-cfm file? On Tue, Nov 26, 2013 at 2:04 PM, Matt Quackenbush quackfu...@gmail.com wrote: On Tue, Nov 26, 2013 at 2:52 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file, then they would be correct...but in a cfm file...everything is parsed. I know you've been told this repeatedly and so I'm probably just wasting my breath (finger energy, I suppose), but you are 100% incorrect. 100% WRONG. Here's a 100% accurate statement that is based upon your 100% inaccurate one: CF does not execute html files unless your web server is specifically custom-configured to do so. In a default CF installation, CF only executes *.cfm(l) and *.cfc files. At no time does CF parse the entire file that it executes, but rather, it relies on specific syntax and code constructs - CFML and/or CFScript - to determine its parsing boundaries. CF never has and never will parse HTML. Period. The point behind having mappings is so that in the code, you are refering to a directiory by name rather than having to deal with what the path is from the file. You are correct that by setting a CF mapping named `/foo` you can then reference the mapping by name as simply `/foo` rather than needing to write out the full path. CF handles determining what that is when it renders it int o html. You are 100% WRONG if you think CF does anything with mappings for any purpose other than **CFML FILE SYSTEM ACCESS**. ~| 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:357175 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
No, it doesn't. You're flat out wrong. CF does not, has not, and never will parse HTML. It only looks for CFML code to parse, and handles it accordingly. Ex. img src=/foo/bar/image.png / !---// never parsed by CF --- img src=/#foo#/bar/image.png / !---// never parsed by CF --- cfoutput img src=/foo/bar/image.png / !---// never parsed by CF --- img src=/#foo#/bar/image.png / !---// CF only parses #foo#, and only because it's within a cfoutput --- /cfoutput On Tue, Nov 26, 2013 at 3:11 PM, Eric Roberts ow...@threeravensconsulting.com wrote: it parses html in a cfm file...it parses it to see if there are any cf elements in it that it needs to render...like variables and mappings... Eric On Tue, Nov 26, 2013 at 2:10 PM, Matt Quackenbush quackfu...@gmail.com wrote: I don't know that you did and I did not say that you did. But you repeatedly stated that CF parses html, and that is 100% WRONG. CF only parses CFML/CFScript. On Tue, Nov 26, 2013 at 3:07 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Matt...where did I say I was executing a non-cfm file? On Tue, Nov 26, 2013 at 2:04 PM, Matt Quackenbush quackfu...@gmail.com wrote: On Tue, Nov 26, 2013 at 2:52 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file, then they would be correct...but in a cfm file...everything is parsed. I know you've been told this repeatedly and so I'm probably just wasting my breath (finger energy, I suppose), but you are 100% incorrect. 100% WRONG. Here's a 100% accurate statement that is based upon your 100% inaccurate one: CF does not execute html files unless your web server is specifically custom-configured to do so. In a default CF installation, CF only executes *.cfm(l) and *.cfc files. At no time does CF parse the entire file that it executes, but rather, it relies on specific syntax and code constructs - CFML and/or CFScript - to determine its parsing boundaries. CF never has and never will parse HTML. Period. The point behind having mappings is so that in the code, you are refering to a directiory by name rather than having to deal with what the path is from the file. You are correct that by setting a CF mapping named `/foo` you can then reference the mapping by name as simply `/foo` rather than needing to write out the full path. CF handles determining what that is when it renders it int o html. You are 100% WRONG if you think CF does anything with mappings for any purpose other than **CFML FILE SYSTEM ACCESS**. ~| 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:357177 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
The answer is still the same: What you are expecting will never be experienced with CF. On Tue, Nov 26, 2013 at 3:15 PM, Eric Roberts ow...@threeravensconsulting.com wrote: so back to the question...why are the per application settings not working? Eric ~| 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:357178 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
+infinity On Tue, Nov 26, 2013 at 3:28 PM, Adam Cameron dac.c...@gmail.com wrote: it parses html in a cfm file...it parses it to see if there are any cf elements in it that it needs to render...like variables and mappings... No it doesn't. CF only parses the CFML part of any file. It completely ignores anything else. This is easy to see if you decompile the compiled class file... you'll see all the plain text stuff (ie: everything that's not CFML) simply being echoed back, untouched. Eric, you need to accept you're mistaken here. Why do you think we (all) would be suggesting you are if you're not? There's no conspiracy here. We just actually know what we're talking about. Seriously. -- Adam ~| 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:357185 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
That has been answered, too. From Jon... OK, Just ran a test and I cant duplicate your server mapping functionality with a standard Apache/CF Connector server setup but I *can* duplicate that functionality when I tell Apache to serve an image MIME type (e.g. - .jpg, .png) through Coldfusion. Is this how your setup is configured? If so, yowsers on a few levels . If youre serving every MIME type with Coldfusion, then the reason youre getting this behavior is because the request is being evaluated and served before the application is even being brought in to play. CF is evaluating that file according to the path specified at the server level, not recognizing any CFML and then just passing it back to the browser without involving the Application at all. You would never be able to get application-specific mappings to work for this purpose. Once again, though, this would be attempting to use the web application server for a purpose it was not designed for and serving non-CFML MIME types through the Coldfusion server can have major security and performance implications. - J From Jon, again... I suspect the answer lies within the unique configuration of your development server. No matter what variables you have in place with your system that allow for this behavior to happen, the simple fact is that youre attempting to use CF to do something its not meant to do. Even if you get it to work in the short-term, it will likely bite you again in the long-term. I would opt to take the consensually correct and conventional approach to your problem, rather than attempting to be clever in hacking the functionality of the server for something as simple as an image path. From Phillip... It might be coincidence only. We had something similar with a directory mapping that caused one thing on one domain but when another domain/app had a similar directory weird things happened until we removed the CF mapping. Adam and John are right, CF mappings as defined through the ColdFusion administrator are reflective of and utilized by ColdFusion resources only. On Tue, Nov 26, 2013 at 3:32 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Then why does it work when i set up the mapping in cfadmin? No one seems to want to answer that... Eric On Tue, Nov 26, 2013 at 2:21 PM, Wil Genovese jugg...@trunkful.com wrote: I swear this guy is a troll, nobody is that dense. but incase he is: CFMappings are used ONLY FOR things such as CFINCLUDE. They are never used for img src=/some/place/imagename.png To get a mapping for image or other HTML urls you have to use the web server (IIS OR Apache) Alias configuration settings. These are two totally different types of mappings and they have NO relation to each other. Can only hope this sinks in. Wil Genovese One man with courage makes a majority. -Andrew Jackson A fine is a tax for doing wrong. A tax is a fine for doing well. On Nov 26, 2013, at 2:12 PM, Matt Quackenbush quackfu...@gmail.com wrote: Correct. And you should read what I wrote. I addressed your words, exactly. On Tue, Nov 26, 2013 at 3:09 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Matt...please read what you quoted and that should address your statement about non-cfm files... Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file, then they would be correct...but in a cfm file...everything is parsed. I know you've been told this repeatedly and so I'm probably just wasting my breath (finger energy, I suppose), but you are 100% incorrect. 100% WRONG. Here's a 100% accurate statement that is based upon your 100% inaccurate one: CF does not execute html files unless your web server is specifically custom-configured to do so. In a default CF installation, CF only executes *.cfm(l) and *.cfc files. At no time does CF parse the entire file that it executes, but rather, it relies on specific syntax and code constructs - CFML and/or CFScript - to determine its parsing boundaries. CF never has and never will parse HTML. Period. Please read before commenting. I clearly stated that it was in a cfm file...not an html file...sheesh Eric On Tue, Nov 26, 2013 at 2:07 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Matt...where did I say I was executing a non-cfm file? On Tue, Nov 26, 2013 at 2:04 PM, Matt Quackenbush quackfu...@gmail.com wrote: On Tue, Nov 26, 2013 at 2:52 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file
Re: cfscript assistance
On Fri, Nov 15, 2013 at 9:35 AM, Stephens, Larry V steph...@iu.edu wrote: cfscript for ( x=1; x=GetB.Recordcount; x=x+1) { if GetB.bcode[x] NEQ xcampus { This throws an invalid construct error: ColdFusion was looking at the following text: GetB.bcode ? What am I missing? if ( GetB.bcode[x] != xcampus ) { // do something } ~| 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:357075 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Hosting
http://viviotech.net Hands down the best CFML host. On Oct 21, 2013 8:08 AM, Robert Harrison rob...@austin-williams.com wrote: I know this has been asked 100 times before, but it looks like I need a new cf hosts that can host enterprise level sites. Any recommendations? I've have gone to the archives but the HOF site is down. Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_ ~| 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:356951 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Multiple instances of Railo
There are lots of folks that run multiple instances of Railo. I would recommend joining the Railo list and posting your question there. https://groups.google.com/forum/#!forum/railo On Thu, Sep 26, 2013 at 9:44 AM, Ian Chapman ian.chap...@melodimedia.co.ukwrote: Hi Guys, I did post this in the CF-Server group but it seems quiet in there usually, so sorry for this repost in here We are due to upgrade the hard disks in our two CF web servers and are considering fresh installs of a CF server and applications, partly as a clean up and also to upgrade CF to a more recent version. We are currently running Windows Server 2008 RC2 on two servers (mirrored and accessed via a load balancer) with IIS 7 and ColdFusion MX server 7.1. And CF is running on JRun. We have 3 Jrun/CF instances which splits our application by type so we can restart as certain JRun instance if required without affecting other applications. When MX 7.1 was installed previously we know the tech guy had a nightmare with the dlls which IIS uses to connect to Jrun and had to run IIS in 32 bit mode using 32 bit drivers. We would like to remove these issues and the best way may be to upgrade to a later version of CF server which runs on true 64 bit IIS. The powers that be will not allow the cost of upgrading to a later Adobe CF Server version.. So we are considering Railo and are testing a single instance installation at the moment. Does anybody have experience of running Railo on multiple J2EE instances? If so have they any resources which give verbose and accurate step-by-step setup instructions? And which J2EE server were they running of those recommended for Railo? Any advice appreciated as this will be our first CF reinstall since the previous guy left the company. Regards, Ian. ~| 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:356849 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: move database with Java
Super simple, as long as you don't try and reinvent the wheel (i.e. don't do it with CF). Use mysqldump to create a dump of the db, then put that file wherever you need it to be. There are a variety of data transfer options out there, but it'll depend upon your servers, etc. HTH On Tue, Sep 17, 2013 at 9:14 AM, morchella morchella.delici...@gmail.comwrote: Hey Guys, i know this is not necessarily a cf question. i know next to nothing about java, other then creating a scheduled job to copy a table. now my employer has tasked me with moving or backing up a MySQL DB from one server to another. to me this sounds crazy. but i am not supposed to use cf, or built in MySqlEnterprise tools. Have any of you guys done this with java before? are there any links/examples you could suggest. i don't think it can be done quickly, as in from midnight to 5am kinda thing. any help would be Massively appreciated! Thank you! ~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:356803 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: json - check username
That seems to indicate that jQuery isn't loaded, or perhaps you have another js library that is in conflict with jQuery. On Wed, Aug 28, 2013 at 12:55 PM, Torrent Girl moniqueb...@gmail.comwrote: Hello I am trying this simple json code http://ja.mesbrown.com/2009/10/coldfusion-and-jquery-using-ajax-to-call-a-cfc-and-return-json/ and no matter where I put my CFC, I get the following message. Any thoughts? ReferenceError: $ is not defined $.getJSON(validate.cfc, { ~| 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:356590 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: json ReferenceError: $ is not defined error
As myself and others replied on your other identical thread: jQuery is not loaded or is in conflict with another library and $ is not defined. Make sure you have jQuery loaded. On Wed, Aug 28, 2013 at 2:24 PM, Monique Boea moniqueb...@gmail.com wrote: hello all I am attempting to implement this simple checkusername code: http://ja.mesbrown.com/2009/10/coldfusion-and-jquery-using-ajax-to-call-a-cfc-and-return-json/ No matter where I put my cfc, I get a json ReferenceError: $ is not defined error. Any thoughts? ~| 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:356596 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Fusion Authority
Wow. The most recent FAQU was released in December 2009. I am shocked to hear that a link to purchase a magazine that had been dead and gone for 3.5 years by June 2013 was active. Even more shocked to hear that a payment was accepted. On Fri, Aug 23, 2013 at 9:43 AM, Patrick McGough patrick.mcgo...@gmail.comwrote: Good Morning, I am trying to reach out to anyone that could tell me what the status of Fusion Authority is. I purchased a quarterly subscription with access to all back issues back in June and I can't get a hold of anyone to tell me what the status of this is. I do realize that this is completely off topic, but I was hoping someone out there might know someone who might know someone who could help me. Thank you in adavnce. I can be reached through my hotmail account at scruff95athotmaildotcom. ~| 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:356549 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Using IN() within a cfquery statement
I take an entirely different viewpoint on Dave's answer. I read the original post and declined to answer because it seemed pretty obvious that ZERO effort was put in place by the questioner to find an answer. My bet is Dave had a similar feeling regarding the effort, but instead of declining to answer gave the quickest and easiest answer that could/would be found by a quick search or perusal of the documentation. Sometimes RTFM *is* the appropriate response. ;-) On Mon, Aug 19, 2013 at 9:50 AM, Mark A Kruger mkru...@cfwebtools.comwrote: Dave is allowed one weak answer per year... he's waited til August so I say we give him a break :) -Mark -Original Message- From: DURETTE, STEVEN J [mailto:sd1...@att.com] Sent: Monday, August 19, 2013 8:46 AM To: cf-talk Subject: RE: Using IN() within a cfquery statement Dave... I'm surprised. Wouldn't you think that CFQueryParam would be the better way? Where stuff in (cfqueryparam value=#form.stuff# cfsqltype=appropriate type list=yes separator=, /) Steve -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Monday, August 19, 2013 9:42 AM To: cf-talk Subject: Re: Using IN() within a cfquery statement I have a select name=stuff multiple in a form filled with results from a query. I get the form field value: stuff=selection1,selection5,selection12. How do I then build a cfquery using the stuff variable in the IN() statement? Use the quotedValueList function to wrap single quotes around them. SELECT ... FROM ... WHERE STUFF IN (#quotedValueList(form.stuff)#) Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356488 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF10 Dev Edition...
I don't know about CF10 (have never downloaded it), but historically speaking, CF's dev editions - at least back to MX, if memory serves me correctly - have been limited to connections from just two IPs. Presumably that is what you're experiencing? HTH On Tue, Aug 13, 2013 at 6:35 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Is ther anything that limits the number of requests in the dev edition? We have some calls that use https and the call is crapping out when I use https to call another page hat has cfc and http requests. The code works fine on out cf9 production and dev servers.Iam trying to set up a local dev, but I have 10 installed. Eric ~| 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:356459 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Autosuggest for ColdFusion 5 ?
jQuery auto suggest plugin? Sent from a mobile something On Aug 9, 2013 12:07 AM, Ashish Gohri mystical...@rediffmail.com wrote: How can i immplement an autosuggest feature for coldfusion 5 ? ~| 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:356424 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Efflare and ImageCR
It's been many years since I've gotten any kind of response out of them. It was a great tag at the time, but long since dead in my experience. On Wed, Jul 31, 2013 at 10:47 AM, Chad Gray cg...@careyweb.com wrote: Anyone know how to get a hold of the developers of ImageCR? It is an image processing CFX extension writing for CF. Their website is a parked and expired. Thanks, Chad ~| 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:356347 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Efflare and ImageCR
Chad, I just checked one of my ancient machines, and I have the v. 3.3 installer (~2006). Contact me off-list if you'd like it. On Wed, Jul 31, 2013 at 11:03 AM, Chad Gray cg...@careyweb.com wrote: I tried that, but it's installer must have installed supporting DLL's or something. Of course this is on a 64 bit box, maybe I need to put it in the Program Files (x86). I will keep poking at it. Thanks, Chad -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Wednesday, July 31, 2013 10:58 AM To: cf-talk Subject: Re: Efflare and ImageCR I need to upgrade a server and I cannot find an installer for imageCR3. I don't think I've ever used ImageCR, but if you have it installed on your existing server, and it's just a CFX DLL, you shouldn't really need an installer. Copy the DLL to the new server, then register it within the CF Administrator. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356352 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Confused: java.lang.NullPointerException CF9
Without seeing any code we're just grasping at straws. My first guess is that you have a mapping that's not set correctly, and a call to a CFC (or perhaps an include) is not finding its target. Sent from a mobile something On Jul 20, 2013 11:01 AM, Mike K afpwebwo...@gmail.com wrote: Can anyone give me some pointers as to where to look for the source or maybe the solution to this problem please? I'm confused - I am getting java.lang.NullPointerException error on a site on a shared server, but not getting the error on other sites on that same server.So presumably the error is something to do with the code on that site. But the error isnt happening on my dev environment, so maybe it's not my code after all. I've looked at all the notes I can find about this and can't see anyone with my environment who's reporting that same error so I can compare notes - at least as far as I can tell. Our setup is: Windows2003 CF9: 9,0,2,282541 Enterprise Database: MSSQLServer2005 Here's my stack trace if it helps: coldfusion.runtime.EventHandlerException: Event handler exception. at coldfusion.runtime.AppEventInvoker.onRequestStart(AppEventInvoker.java:266) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:349) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:94) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62) at coldfusion.CfmServlet.service(CfmServlet.java:200) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Caused by: java.lang.NullPointerException -- Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month ~| 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:356250 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Best means of setting a library of reusable code
Hang on a minute. If I understand this correctly So, how do I make the variables from application.cfc available to contact.cfc under such a scenario? Does the extends functionality of cfc's solve this? ... you're thinking about adding `extends=Application` to your contact.cfc? If that's a correct understanding on my part, then the answer is: HELL NO! DO NOT USE EXTENDS! Your CFCs should be self-contained and any outside variables they need should be passed in as either arguments or properties. Here's a contrived example. // foo.cfc component { property name=datasourcename function init( required string datasourcename ) { variables.datasourcename = arguments.datasourcename return this } function doQuery() { // your query goes here return mycoolquery } } // test.cfm foo = createObject( 'component', 'foo' ).init( application.datasourcename ) writeDump( foo.doQuery ) HTH On Tue, Jun 25, 2013 at 11:41 AM, Rick Faircloth r...@whitestonemedia.comwrote: Alright, that's the confirmation I needed to proceed. So, use 'extends it is! Thanks, Rick On Tue, Jun 25, 2013 at 11:21 AM, Russ Michaels r...@michaels.me.uk wrote: if you use EXTENDS, then everything in the parent CFC is available tot he child. If you want libraries to use on multiple sites, then you would need to put the components in a central location and then adding a mapping to them. On Tue, Jun 25, 2013 at 4:01 PM, Rick Faircloth r...@whitestonemedia.com wrote: Hi, all... I've been writing code for every project I've worked on for the last 10+ years. I did that purposefully to make myself work in a manner which would, hopefully, not cause me to rely on known practices because they were familiar and understood, but always strive to discover better ways of coding. Now, however, I'm trying to combine reusing code I've already written with enhancing the reused code, instead of writing it from scratch each time. On my latest project I decided to take the dive and structure my code of HTML, CF, jQuery, and CSS in away that allows me to create resource libraries that I can build upon and reference from within new projects. I know *not* doing it this way sounds nuts to some of you. But, again, see my first paragraph. There was a method to the madness of this approach. But, now I find myself (after days of trying to understand what I've found on the Internet and in the CF docs to little avail) trying to get a working method for this approach. I started first by putting my initial components for the project *above* the website's root folder. I knew this was going to be problematic. I, of course, immediately got the error, component cannot be found. Then, I read about cfincluding an application.cfc into an application.cfm in the website root folder. For kicks and giggles, not a real solution, because this approach is fundamentally flawed, I put an application.cfm in the site root folder and used the relative path capability of cfinclude to pull in the application.cfc above the site web root and it's settings into the site's directory structure. Knowing that's not a solution, I continued to dig on the Internet. Nothing has clicked. I think there are too many gaps in my understanding to make sense of everything I'm reading. So, I thought I'd just ask the brains that inhabit the world of CF-Talk and ask for a simple explanation of how to go about accessing cfc's above a website root, that allows those cfc's access to the variables set up in application.cfc when it resides inside the site root directory structure. I'm trying to get this to work in the manner that I access virtually every cfc currently, which is through AJAX functionality in jQuery. I can access a mapped path created in application.cfc using AJAX in this manner: url: location.protocol + '//' + location.host + '/common/coldfusion/form-processing/contact.cfc?method=json' However, the contact.cfc has to reference variables setup in the application.cfc, which exists inside the website root. Unless I place the application.cfc in the same folder as contact.cfc, it doesn't work. So, how do I make the variables from application.cfc available to contact.cfc under such a scenario? Does the extends functionality of cfc's solve this? Is that what I need to understand and implement or do I need to look into something else? Clues? Breadcrumbs? Thanks for any feedback! Rick -- -- Ninety percent of the politicians give the other ten percent a bad reputation. Henry
Re: Best means of setting a library of reusable code
On Tue, Jun 25, 2013 at 12:04 PM, Dave Watts dwa...@figleaf.com wrote: In general, you don't want to use Application.cfc as the parent class for any other class except another Application.cfc - for example, in a subdirectory of the parent application. You don't want to use it as the parent class for other CFCs. +infinity ~| 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:356052 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Best means of setting a library of reusable code
You do it exactly like I said you do it: Pass it in as either an argument or a property. When you instantiate your contact.cfc, you pass in everything it needs from outside in order to do its job. The example I gave is completely relevant, albeit not an example of your exact situation. I don't know your exact situation and I'm not going to write your code for you, but I - along with others here - have definitely given you all the information you need to apply the principles to your exact scenario. On Tue, Jun 25, 2013 at 12:40 PM, Rick Faircloth r...@whitestonemedia.comwrote: Your understanding is correct, Matt, but I don't see how your example is relevant. In my application.cfc, I've got a line that sets an application variable: cfset application.siteShortDomain = myShortDomain.com I need that application.siteShortdomain variable available when contact.cfc runs. So, how would I go about this? (I just noticed what Brian and Russ added to the conversation, and Russ is correct, as you can see from above, that I want to extend the global application variables that I've set in application.cfc tp all the other cfc's that are in a common library of cfc's above the website root. ??? Thanks! Rick On Tue, Jun 25, 2013 at 11:50 AM, Matt Quackenbush quackfu...@gmail.com wrote: Hang on a minute. If I understand this correctly So, how do I make the variables from application.cfc available to contact.cfc under such a scenario? Does the extends functionality of cfc's solve this? ... you're thinking about adding `extends=Application` to your contact.cfc? If that's a correct understanding on my part, then the answer is: HELL NO! DO NOT USE EXTENDS! Your CFCs should be self-contained and any outside variables they need should be passed in as either arguments or properties. Here's a contrived example. // foo.cfc component { property name=datasourcename function init( required string datasourcename ) { variables.datasourcename = arguments.datasourcename return this } function doQuery() { // your query goes here return mycoolquery } } // test.cfm foo = createObject( 'component', 'foo' ).init( application.datasourcename ) writeDump( foo.doQuery ) HTH On Tue, Jun 25, 2013 at 11:41 AM, Rick Faircloth r...@whitestonemedia.comwrote: Alright, that's the confirmation I needed to proceed. So, use 'extends it is! Thanks, Rick On Tue, Jun 25, 2013 at 11:21 AM, Russ Michaels r...@michaels.me.uk wrote: if you use EXTENDS, then everything in the parent CFC is available tot he child. If you want libraries to use on multiple sites, then you would need to put the components in a central location and then adding a mapping to them. On Tue, Jun 25, 2013 at 4:01 PM, Rick Faircloth r...@whitestonemedia.com wrote: Hi, all... I've been writing code for every project I've worked on for the last 10+ years. I did that purposefully to make myself work in a manner which would, hopefully, not cause me to rely on known practices because they were familiar and understood, but always strive to discover better ways of coding. Now, however, I'm trying to combine reusing code I've already written with enhancing the reused code, instead of writing it from scratch each time. On my latest project I decided to take the dive and structure my code of HTML, CF, jQuery, and CSS in away that allows me to create resource libraries that I can build upon and reference from within new projects. I know *not* doing it this way sounds nuts to some of you. But, again, see my first paragraph. There was a method to the madness of this approach. But, now I find myself (after days of trying to understand what I've found on the Internet and in the CF docs to little avail) trying to get a working method for this approach. I started first by putting my initial components for the project *above* the website's root folder. I knew this was going to be problematic. I, of course, immediately got the error, component cannot be found. Then, I read about cfincluding an application.cfc into an application.cfm in the website root folder. For kicks and giggles, not a real solution, because this approach is fundamentally flawed, I put an application.cfm in the site root folder and used the relative path capability of cfinclude to pull in the application.cfc above the site web root and it's settings into the site's directory structure. Knowing that's not a solution, I continued to dig on the Internet. Nothing has clicked. I think
Re: Best means of setting a library of reusable code
sigh I did. And you flatly stated that my example is (not) relevant. I was merely pointing out - mostly for those who happen upon this thread later, since they'll hopefully read and comprehend - that your assessment is flatly wrong. Good luck. On Tue, Jun 25, 2013 at 2:24 PM, Rick Faircloth r...@whitestonemedia.comwrote: Matt, just participate in the conversation without being asinine about it. I haven't asked anyone to write my code for me. Just looking for some guidance as to the correct approach. So, offer your advice in a friendly manner, if you're going to offer it at all. On Tue, Jun 25, 2013 at 12:56 PM, Matt Quackenbush quackfu...@gmail.com wrote: You do it exactly like I said you do it: Pass it in as either an argument or a property. When you instantiate your contact.cfc, you pass in everything it needs from outside in order to do its job. The example I gave is completely relevant, albeit not an example of your exact situation. I don't know your exact situation and I'm not going to write your code for you, but I - along with others here - have definitely given you all the information you need to apply the principles to your exact scenario. On Tue, Jun 25, 2013 at 12:40 PM, Rick Faircloth r...@whitestonemedia.comwrote: Your understanding is correct, Matt, but I don't see how your example is relevant. In my application.cfc, I've got a line that sets an application variable: cfset application.siteShortDomain = myShortDomain.com I need that application.siteShortdomain variable available when contact.cfc runs. So, how would I go about this? (I just noticed what Brian and Russ added to the conversation, and Russ is correct, as you can see from above, that I want to extend the global application variables that I've set in application.cfc tp all the other cfc's that are in a common library of cfc's above the website root. ??? Thanks! Rick On Tue, Jun 25, 2013 at 11:50 AM, Matt Quackenbush quackfu...@gmail.com wrote: Hang on a minute. If I understand this correctly So, how do I make the variables from application.cfc available to contact.cfc under such a scenario? Does the extends functionality of cfc's solve this? ... you're thinking about adding `extends=Application` to your contact.cfc? If that's a correct understanding on my part, then the answer is: HELL NO! DO NOT USE EXTENDS! Your CFCs should be self-contained and any outside variables they need should be passed in as either arguments or properties. Here's a contrived example. // foo.cfc component { property name=datasourcename function init( required string datasourcename ) { variables.datasourcename = arguments.datasourcename return this } function doQuery() { // your query goes here return mycoolquery } } // test.cfm foo = createObject( 'component', 'foo' ).init( application.datasourcename ) writeDump( foo.doQuery ) HTH On Tue, Jun 25, 2013 at 11:41 AM, Rick Faircloth r...@whitestonemedia.comwrote: Alright, that's the confirmation I needed to proceed. So, use 'extends it is! Thanks, Rick On Tue, Jun 25, 2013 at 11:21 AM, Russ Michaels r...@michaels.me.uk wrote: if you use EXTENDS, then everything in the parent CFC is available tot he child. If you want libraries to use on multiple sites, then you would need to put the components in a central location and then adding a mapping to them. On Tue, Jun 25, 2013 at 4:01 PM, Rick Faircloth r...@whitestonemedia.com wrote: Hi, all... I've been writing code for every project I've worked on for the last 10+ years. I did that purposefully to make myself work in a manner which would, hopefully, not cause me to rely on known practices because they were familiar and understood, but always strive to discover better ways of coding. Now, however, I'm trying to combine reusing code I've already written with enhancing the reused code, instead of writing it from scratch each time. On my latest project I decided to take the dive and structure my code of HTML, CF, jQuery, and CSS in away that allows me to create resource libraries that I can build upon and reference from within new projects. I know *not* doing it this way sounds nuts to some of you. But, again, see my first paragraph. There was a method to the madness of this approach. But, now I find
Re: Best means of setting a library of reusable code
Fair 'nuff. :-) On Tue, Jun 25, 2013 at 3:11 PM, Rick Faircloth r...@whitestonemedia.comwrote: sigh No, Matt... I didn't say your example is (not) relevant. I stated, I don't see how your example is relevant. See the difference? I put the fault on my part for not understanding your example. Your example may be perfectly relevant, but I couldn't see how. I think you just misread my statement and assumed I was being offensive about your example. If I had said, your example is not relevant, then that would be offensive, especially coming from me, someone who is the one asking everyone for assistance in understanding what I was trying to do! So, no offense intended... On Tue, Jun 25, 2013 at 2:35 PM, Matt Quackenbush quackfu...@gmail.com wrote: sigh I did. And you flatly stated that my example is (not) relevant. I was merely pointing out - mostly for those who happen upon this thread later, since they'll hopefully read and comprehend - that your assessment is flatly wrong. Good luck. On Tue, Jun 25, 2013 at 2:24 PM, Rick Faircloth r...@whitestonemedia.com wrote: Matt, just participate in the conversation without being asinine about it. I haven't asked anyone to write my code for me. Just looking for some guidance as to the correct approach. So, offer your advice in a friendly manner, if you're going to offer it at all. On Tue, Jun 25, 2013 at 12:56 PM, Matt Quackenbush quackfu...@gmail.com wrote: You do it exactly like I said you do it: Pass it in as either an argument or a property. When you instantiate your contact.cfc, you pass in everything it needs from outside in order to do its job. The example I gave is completely relevant, albeit not an example of your exact situation. I don't know your exact situation and I'm not going to write your code for you, but I - along with others here - have definitely given you all the information you need to apply the principles to your exact scenario. On Tue, Jun 25, 2013 at 12:40 PM, Rick Faircloth r...@whitestonemedia.comwrote: Your understanding is correct, Matt, but I don't see how your example is relevant. In my application.cfc, I've got a line that sets an application variable: cfset application.siteShortDomain = myShortDomain.com I need that application.siteShortdomain variable available when contact.cfc runs. So, how would I go about this? (I just noticed what Brian and Russ added to the conversation, and Russ is correct, as you can see from above, that I want to extend the global application variables that I've set in application.cfc tp all the other cfc's that are in a common library of cfc's above the website root. ??? Thanks! Rick On Tue, Jun 25, 2013 at 11:50 AM, Matt Quackenbush quackfu...@gmail.com wrote: Hang on a minute. If I understand this correctly So, how do I make the variables from application.cfc available to contact.cfc under such a scenario? Does the extends functionality of cfc's solve this? ... you're thinking about adding `extends=Application` to your contact.cfc? If that's a correct understanding on my part, then the answer is: HELL NO! DO NOT USE EXTENDS! Your CFCs should be self-contained and any outside variables they need should be passed in as either arguments or properties. Here's a contrived example. // foo.cfc component { property name=datasourcename function init( required string datasourcename ) { variables.datasourcename = arguments.datasourcename return this } function doQuery() { // your query goes here return mycoolquery } } // test.cfm foo = createObject( 'component', 'foo' ).init( application.datasourcename ) writeDump( foo.doQuery ) HTH On Tue, Jun 25, 2013 at 11:41 AM, Rick Faircloth r...@whitestonemedia.comwrote: Alright, that's the confirmation I needed to proceed. So, use 'extends it is! Thanks, Rick On Tue, Jun 25, 2013 at 11:21 AM, Russ Michaels r...@michaels.me.uk wrote: if you use EXTENDS, then everything in the parent CFC is available tot he child. If you want libraries to use on multiple sites, then you would need to put the components in a central location and then adding a mapping to them. On Tue, Jun 25, 2013 at 4:01 PM, Rick
Re: (ot) jQuery Select
First you're telling the window to move to the new URL before the submit line. This means that the submit is never reached in the processing cycle. Next, when you remove the location change, nothing happens because you're explicitly saying to do nothing. Remove the function from the submit() and watch the magic take place. HTH Sent from a mobile something On Jun 5, 2013 12:31 PM, Dakota Burns dakota.bu...@gmail.com wrote: I am trying to use an HTML Select form component to select go to a URL. I'm using the attached jQuery to accomplish this. The selection opens a new window to the intended URL but the submit function doesn't post the hidden name/value pairs. I suspect my syntax is a bit in conflict since the submit function isn't working as expected. When I pull the window.location nothing happens. After googling jquery select post and related combinations, I haven't solved this one yet so thought I'd check here since CF programmers frequently use jQuery. Thanks in advance. script $(function(){ $('##dynamic_select').bind('change', function(){ var url = $(this).val(); if(url){ window.location = url; $(##myForm) .attr(action, url) .attr(target, _blank) .submit(function(){return false;}); } return false; }); }); /script form method=post action=## id=myForm name=myForm input type=hidden name=formTest value=TEST / select id=dynamic_select option value= selected=selectedNavigate too .../option option value=/index.cfm?action=test.pageLibLibrary/option option value=/index.cfm?action=test.pageSchoolSchool/option option value=/index.cfm?action=test.pageHistHistory/option /select /form ~| 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:355869 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: checking for encryption
Try/catch around the decryption? If you get that known message you could ignore it and move on. I'm not saying this is a good solution, but could get you going. The main issue would be if the key was changed or something like that, it'd hit the same exception. Off the top of my head I am not aware of anything that specifically checks for encryption. I don't use that stuff much. There might be something in the underlying Java that you can get at. HTH Sent from my Samsung Galaxy SII On May 25, 2013 12:25 PM, Rob Voyle robvo...@voyle.com wrote: Hi Folks I have a variable that may or may not be encrypted. How do I test for the encryption. If I try to decrypt it when its not encrypted I get an error message The input and output encodings are not same.. 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:355841 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?
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:355816 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SOT but worth it - Sabin Adams
+infinity On Tue, Apr 30, 2013 at 10:37 AM, Bobby bo...@acoderslife.com wrote: I'd imagine most people on this list frequent cfobjective.com but, for those who do not, I hope you enjoy this as much as I did. http://www.cfobjective.com/news/cfobjective-invests-in-future-cfml-programme rs/ ~| 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:355629 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ACF10 and Service Temporary Unavailable
I'm going to guess that Tomcat isn't being allotted enough memory. On Tue, Apr 23, 2013 at 10:00 AM, John M Bliss bliss.j...@gmail.com wrote: [crickets] :-) On Mon, Apr 22, 2013 at 8:23 PM, John M Bliss bliss.j...@gmail.com wrote: Since upgrading from ACF8 to ACF10, every once in a while (about once every 2-3 days?), under normal load, all .cfm reqs produce: Service Temporary Unavailable! The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Jakarta/ISAPI/isapi_redirector/1.2.32 () Copyright © 1999-2011 Apache Software Foundation All Rights Reserved ...I'm using IIS. Restarting the CF Server service makes the problem go away. Ideas? -- John Bliss - http://about.me/jbliss -- John Bliss - http://about.me/jbliss ~| 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:355542 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ACF10 and Service Temporary Unavailable
If you're using CF10, you're using Tomcat. On Tue, Apr 23, 2013 at 10:18 AM, John M Bliss bliss.j...@gmail.com wrote: I'm not using Tomcat. I'm using IIS. On Tue, Apr 23, 2013 at 9:15 AM, Matt Quackenbush quackfu...@gmail.com wrote: I'm going to guess that Tomcat isn't being allotted enough memory. On Tue, Apr 23, 2013 at 10:00 AM, John M Bliss bliss.j...@gmail.com wrote: [crickets] :-) On Mon, Apr 22, 2013 at 8:23 PM, John M Bliss bliss.j...@gmail.com wrote: Since upgrading from ACF8 to ACF10, every once in a while (about once every 2-3 days?), under normal load, all .cfm reqs produce: Service Temporary Unavailable! The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Jakarta/ISAPI/isapi_redirector/1.2.32 () Copyright Å 1999-2011 Apache Software Foundation All Rights Reserved ...I'm using IIS. Restarting the CF Server service makes the problem go away. Ideas? -- John Bliss - http://about.me/jbliss -- John Bliss - http://about.me/jbliss ~| 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:355544 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ACF10 and Service Temporary Unavailable
I've never looked at CF10 so I'm not familiar with whatever packaging Adobe decided to go with, but in a normal Tomcat installation on Linux (have no idea about Windows, either, sorry) it'd be in /etc/default/tomcat7. On Tue, Apr 23, 2013 at 10:28 AM, John M Bliss bliss.j...@gmail.com wrote: My bad. How do I allot more memory to Tomcat? On Tue, Apr 23, 2013 at 9:23 AM, Matt Quackenbush quackfu...@gmail.com wrote: If you're using CF10, you're using Tomcat. On Tue, Apr 23, 2013 at 10:18 AM, John M Bliss bliss.j...@gmail.com wrote: I'm not using Tomcat. I'm using IIS. On Tue, Apr 23, 2013 at 9:15 AM, Matt Quackenbush quackfu...@gmail.com wrote: I'm going to guess that Tomcat isn't being allotted enough memory. On Tue, Apr 23, 2013 at 10:00 AM, John M Bliss bliss.j...@gmail.com wrote: [crickets] :-) On Mon, Apr 22, 2013 at 8:23 PM, John M Bliss bliss.j...@gmail.com wrote: Since upgrading from ACF8 to ACF10, every once in a while (about once every 2-3 days?), under normal load, all .cfm reqs produce: Service Temporary Unavailable! The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Jakarta/ISAPI/isapi_redirector/1.2.32 () Copyright Å 1999-2011 Apache Software Foundation All Rights Reserved ...I'm using IIS. Restarting the CF Server service makes the problem go away. Ideas? -- John Bliss - http://about.me/jbliss -- John Bliss - http://about.me/jbliss ~| 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:355547 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Standard w3c tags
As Ray said, you've already looked up - and linked us to - THE specification document. What else can there be? On Tue, Apr 23, 2013 at 11:57 AM, funand learning funandlrnn...@gmail.comwrote: Apart from the example list provided, are there more meta tags? On Tue, Apr 23, 2013 at 10:52 AM, Raymond Camden raymondcam...@gmail.com wrote: Maybe I'm confused, but wouldn't the spec (your link) be the standard? On Tue, Apr 23, 2013 at 10:41 AM, funand learning funandlrnn...@gmail.comwrote: All - What are the list of standard meta tags defined in w3c other than the below given at http://www.w3.org/wiki/HTML/Elements/meta meta http-equiv=Content-Type content=text/html; charset=utf-8 / meta http-equiv=Content-Style-Type content=text/css / meta name=copyright content=© W3C / meta name=author lang=en content= / meta name=robots content=Index,Follow / meta name=description content=The World Wide Web Consortium (W3C) is an international community where Member organizations, a full-time staff, and the public work together to develop Web standards. / meta name=keyword content=W3C, HTML, CSS, SVG, Web standards / I posted the same question in stackoverflow http://stackoverflow.com/questions/16171686/list-of-standard-w3c-meta-tags 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:34 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfinput autosuggest list not correct
On Mon, Apr 8, 2013 at 6:00 PM, Raymond Camden raymondcam...@gmail.comwrote: Oh, and stop using cfinput. Avoid the CF UI tags. Take the time to learn some JS. You will thank me. +infinity ~| 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:355305 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Curmudgeon painted in a corner
Intellij IDEA. http://www.jetbrains.com/idea/ On Sun, Mar 17, 2013 at 5:05 PM, Dave Long d...@northgoods.com wrote: I've been using Homesite 5 on my Compaq laptop since a year or two before Y2K was scary. Now the old hoss is reluctant to boot (takes about 30 minutes or more) so I'm kind of forced to get a new machine. Problem: new ones all come with Windows 8 so it looks like I'll be buying (unless I can find freebies) some new development tools. My server host is moving to Railo to avoid doubling my fees, so what do you folks recommend for CF development environment? Dave ~| 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:355049 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Issue with Session scope
Your application timeout is seriously set to 10 seconds?? I suspect that would hose sessions pretty quickly, but not sure, since I've never set an app timeout so short. :-) HTH On Fri, Mar 15, 2013 at 11:18 AM, funand learning funandlrnn...@gmail.comwrote: I did enable session management using cfapplication tag. Below is the piece of code cfapplication name=app applicationtimeout=#createtimespan(0, 0, 0, 10)# sessionmanagement=yes clientmanagement=no On Fri, Mar 15, 2013 at 12:15 PM, Bobby bo...@acoderslife.com wrote: Sounds like your sessions aren't persisting across requests. There could be a couple of reasons but the most common, from what I've seen, is that people forget to enable session management in their application. On 3/15/13 10:43 AM, fun and learning funandlrnn...@gmail.com wrote: I am converting a hidden variable to session variable. I am setting a session variable when a page loads. The page consists of a form cfset session.host = cgi.remotehost When the form is submitted, the session variable is saved to a file. The form submits to the same page except there is a condition, cfif isdefined(form.submit) cfinclude template=savetofile.cfm /cfif The problem is when I submit the form on my computer, the session variable exists and form submission works fine. But when I asked some other people at my office to test, they get 'Element host is undefined in session' on form's submission.Looks like it is failing in savetofile.cfm. Why could this be happening? ~| 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:355030 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: same URL if moving app to new CF instance ?
I don't think I'm understanding the question. You can configure your domains to point to whatever URL you want them to point to, assuming you have control of the domain and server(s) in question. I think a lot more info is required in order to answer the underlying question you seem to be having. On Fri, Mar 15, 2013 at 4:24 PM, Chris 0404tow...@gmail.com wrote: Is there any way an application can keep the same URL, when we move it to another ColdFusion instance on the same server? We need to separate one high-resource application out of the CF instance that runs all the other applications. We can create a new IIS Web Site, we can create a new CF instance ... but is there a way to keep the same URL? thank you, Chris ~| 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:355039 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF running out of steam
I think time just stopped. I actually agree with Claude Schneegans. Holy hell. Clearly we've all entered some sort of alternate universe or something. On Wed, Mar 13, 2013 at 4:36 PM, wrote: Maybe they would just Google it. Google is a good tool but not an excuse for having a poor home page. ~| 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:354993 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Space in a Struct Key
structName[ keyName ] if unknown, otherwise ... structName[ 'key name with space' ] On Wed, Mar 6, 2013 at 4:17 PM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: Getting very rusty, can't remember how to access a key in a struct that has a space in it. Example:- imageMetaData.exif.Focal Length How would I cfoutput that, for example? Would someone put me out of my misery, please? Thanks, Jenny -- I am using the free version of SPAMfighter. SPAMfighter has removed 9293 of my spam emails to date. Get the free SPAMfighter here: http://www.spamfighter.com/len Do you have a slow PC? Try a Free scan http://www.spamfighter.com/SLOW-PCfighter?cid=sigen ~| 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:354863 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Space in a Struct Key
The only brackets should be the ones with quotes inside. Not sure why you added those other brackets; they're not in Russ' or my examples. On Mar 6, 2013 5:13 PM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: This fails:- cfoutput#[imageMetaData][exif][Focal Length]#/cfoutput and I am sure I tried every other combination except the right one. You can see the structure here:- http://gallery.fasttrackonline.co.uk/admin/images/test.cfm CF7, if that makes any difference. -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: 06 March 2013 22:20 To: cf-talk Subject: Re: Space in a Struct Key Structname[your key] Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com- CF search engine On Mar 6, 2013 10:18 PM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: Getting very rusty, can't remember how to access a key in a struct that has a space in it. Example:- imageMetaData.exif.Focal Length How would I cfoutput that, for example? Would someone put me out of my misery, please? Thanks, Jenny -- I am using the free version of SPAMfighter. SPAMfighter has removed 9293 of my spam emails to date. Get the free SPAMfighter here: http://www.spamfighter.com/len Do you have a slow PC? Try a Free scan http://www.spamfighter.com/SLOW-PCfighter?cid=sigen ~| 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:354867 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Hosting - Clear Template Cache required
I can't speak to whether or not they're right about CF10 (I've never used it), but I doubt they're right. That said, in reference to your third question, my answer is: None. I would instead recommend that you use Railo with an Vivio Tech ( https://www.viviotech.net/) server/hosting account. They have the greatest customer service on the planet, and are just downright frequin awesome. :-) On Mon, Feb 25, 2013 at 12:47 PM, Dan LeGate d...@legeek.com wrote: I've been with Newtek (formerly CrystalTech) a long time. Ever since I moved to their CF10 plan, any edits I make to my CFMs require me to login to their cumbersome interface and issue a Clear Template Cache command. They say this is required by ColdFusion, not them, and that the only way to not have this happen is to switch me back to a CF9 plan. Ugh. So my questions are: 1. Are they right? Do ALL CF hosting companies require a Clear Template Cache feature for CF10? 2. Is there a programmatic way I can quickly clear the cache instead of relying on their interface? 3. What CF10 hosting company/ies do you recommend? Thanks! Dan ~| 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:354683 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Apostrophes in email addresses
Pretty sure isValid() incorrectly flags emails with apostrophes as invalid. There are two or three bugs with isValid() and emails. On Feb 24, 2013 7:05 AM, Justin Scott leviat...@darktech.org wrote: 100% of the time this little bit of regex has served me well until now. ^[\w\.-]{1,}\@([\da-zA-Z-]{1,}\.){1,}[\da-zA-Z-]+$ Is there a reason you're not using the built in isValid(email, variable) function instead of a regex? -Justin ~| 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:354664 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SOT, but... what the heck is MS FrontPage?
https://en.wikipedia.org/wiki/Microsoft_FrontPage On Fri, Feb 22, 2013 at 10:26 AM, wrote: Hi, My sites are hit on a regular basis by this agent: Mozilla/4.0 (compatible; MS FrontPage 14.0) - it makes requests with methods OPTIONS or HEAD which are forbiden in my sites; - it makes requests for pages that does not exist, like - /_vti_inf.html - /_vti_bin/shtml.exe/_vti_rpc The result is that the visitors are tagged as bad bot. What are they looking for? Should I let them go or what? ~| 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:354626 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Hosting A to Z
Where the hell is the +infinity button? On Feb 15, 2013 10:07 PM, Maureen mamamaur...@gmail.com wrote: VivioTech has the best customer service that I've encountered in nearly forty years in technology. I highly recommend them. On Fri, Feb 15, 2013 at 12:25 PM, Eric Bourland e...@ebwebwork.com wrote: I've mentioned before how competent and pro-active are the folks at Viviotech. ~| 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:354549 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion MX 7 Updater 2
Just in case you're not already aware of it, you might take a look at Railo. On Tue, Feb 5, 2013 at 1:09 PM, Mosh Teitelbaum mosh.teitelb...@evoch.comwrote: Russ: Thanks, I'm aware of that and have suggested to the client that they upgrade. They're not interested. But thanks for the warning. -- Mosh Teitelbaum From: Russ Michaels [mailto:r...@michaels.me.uk] Just so you are aware, all security vulnerabilities that have come out will never be patched on cf7, sp you should take exyra precautions to lock down any server running old unsupported versions of cf. ~| 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:354322 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Source control in CF
Where is that +infinity button, again? :-) On Sun, Feb 3, 2013 at 2:28 PM, Raymond Camden raymondcam...@gmail.comwrote: Damn fine point, Cameron. On Sun, Feb 3, 2013 at 9:50 AM, Cameron Childress camer...@gmail.com wrote: On Sun, Feb 3, 2013 at 5:53 AM, Michael Christensen mich...@strib.dk wrote: (I don't know if this is a particular Danish or European way to do things - seems that things might be a bit different in the US) ...or just the specific companies you've worked for in the past, regardless of location. I would take this away from the conversation: Perhaps the least important thing in this thread is your current employer's policies and procedures and wether or not they are correct. the most important thing you can take away from this thread (which I think you may already be taking from it), is what YOUR skills need to be in order to remain employable into the future. Don't allow yourself to be one of those people who sit at the center of a corporate environment for a decade, allowing your skillset to atrophy and thinking that everything you see around you is normal. Keep your eyes open and learn what's going on outside those prison walls. Unless you plan to retire in a few years, you are going to need to be employable by someone else at some point in the future. Don't let things get to the point that no-one will hire you because you let your skillset get hopelessly out of date. -Cameron ... ~| 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:354261 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Source control in CF
On Sat, Feb 2, 2013 at 6:26 PM, Michael Christensen wrote: I admit, there may be every chance that the reason why I don't agree with you is that A) I am not used to an environment in which developers develop locally I'd say that's a really good reason for you to have previously not agreed with the notion of a developer being able to configure his/her own **development** environment - you had (apparently) never seen or heard of it before. However, I think that's a terrible excuse to completely discount the notion now that it has been presented to you. or (perhaps more frighteningly) B) I am just not very bright. I doubt that. Lazy, perhaps? I might could see how you could say that, but my bet is you're not exactly stoopid. ;-) I am always willing to learn and expand my horizon though, so could you perhaps briefly explaine, why you consider it necessary for a developer to be able to set up sites on an Apache or IIS? (I assume it's not just for the sheer practicality of it - so that you don't have to wait around for the IT dept.) In my opinion, it is unthinkable to call oneself a developer and yet have no clue how to configure your own ***development*** environment. The key here is **DEVELOPMENT** environment. Like Ray, I would never hire - or recommend for hire - someone to fill a developer's role if they were unable to configure their own **development** environment. There are many, many, many reasons for that, and saving the IT department time is probably least among those reasons. - To be a developer, one has to be able to configure a **development** environment for oneself to work in. If one can't do that, then one can't develop. Development _requires_ basic understanding of how things work. It doesn't matter if you're talking web development, desktop development, rocket development, landscape development, or any other kind of development. Basic understanding of the environment one is developing for is absolutely required. - If someone calls themselves a developer, then I fully EXPECT them to not just copy/paste/churn code for whatever project I've placed them on, but to also tinker and play and be in a constant state of learning, even on their own time. If they aren't doing that, then they are simply here to be babysat and collect a check. I don't believe in babysitting or paying for people to be babysat. :-) - One cannot truly progress as a developer if one cannot build their own **development** environment. If they're dependent upon someone else to configure their **development** environment, then they're stuck with whatever they're given and will never venture outside that to see what else is out there. And I assure you, seeing what else is out there is paramount to growing and becoming better at what you do. I tried to boil it down in just a few points, but there are many reasons why one MUST be able to configure their own **development** environment. This thread is filled with them. By the way, hopefully readers of this post have noticed a recurring theme: **development** environment. In no way, shape, or form, do I expect a developer to be able to set up and monitor/maintain a _production_ environment. That is an entirely different animal, and is best left to those who specialize in (and enjoy!) the server management of things. Having said that, I believe that it is a natural progression for a developer to learn how to set up and maintain a server. I just don't expect them to do that as part of their development duties. HTH ~| 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:354246 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Source control in CF
+infinity I agree with Adam here completely. SVN is mejor que nada, but if you're in an environment where anyone other than yourself is going to be committing, Git annihilates SVN. I would strongly encourage you to look at GitHub, as it makes things so simple to get started. And, if you're on a Windows machine, they even now have a Windows client that makes getting started with Git even simpler. On Wed, Jan 30, 2013 at 3:42 AM, Adam Cameron adamcameroncoldfus...@gmail.com wrote: Before you go too far down the SVN route, what you're kinda suggesting is akin to saying we've finally decided to upgrade from Windows 3.1, so we're upgrading to WindowsXP. SVN is great software, but it's not really where it's at any more. You really ought to be looking at Git: either your own instance of it running (and managed by by you), or perhaps better for your situation, outsourcing the management of it to Github. Having a shared dev server is a bit of an old-school approach to things, you really ought to look at getting the developers developing on their own machines. -- Adam On 29 January 2013 23:11, Michael Christensen mich...@strib.dk wrote: Hi all! At my company we're once again talking about setting up source control for our CF. I've been googling and reading for quite a while now and so far I've gathered, that we first of all need a SVN server of some sort on a central server, so that the entire team can access it. I've looked at VisualSVN Server and managed to install it and even add a repository. But now I am getting into problems, which I am hoping someone here might be able to help me solve; Problem 1: We naturally already have a whole bunch of code that we'd like to put into our repository - but I can't figure out how to do that. Is this where I need something like TortoiseSVN? And if so, how do I structure my repository? Problem 2: We don't use a setup where each developer runs a local copy of the code, instead we all run the code on a single develoment server, accessing the code-files via a webpath (\\server\project\file.cfm) So instead of checking the file out to a local copy, I'd like to use a exclusive-lock-in-place sort of thing - is this possible? Problem 3: I am trying to use the Subclipse plugin, but I simply can't figure it out. Does anyone know of a how to use Subclipse for dummies tutorial? Problem 4: Is it possible to auto-lock/check out files in Eclipse as soon as they are opened by a developer? (versus manually selecting to lock the opens a file? Or how does one go about ensuring that no two developers can change a file at the same time (referring to problem 2)? As you can tell, I'm at a bit of a loss at the moment, so any and all feedback is appreciated. Thanks a bunch! ~| 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:354134 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Source control in CF
Testing should be done on your topic branch. Git makes this so ridiculously simple that I'm not even sure how to respond to the (apparent) assertion that it's difficult. Committing and merging is one of the areas where SVN can't even begin to compare with Git in terms of simplicity - or power. But that's really not a hey, let's get you started with source control kind of conversation. I'll just say that anyone that thinks Git is difficult in this area has either a) never tried Git, or b) didn't read/understand the documentation or have someone help them through it. I've helped folks move their projects from no source control (their source control was creating zip files of the project folder every once in awhile) to using Git, and they've never looked back. On Wed, Jan 30, 2013 at 8:35 AM, Andrew Scott andr...@andyscott.id.auwrote: The downside is that in a team environment, you constantly need to merge and test and merge and test and commit. So you should be connected to the Source Control to do this, and where I have found GIT to be a pain in the ass with when multiple changes to a file can impact you. But I agree with Cameron too, if you're new to all this, SVN will be far easier to get running with as all the tools are great and easier to use than GIT. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Thu, Jan 31, 2013 at 1:27 AM, Donnie Bachan (Gmail) donnie.bac...@gmail.com wrote: I agree with Cameron on this one. We recently moved from SVN to Git because we found that within our team it facilitated our workflow. We started implementing the practices outlined by Git Flow and that's been working really well. That doesn't mean that Git is better than SVN, it's just better in our case. One thing I do like is the fact that I can work on my local machine and then sync with the server when I'm connected at the office again. Best Regards, Donnie On Wed, Jan 30, 2013 at 2:23 PM, Cameron Childress camer...@gmail.com wrote: On Wed, Jan 30, 2013 at 4:42 AM, Adam Cameron wrote: Before you go too far down the SVN route... To me, Git vs SVN is sort of like a Mac vs PC argument. Git is good, SVN is good. They are both VERY VERY widely used and I expect both to be heavily used for the foreseeable future. Like most technology questions, there is not just one right answer. To the OP - read up on Git and SVN and pick whichever you like, but don't feel bad in the least about choosing either one as a solution. They are both perfectly fine choices. In fact, if you are struggling to understand getting SVN setup, I think that Git may be an even more painful option for you (but give it a whirl and form your own opinion). -Cameron -- Cameron Childress -- p: 678.637.5072 im: cameroncf facebook http://www.facebook.com/cameroncf | twitterhttp://twitter.com/cameronc | ~| 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:354135 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Source control in CF
What Cutter said. :-) On Wed, Jan 30, 2013 at 9:10 AM, Steve 'Cutter' Blades cold.fus...@cutterscrossing.com wrote: And I'll have to disagree with you, Andrew... Having worked extensively in both Subversion and Git, I find Git to be a much more robust tool, providing a lot more flexibility, and huge gains in overall workflow. Anytime I have to move back towards Subversion it is somewhat painful. All of that aside, Git is not for the faint of heart. It can take a while to wrap your head around task workflows that are very basic in Subversion. It's a complex tool, for enterprise development, and very affective. The larger the team, the more valuable it is. Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 1/30/2013 8:23 AM, Andrew Scott wrote: Disagree Adam... SVN is still the best to use if the development team will never be distributed across many locations, and even if it is but contained with the same company securely, SVN is still the better way to go. ~| 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:354137 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Source control in CF
On Wed, Jan 30, 2013 at 9:35 AM, Andrew Scott wrote: In Open Source and the like I would recommend Git or the like, but expect a very huge learning curve. The context of the OP is that of getting started with source control - any source control. In that context, the learning curve exists no matter what source control technology one decides on. And it's definitely no greater for Git vs. SVN or SVN vs. Git. No source control to source control is a deliberate change in one's philosophy and work flow. It is unfair to paint Git as a bad choice because you have been using SVN for years and prefer its tooling, and especially unfair given the context of this thread. As I mentioned in a previous post, I have helped folks go from no source control (again, the context of the OP) to using Git - on Windows, even (which I don't use) - in a matter of a few hours. Were they using all of the advanced features of Git in a matter of a few hours? Of course not, but they went from no source control to source control in a matter of a few hours, and their work flow was dramatically improved right away. The bottom line is, today, in 2013, if you are **getting started** with source control, Git is undeniably de facto standard, and THE way to go. Its learning curve - to a newbie to source control - is no greater than anything else, and once they are no longer a newbie they will find it infinitely more powerful and productive than any of the older source control technologies. ~| 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:354140 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Source control in CF
On Wed, Jan 30, 2013 at 9:56 AM, Andrew Scott wrote: Till then my view is not going to change, LOL. That's what we all love about you, my friend! :-) in a team SVN is far better when you know how to use it right. And there are countless teams who have used both - correctly - who vehemently disagree with you. But again, this is out of context for this thread, and therefore a non-starter. ~| 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:354142 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Source control in CF
My apologies. I came into the thread late, and had only seen bits about getting started. I didn't realize that the OP was asking specific questions about SVN. I still agree with Adam, though, that one getting started with source control should look at Git as well. On Wed, Jan 30, 2013 at 10:19 AM, Wil Genovese jugg...@trunkful.com wrote: Out of context for this thread? This thread was a question about how to do xyz with Subversion. Anything about using Git, the kewl kids are using Git, Git is Defacto, etc etc etc, is out of context. Every technology is a tool and each tool has it's uses. Just because some have manage to replace one tool for another does not mean it's right for some else's team. This technology zealotry is annoying at best and for the most part useless off-topic squabbling. Most of the replies here have not even addressed the OP and his questions, aside from my initial reply to the OP. SVN is very valid and is used heavily will continue to be used long from now. And the same should be said about Git. For those that remember the old slow Tortoise client maybe you should revisit SVN with a new client. As of the 1.7 releases of the SVN clients they no longer use the .svn files and folders. Additionally the 1.7 SVN clients work perfectly with the SVN 1.6 server. This change in client behavior has made working with very large repos mush easier and faster. If fact he new SVN clients are similar to the Git clients in that fashion. I hope the OP did find use in the first few responses before this SVN vs Git feud started. It would be a shame to drive a person away because instead of getting his question answered everyone decided to start a technology flame war. Now have a nice day. Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Jan 30, 2013, at 10:01 AM, Matt Quackenbush quackfu...@gmail.com wrote: On Wed, Jan 30, 2013 at 9:56 AM, Andrew Scott wrote: Till then my view is not going to change, LOL. That's what we all love about you, my friend! :-) in a team SVN is far better when you know how to use it right. And there are countless teams who have used both - correctly - who vehemently disagree with you. But again, this is out of context for this thread, and therefore a non-starter. ~| 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:354147 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Source control in CF
Someone already did. :-) On Wed, Jan 30, 2013 at 5:54 PM, Russ Michaels r...@michaels.me.uk wrote: of course we could liven it up even more and suggest mercurial :-) On Wed, Jan 30, 2013 at 10:51 PM, Michael Christensen mich...@strib.dk wrote: First of, let me thank all of you for your (quite lively) inputs. The discussion did spiral a bit out of control in a GIT vs SVN tussle, but I understand and can respect that people have strong opinions as to which systems they prefer. I also wholeheartedly agree, that there are certain advantages to be gained by each developer having a working copy of the code on their local machines. I would, however, contest the absoluteness of this as the only way to go. While it is true, that the CF Developer licensing does allow for each developer to run a CF server locally without paying a license fee, the time spent by the IT department setting up and supporting 50+ websites (plus our backend/admin software) on each developer machine does come at a cost. Add in the cost of additional licenses for 3rd party components (like ImageGlue or ISAPI rewrite for example) and the cost of being able to run code locally can add up quite quickly. For us at least, running on a shared codebase with 1 development server and all code available via a webpath (usually mounted as a drive for convenience) works quite well and has done so without major snafus for 10+ years. Is this an oldschool approach? Very much so. Is it a good solution? Maybe not for every company, but it works for us. I understand, that our setup makes running version/source control very difficult and it is a conclusion that I feared I might reach, when I posted the question initially. I think that I may have to go back and have a long, hard think about how we will proceed from here. If any of you, who are running a setup where each developer runs the code locally, I would be very appreciative if you could give me 30 minutes to an hour of your time, so I might pick your brain as to how you have gone about getting this setup and how you maintain it (I think this is probably best done over Skype). So once again, thank you guys so much for all your input :) ~| 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:354177 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Extending a Component vs. Passing an Object
A service object is a service object and a DAO is a DAO. They are two very different objects that serve two very different purposes in an application. Prefer composition over inheritance. In other words, keep doing what you're doing there (injecting the DAO). On Jan 29, 2013 8:37 AM, Eric Cobb cft...@ecartech.com wrote: I have a service CFC that calls my dao CFC a lot. Currently, I just pass in an object of the dao to the service's init() method and save it to the variables scope to be used throughout the service. But, I'm wondering if I would be better off having my service CFCs extend their dao's instead. Thoughts? Are there any benefits to extending a CFC instead of just passing it in as an object, or is passing an object better? Thanks, Eric http://www.cfgears.com ~| 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:354105 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Difficulty in creating a dynamic query
@ Anyone building dynamic queries: PLEASE **DO NOT** follow that advice. You will regret it, eventually. If the data you're dealing with is sensitive enough, you might even go to prison over it. The proper solution is the one already mentioned by Steve and Bill. Build the statement - with cfqueryparam - inside of the cfquery block. On Tue, Jan 22, 2013 at 4:10 PM, wrote: You need to use the preserveSingleQuotes () pseudo function ie: cfquery name=foo #preserveSingleQuotes(sqlStatement)# /cfquery ~| 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:354012 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Difficulty in creating a dynamic query
It is a fact that using cfqueryparam outside of cfquery will result in it being seen by CF as purely string text. It will never be executed as an actual cfqueryparam. I obviously do not know what you're dealing with, specifically, but it sounds like you have a god query on your hands, and it really needs to be split up into separate methods/functionality. That is, of course, from the outside looking in. :-) On Tue, Jan 22, 2013 at 4:19 PM, Tom McNeer tmcn...@gmail.com wrote: Thanks for the replies. The answer to Steve, Bill and Matt is, the query is far too dynamic to be built inside a cfquery without a million cfif or switch/case statements. In fact, that sort of thing is what we're trying to replace. The existing routine is a cfquery tag that has stacks of specific logic, and it's already almost unmaintainable. The current requirement means there will be literally hundreds of possible combinations of parameters and operators. I've built lots and lots of dynamic queries in the manner you suggest, and I understand your concern. It just won't work in this case. Please take my word for it. On Tue, Jan 22, 2013 at 4:47 PM, Bill Moniz hydro.b...@gmail.com wrote: Coldfusion is just going to see #sqlStatement# as a block of literal text, so it will pass WHERE firstName LIKE cfqueryparam cfsqltype=cf_sql_varchar value=%bar% / into the DB exactly as written. It appears you may well be correct. But that's exactly what I'm trying to determine for certain. Do you know that this is the case, or are you assuming it to be so? Believe me, I'm not trying to be argumentative. I've combed the docs and Googled extensively before asking my question here. I suppose that's the key question: if a query statement containing queryParam statements is output within a cfquery tag, does CF try to interpret the tags, or simply pass the plain text to the driver? It does seem as if Bill is correct, and CF simply passes the queryParam tag as text to the driver. Can anyone confirm for certain this is true, or point to anywhere in the docs this is dealt with? Thanks to everyone for their suggestions. -- Thanks, Tom Tom McNeer MediumCool http://www.mediumcool.com 1735 Johnson Road NE Atlanta, GA 30306 404.589.0560 ~| 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:354014 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Secure Login w/ CF and Application.cfc
You seem to be mixing Application.cfc syntax (this.applicationTimeout) and Application.cfm syntax (cfapplication). If you're using App.cfc, and I would suggest you do, then I would not expect the cfapplication tag to work. I could be wrong, though, as I've never tried that. Something to check on, nonetheless. On Tue, Jan 15, 2013 at 9:16 AM, B Griffith br.griff...@yahoo.com wrote: Well now I feel like an idiot. :) I should have caught the missing quotation marks. And the APPLICATION.CFM is in fact a typo, the actual file I'm using is APPLICATION.CFC, sorry 'bout that. After replacing the quotation marks I have a new error, it is in line 5. The verbiage of the error is as follows: The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code; Null Pointers are another name for undefined values. ...and references the statement: applicationtimeout=#CreateTimeSpan(0,2,0,0)# This seems odd because I remember using this code back when I first started working on this site and I seem to recall it worked, and this was with the alterations I mentioned in my previous post (to the DSN, DB fields, etc.). I appreciate you folks bearing with me on this and helping me to get it sorted out. I'm trying to get better at debugging my own code but I'm not sure why this is cropping up, is it perhaps that 3 of the values in parentheses are zeros (was under the impression it is Days,Hrs,Mins,Secs)? Again, looking forward to your all's replies. ~| 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:353876 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: form-post to SQL-insert creates double-entry
You are running the insert query each time you load the page. Remove your cfparams on the form fields, and wrap the query in an cfif. cfif !structIsEmpty( form ) !--- insert query here --- /cfif HTH On Tue, Jan 15, 2013 at 2:34 PM, B Griffith br.griff...@yahoo.com wrote: Hello All, I appreciate everyone's help on my other posts and think I'm coming to understand CF a lot better than I did before I started posting here a few days ago, so kudos to you, friends! My latest issue w/ my burgeoning new website is the input.cfm page, where an end-user may (in theory) enter a donor's information into a webform, click submit, and the data will subsequently be inserted into the SQL Server (2005) table dbo.DONOR, which while it's under development, has only six fields: kcid (auto-incrementing PK/UID for the database) and the other five which you see in the code below and are probably pretty self-explanatory. I have tried creating an empty structure called 'form' before applying the code and finally settled on a block of cfparam statements to set the vars to a default. I can't see a way around this because NOT doing so causes the form to indeed show at the top of the webpage, but it is followed by a CF error page. INCLUDING the cfparam tags or cfset var = or form = structNew(); causes the error output to go away but results in TWO recordsets being sent to the DB, one blank (except for the PK which is set up to auto-increment in SQL) and one with the correct info, and taking the next PK number. I also tried setting the fields to NOTNULL = TRUE in SQL but to no avail, apparently translates into something besides null on the server-side. Here is the code, I would greatly appreciate your thoughts on what I'm doing wrong and how to rectify it: html head titleInput form for new donor/title /head cfparam name=form.first default= cfparam name=form.last default= cfparam name=form.flag default= cfparam name=form.supe default= cfparam name=form.phone default= body div hr / /div form action=input.cfm method=post table tr tdDonor First Name:/td tdinput type=text name=first id=first value= //td /tr tr tdDonor Last Name:/td tdinput type=text name=last id=last value= //td /tr tr tdDonor's Immediate Supervisor:/td tdinput type=text name=supe id=supe value= //td /tr tr tdSupervisor's Phone Number:/td tdinput type=text name=phone id=phone value= //td /tr tr tdHas this employee provided a sample in the past 30 days? (Y/N):/td tdinput type=text name=flag id=flag value= //td /tr /table input type=submit value=Enter New Donor br /a href=index.cfmBack to homepage/a br /a href=random.cfmRandom Donor Generator/a /body cfquery name=addDonor datasource=test INSERT INTO DONOR (first,last,flag,supe,phone) VALUES ('#form.first#','#form.last#','#form.flag#','#form.supe#','#form.phone#') /cfquery ~| 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:353895 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Newbie question regarding MSSQL queries w/ CF8
If you're wanting rows to be sorted randomly, you should be doing this at the database level. That's one of the items RDBMS's are really good at. For SQL Server, check out the post below. http://stackoverflow.com/questions/848872/select-n-random-rows-from-sql-server-table On Fri, Jan 11, 2013 at 4:17 PM, B Griffith br.griff...@yahoo.com wrote: Hello all! I am new to ColdFusion and web development in general, and have only had cursory training in programming (Python). I have a need for a web page that will accept either an absolute number or percentile from the end-user (I'm still having trouble w/ the 'form' functionality of HTML), and then set the variable (or parameter?) rows to the number chosen, then choose THAT number of records at random from the database (MSSQL). Then I would like to display them (in no particular order) in plain-old HTML, CSS and other stylization is not important at this point, solely the functionality of the page. Here is my code: cfquery name=rs datasource=#application.dsn# SELECT * FROM DONOR /cfquery cfset displayRow = randRange(1,rs.recordcount) cfparam name = rows default = 5 cfoutput query=rs startrow=#displayRow# maxrows=#rows# br /h3#displayRow# #first# #last# #flag#/h3br / /cfoutput The table name is 'DONOR', and the fields I want to display from it are 'first', 'last', and 'flag'. I'm wondering at this point why when I run the page, the output indeed picks a random record to start with, but then displays the next four sequentially instead of choosing the other four at random. I am more than happy to post a screencap of my browser output if need be. Your help is much appreciated as I am quite stumped and I hope you all can point me in the right direction. ~| 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:353835 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Need help finding new CF Hosting
I would highly recommend a VPS with Viviotech. They also have shared plans, although I'm not certain what is allowed/disallowed under those plans. On Tue, Dec 18, 2012 at 9:32 AM, Dave Long d...@northgoods.com wrote: I'm trying to find a CF Hosting provider with 24/7 support and allows code such as CFILE plus access to the CF Administrator so I can add ODBC sources timely. Any suggestions? Dave Long NorthGoods Merchant Services ~| 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:353522 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: moving CF from one machine to another
I don't use ColdFusion anymore, so I don't remember exactly where it is in the menu, but you're looking for the CAR files - ColdFusion Archive Resource, as I recall. Anyway, it seems to me that it was under Package Deployment or something like that, way down at the bottom of the left-hand nav menu. HTH On Sat, Dec 15, 2012 at 2:48 PM, Ben Conner b...@webworldinc.com wrote: Hi, I have CF 9 Ent in a multi-server mode with another machine pointing to an instance on that box. Tying the two machines together has caused issues (resource constraints, etc.) so I installed CF9 on the 2nd box independently. Is there a way to move the odbc entries from the 1st machine to the 2nd? I also have a group of CF collections that also need to be moved. Thanks! --Ben -- Ben Conner b...@webworldinc.com Web World, Inc. 888-206-6486 or PO Box 1122 480-704-2000 Queen Creek, AZ 85142 ~| 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:353491 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Regular Expression - decimal number positive negative
A contrived, slightly expanded example based upon Nathan's code... cfscript samples = { a = 5.24, b = -5.24, c = 5, d = -5, e = $5.24, f = $5,244.22 }; for ( key in samples ) { writeOutput( reReplace( reReplace( samples[key], '(-?\d+(\.\d+)?)', '\1', 'all' ), '[^0-9\.-]', '', 'all' ) br / ); } /cfscript On Fri, Dec 14, 2012 at 9:14 AM, Nathan Strutz str...@gmail.com wrote: So you need something like [^0-9\.-] This just adds the dash to your existing match. You could get a lot better though, like this -?\d+(\.\d+)? -? matches an optional negative indiator, aka a dash \d+ is just numbers, same as 0-9, the only part of this regex that is required (\.\d+)? means match a decimal only when it has numbers after it, and this entire group is optional nathan strutz [www.dopefly.com] [hi.im/nathanstrutz] [about.me/nathanstrutz] On Fri, Dec 14, 2012 at 7:59 AM, Paul Giesenhagen p...@quilldesign.com wrote: Heya, I know that some will know this quickly ... but I have ReplaceNoCase(str, [^0-9\.],,ALL) And this takes -5 to 5 ... which is not what I want - I want to include negative numbers what do I add to this regular expression to keep the decimals (if there) and keep the negative if there? So 5.24 is fine -5.24 is fine 5 is fine -5 if fine $5.24 (replace the $) $5,244.22 (replace the $ and the ,) Basically I need positive and negative integers to go into a float column. 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:353459 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Converting JS variable to CF variable
JS is client-side. CF is server-side. By the time the page gets to the client where JS can/is run, CF is already completely out of the picture. You could... a) set a CF variable and render it as a JS variable b) get fancy with some ajax to send off a request to CF to set/get a variable and send back a response that you inject into the page somewhere HTH On Fri, Dec 14, 2012 at 3:50 PM, Les Irvin les.cft...@gmail.com wrote: I don't know diddly squat about javascript. But I want to take a JS variable, such as those addressed in this alert: alert(Your coordinates are + position.coords.latitude + , + position.coords.longitude); and use it as a CF variable elsewhere on the page, like #position.coords.latitude# (of course this doesn't work). Can anyone shed some light for me? Thanks, Les ~| 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:353487 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm