RE: Charge for meetings

2011-02-08 Thread Will Swain
Cheap option - http://repositoryhosting.com/ http://repositoryhosting.com/ SVN, Git, HG and Trac support for $6 a month. Unlimited users, projects and repos. We've been using them for around 6/7 months and not had any issues. Will From: Justin Scott

META: email notification for single threads?

2011-02-08 Thread Dave Burns
I don't want to subscribe to emails for all of cf-talk because of the high volume but I do want it for threads I start and/or contribute to. Is there a way to do only that? I haven't been able to find it. Right now, I leave a browser tab open to the thread and I refresh it a couple of times

Singleton var scoping

2011-02-08 Thread Jason Fill
I know that var scoping is paramount with CFC development, however, I do have a question in regards to var scoping when the CFC is not going to be a singleton and the impact that might have. Please consider the following simplified example: !--- mySingletonCFC.cfc --- cfcomponent

Am I looking for a shopping cart? Or just SQL design pattern?

2011-02-08 Thread Dave Burns
I've inherited a site at a customer and the previous (several) people working on this code did them no favors. For example, it's an e-commerce site and the table that records sales keeps track of the user id and the amount paid but not what product was bought or the form of payment. There

Re: Am I looking for a shopping cart? Or just SQL design pattern?

2011-02-08 Thread Jason Fill
Dave, eCommerce sites can be a bear to tackle as the requirements seem to always grow. I have used SiteDirector from QuillDesign (http://quilldesign.com) for several sites and it is a great affordable application that can be fully customized. I would imagine for the time it would take to

(ot) redirect and referer

2011-02-08 Thread John M Bliss
I know this is more of an HTTP question than it is a CF question but... So, there are (at least) three ways of performing a redirect: (For each of the following, start.cfm has a href=redirect.cfm) start.cfm - [click link] - redirect.cfm (with 301 / 302 / cflocation) - destination.cfm (where

Using a part number to query corresponding data from separate tables

2011-02-08 Thread Aaron Renfroe
Good Morning Everyone! I'm having a mental issue on how i can get the data i need based on a part number that I’m retrieving from one table. In the one table i have the top 200 sellers, in my other three tables i have all of the information that goes with the parts. I have written three

Re: Am I looking for a shopping cart? Or just SQL design pattern?

2011-02-08 Thread Scott Stewart
this is all about normalization, there's a relationship between the user, the order and what was bought in the order. You'll have a one to many relationship between users and orders(a user can have multiple orders but an order can't have multiple users) and a many to many relationship between

RE: (ot) redirect and referer

2011-02-08 Thread Robert Harrison
Question: is there a way to do a 301 / 302 / cflocation where, on destination.cfm, cgi.HTTP_REFERER is NOT start.cfm ? cfif (Find(destination.cfm., cgi.http_host) is true and Find(start.cfm., cgi.http_referer) is false) cflocation url=GOHERE addToken=no statusCode=301 /cfif Robert

RE: (ot) redirect and referer

2011-02-08 Thread Robert Harrison
Whoops... left in dots. Should be: cfif (Find(destination.cfm, cgi.http_host) is true and Find(start.cfm, cgi.http_referer) is false) cflocation url=GOHERE addToken=no statusCode=301 /cfif Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite

Mobile Editor: What's the best one?

2011-02-08 Thread Matthew Lowrey
Hello all: I just got my first android (tMobile myTouch 4G) and I'm excited to dive into doing things on my phone I would normally do on my laptop. One of them is building webpages or developing home projects. First question I'd be asking is, why the heck would you want to do developing on

Re: META: email notification for single threads?

2011-02-08 Thread Michael Dinowitz
There is no option for that but let me see about adding it. On Tue, Feb 8, 2011 at 9:21 AM, Dave Burns cft...@burnsorama.com wrote: I don't want to subscribe to emails for all of cf-talk because of the high volume but I do want it for threads I start and/or contribute to. Is there a way to

RE: (ot) redirect and referer

2011-02-08 Thread Robert Harrison
Bejezzz... Must pay attention to my email. Do not multi task... do not multi task. Really correct syntax now cfif Find(destination.cfm, cgi.http_host) is true and Find(start.cfm, cgi.http_referer) is false cflocation url=GOHERE addToken=no statusCode=301 /cfif Robert B. Harrison

Re: (ot) redirect and referer

2011-02-08 Thread John M Bliss
Thanks, Robert...but it wasn't a question of *detecting/acting on* cgi.http_referer on destination.cfm. Question is: Is there a way to write redirect.cfm with 301/302/cflocation so that, on destination.cfm, cgi.http_referer is not start.cfm? I know this can be done with meta refresh and with

RE: (ot) redirect and referer

2011-02-08 Thread Robert Harrison
Oh. I took destination.cfm to mean a literal file... do this if its that file and did not come from here. Is there a way to write redirect.cfm with 301/302/cflocation so that, on destination.cfm, cgi.http_referer is not start.cfm? I'm not sure I understand that question. I think you are

Re: (ot) redirect and referer

2011-02-08 Thread John M Bliss
Right. On Tue, Feb 8, 2011 at 11:16 AM, Robert Harrison rob...@austin-williams.com wrote: Oh. I took destination.cfm to mean a literal file... do this if its that file and did not come from here. Is there a way to write redirect.cfm with 301/302/cflocation so that, on destination.cfm,

Getting information from a cfquery/cfloop to display in a table or div

2011-02-08 Thread Michelle Dupray
Hello, I'm trying to get information from our database to display in horizontal form (table or div). I'm able to pull information from our database with the following code. Everytime I try to incorporate a table the same information will display in on each row; different information will not

Re: Verity and Asian languages

2011-02-08 Thread Robert Nurse
Hi All, I've got a verity collection that I load periodically. Some of the data contains Unicode (English) characters. When they're retrieved and displayed, I get ? and other odd characters. Would using language=unicode on the cfindex tag take care of this?

CFINDEX and Encoding

2011-02-08 Thread Robert Nurse
Hi All, I've got a verity collection that I load periodically. Some of the data contains Unicode (English) characters. When they're retrieved and displayed, I get ? and other odd characters. Would using language=unicode on the cfindex tag take care of this?

RE: Getting information from a cfquery/cfloop to display in a table or div

2011-02-08 Thread Rick Faircloth
Try leaving out the cfoutput/cfoutput in the your cfloop. Rick -Original Message- From: Michelle Dupray [mailto:mdup...@gmail.com] Sent: Tuesday, February 08, 2011 12:24 PM To: cf-talk Subject: Getting information from a cfquery/cfloop to display in a table or div Hello, I'm trying

Re: META: email notification for single threads?

2011-02-08 Thread Dave Burns
Thanks, Michael. The ideal is what I've seen on other forums: a checkbox for each thread that anyone can check if they want to subscribe to that thread via email. Then, if you create a thread or add to it, the box gets checked for you by default. db

Re: Getting information from a cfquery/cfloop to display in a table or div

2011-02-08 Thread Rob Parkhill
Michelle, Try the following: table trtdFirst Name/tdtdLast Name/tdtdStarship/td/tr cfoutput query=member trtd#fname#/tdtd#lname#/tdtd#starship#/td/tr /cfoutput /table Cheers, Rob On Tue, Feb 8, 2011 at 1:01 PM, Rick Faircloth r...@whitestonemedia.comwrote: Try leaving out the

Re: Am I looking for a shopping cart? Or just SQL design pattern?

2011-02-08 Thread Dave Burns
Thanks, Scott. I'm pretty good at data modeling so I feel like, with enough time, I can solve this problem well. But that's when it occurs to me that this has been solved by many before me who have the benefit of hindsight. Maybe I could save my client some money by either recommending they

Re: Singleton var scoping

2011-02-08 Thread Dave Watts
I know that var scoping is paramount with CFC development, however, I do have a question in regards to var scoping when the CFC is not going to be a singleton and the impact that might have. Please consider the following simplified example: !--- mySingletonCFC.cfc --- cfcomponent

Re: (ot) redirect and referer

2011-02-08 Thread Dave Watts
I know this is more of an HTTP question than it is a CF question but... So, there are (at least) three ways of performing a redirect: (For each of the following, start.cfm has a href=redirect.cfm) start.cfm - [click link] - redirect.cfm (with 301 / 302 / cflocation) - destination.cfm

Re: (ot) redirect and referer

2011-02-08 Thread John M Bliss
Thanks. That's what I suspected. I can't get into detail but we'd prefer to do a 301/302 but we can't have starting URL visible in referer on destination page. On Feb 8, 2011 1:26 PM, Dave Watts dwa...@figleaf.com wrote: I know this is more of an HTTP question than it is a CF question but...

Re: (ot) redirect and referer

2011-02-08 Thread Dave Watts
Thanks. That's what I suspected. I can't get into detail but we'd prefer to do a 301/302 but we can't have starting URL visible in referer on destination page. If that's your goal, you could redirect to an intermediate page, then have that redirect to the final destination. The referrer seen

Re: (ot) redirect and referer

2011-02-08 Thread John M Bliss
Right but if all redirects in the chain are 301/302, original referer remains unchanged. And meta-refresh - 302 - destination doesn't solve our issue. On Feb 8, 2011 2:05 PM, Dave Watts dwa...@figleaf.com wrote: Thanks. That's what I suspected. I can't get into detail but we'd prefer to do a

Re: (ot) redirect and referer

2011-02-08 Thread Dave Watts
Right but if all redirects in the chain are 301/302, original referer remains unchanged. And meta-refresh - 302 - destination doesn't solve our issue. I didn't know that. In that case, there isn't anything you can do with redirects only. Dave Watts, CTO, Fig Leaf Software

(ot) Find and Replace Help

2011-02-08 Thread Patrick Kerley
I'm trying to parse XML and I've hit a problem where inbetween my XML of abstract/abstract There is occasionally some math values or thing like abstract     the dog is than the cat /abstract I've got 3500 of these documents to run through an insert into a DB.  Does anyone know how or in

Re: (ot) redirect and referer

2011-02-08 Thread Dave Burns
Key concept to understand though re the original q is that the HTTP_REFERER field is set by the browser and there's nothing you can do on the server to tell them how to set it. ~| Order the Adobe Coldfusion Anthology now!

Re: (ot) redirect and referer

2011-02-08 Thread John M Bliss
Right...except to use meta-refresh to make it so that most (all?) browsers won't pass it through. But don't do this unless you have a very good reason to do so as 301/302 is preferred. On Tue, Feb 8, 2011 at 2:52 PM, Dave Burns cft...@burnsorama.com wrote: Key concept to understand though re

Looking for CF/Adobe Network group in Chicago

2011-02-08 Thread Joshua O'Connor-Rose
Does anybody know of any groups in Chicago (downtown) that are active and has a focus on Coldfusion/Adobe products I'm looking to possibly shift back into Java/CF/Mobile world from .NET world. thanks in advance -Joshua O'Connor-Rose -All is Good

Re: (ot) Find and Replace Help

2011-02-08 Thread Dave Watts
I'm trying to parse XML and I've hit a problem where inbetween my XML of abstract/abstract There is occasionally some math values or thing like abstract     the dog is than the cat /abstract I've got 3500 of these documents to run through an insert into a DB.  Does anyone know how or

Re: (ot) Find and Replace Help

2011-02-08 Thread Dave Watts
First, if you have something in a document, it's not XML. I meant to write, if you have something LIKE THAT in a document, it's not XML. 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

Re: Looking for CF/Adobe Network group in Chicago

2011-02-08 Thread John M Bliss
http://chicago.groups.adobe.com On Tue, Feb 8, 2011 at 3:05 PM, Joshua O'Connor-Rose joshua.oconnorr...@gmail.com wrote: Does anybody know of any groups in Chicago (downtown) that are active and has a focus on Coldfusion/Adobe products I'm looking to possibly shift back into

RE: (ot) Find and Replace Help

2011-02-08 Thread Robert Harrison
abstract the dog is than the cat /abstract This is definitely NOT a valid XML file if you are working with this. Where is this coming from. If it's an XML file the problem is that the source XML file has errors. Robert B. Harrison Director of Interactive Services Austin Williams 125

Re: (ot) Find and Replace Help

2011-02-08 Thread Patrick Kerley
The source file has errors.  I'm trying to work through them.   - Patrick Kerley kerl...@yahoo.com - From: Robert Harrison rob...@austin-williams.com To: cf-talk cf-talk@houseoffusion.com Sent: Tue, February 8, 2011 4:16:18 PM

RE: Looking for CF/Adobe Network group in Chicago

2011-02-08 Thread Eric Roberts
Joshua, The CHIFUG group has been relative dormant and there has only been a couple of meetings over the past couple of years. I would love to see something start up again. They guy that used to run it had twins a few years ago and obviously, that and the coffee shop he runs with his wife

RE: (ot) Find and Replace Help

2011-02-08 Thread Robert Harrison
The source file has errors. I'm trying to work through them. Uggh! Sorry. You may have to do search/replace and rewrite the source file to a temp file to get it straight. That's always fun. I feel your pain. Robert B. Harrison Director of Interactive Services Austin Williams 125

Re: Mobile Editor: What's the best one?

2011-02-08 Thread Mike Chabot
The best editor on your phone is the one you don't use. The problems with trying to do serious coding on a phone should become apparent after a few minutes of trying it. Having a remote desktop/VNC program on a phone would help if you are away from your computer and need to change something on a

Linking cfsearch results

2011-02-08 Thread N kips
I have indexed and used cfsearch according to the docs (cf9). I am searching a query. It works as the documentation defined, my only problem is that the only text that be be rendered in the search results is that which is defined in the title field in cfidex. This means that I cannout output

RE: Looking for CF/Adobe Network group in Chicago

2011-02-08 Thread Terry Troxel
Hey, is this the INTERNET world? Are we having a hard time finding the funds to have a big Coldfusion Extravaganza to host, participate in, attend, etc.? Why cannot some enterprising folks come up with some sort of Webinar that we can all attend and not have to leave our desk? Would you be

Re: Looking for CF/Adobe Network group in Chicago

2011-02-08 Thread Casey Dougall
On Tue, Feb 8, 2011 at 5:55 PM, Terry Troxel terry.tro...@gmail.com wrote: Hey, is this the INTERNET world? Are we having a hard time finding the funds to have a big Coldfusion Extravaganza to host, participate in, attend, etc.? You mean like? http://www.meetup.com/coldfusionmeetup/

Re: Looking for CF/Adobe Network group in Chicago

2011-02-08 Thread Kelly
You beat me to it! LOL :) On 2/8/2011 6:10 PM, Casey Dougall wrote: You mean like? http://www.meetup.com/coldfusionmeetup/ ~| Order the Adobe Coldfusion Anthology now!

RE: Looking for CF/Adobe Network group in Chicago

2011-02-08 Thread Terry Troxel
Thank you Casey, that is EXACTLY what I meant. I am off to read up on what I gotta do to get into that and learn. Thank you again. Terry -Original Message- From: Casey Dougall [mailto:ca...@uberwebsitesolutions.com] Sent: Tuesday, February 08, 2011 3:11 PM To: cf-talk Subject: Re:

Re: Linking cfsearch results

2011-02-08 Thread N kips
Below is the code that does the index, and the cfsearch code that reads The index: cfquery name=Qryname datasource=dsnnane SELECT id, eid, title FROM tbl1 /cfquery cfindex query=Qryname collection=events action=Update type=Custom title=title key=id

Re: refreshing application variables

2011-02-08 Thread Richard Steele
Got it! Thanks for all of the help! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

Re: Linking cfsearch results

2011-02-08 Thread Dave Watts
Below is the code that does the index, and the cfsearch code that reads The index: cfquery name=Qryname datasource=dsnnane SELECT id, eid, title FROM tbl1 /cfquery cfindex    query=Qryname    collection=events    action=Update    type=Custom    title=title    key=id    

Multiple applications with a single codebase issues

2011-02-08 Thread Pete Ruckelshaus
I'm having a bit of an issue here. Over time, I have developed a CF web-based content management system (hey, who hasn't?). The software is currently running a handful of sites, all on different web hosts. It works fine in this mode. Recently, I realized that I could get a VPS for less money

Re: Multiple applications with a single codebase issues

2011-02-08 Thread Dave Watts
I have it set up so that IIS sees the root directory of the CMS software as each web sites' root, and then I set up a virtual directory to the site-specific content for each domain. Perhaps you could reverse this - set up the root directory of each virtual server to be site-specific, then

Re: Linking cfsearch results

2011-02-08 Thread Michael Grant
As a purely academic question I'd be interested in knowing your reasons to use verity (or whatever cf uses now) instead of the database directly. On Tue, Feb 8, 2011 at 6:17 PM, N kips nich...@gmail.com wrote: Below is the code that does the index, and the cfsearch code that reads The

Re: Linking cfsearch results

2011-02-08 Thread Dave Watts
As a purely academic question I'd be interested in knowing your reasons to use verity (or whatever cf uses now) instead of the database directly. CF allows you to use either Verity or Solr. In general, people use these instead of database queries to improve performance when searching for

Re: Multiple applications with a single codebase issues

2011-02-08 Thread William Seiter
I had a similar issue that came up a couple of years ago for me. As it turned out I had the name of the application the same across all of the sites, so the application variables weren't unique to each site. -- William E. Seiter On Feb 8, 2011, Pete Ruckelshaus

Re: Linking cfsearch results

2011-02-08 Thread Michael Grant
I've never used Solr before. About ten years ago I worked on a Monster.com competitor that never really got there. One of the things we did was make use of cf's verity collections for resume and job searching. It worked really well but we found it somewhat cumbersome updating the collections. It

Re: Multiple applications with a single codebase issues

2011-02-08 Thread Pete Ruckelshaus
I'd have to rewrite the entire application to support thiswhich I really, really don't want to do. I think I just need to gut my application.cfc file and start by rewriting that and any of the site-specific instantiation code. On Tue, Feb 8, 2011 at 8:19 PM, Dave Watts dwa...@figleaf.com

coldfusion errors

2011-02-08 Thread Richard Steele
Is there anyway to catch coldfusion programming errors? cfoutput#999sdflkjsdf;lk#/cfoutput is caught by my error handler. But cfoutput#alsdk;fjlkj#/cfoutpu is not. Thanks in advance. ~| Order the Adobe Coldfusion Anthology

Re: coldfusion errors

2011-02-08 Thread Charlie Griefer
There's a whole section on it in the livedocs :) http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec22c24-7fc4.html On Tue, Feb 8, 2011 at 6:30 PM, Richard Steele r...@photoeye.com wrote: Is there anyway to catch coldfusion programming errors?

Re: coldfusion errors

2011-02-08 Thread Brian Cain
Error handling is for run time errors. Your second example is a compile error. You cannot use error handling to fix this. You could try a site wide error handler, but that probably won't work either. Brian Cain Sent from my iPhone On Feb 8, 2011, at 7:30 PM, Richard Steele

RE: Multiple applications with a single codebase issues

2011-02-08 Thread Mark A. Kruger
Pete, Make sure the APPLICATION NAME (this.name declared at the top along with the session stuff and timeouts etc.) is different for each domain. This can be done by using the URL itself as the application name. If the names are different then each site will be it's own application with it's

RE: Multiple applications with a single codebase issues

2011-02-08 Thread Mark A. Kruger
Pete... see my other note... you can fix this by insure the name of the app is different for each URL... not tough at all :) Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Pete

Re: Looking for CF/Adobe Network group in Chicago

2011-02-08 Thread Joshua O'Connor-Rose
While CFMeetup is great and there are awesome presentations going on it's not exactly a networking opportunity for folks in the area. I participate in the web events and they are great, but networking ops aren't quite the same. Thanks for the info. -Joshua O'Connor-Rose -All is Good

Re: Multiple applications with a single codebase issues

2011-02-08 Thread Casey Dougall
On Tue, Feb 8, 2011 at 8:19 PM, Dave Watts dwa...@figleaf.com wrote: I have it set up so that IIS sees the root directory of the CMS software as each web sites' root, and then I set up a virtual directory to the site-specific content for each domain. Perhaps you could reverse this -

Re: Looking for CF/Adobe Network group in Chicago

2011-02-08 Thread Casey Dougall
On Tue, Feb 8, 2011 at 10:09 PM, Joshua O'Connor-Rose joshua.oconnorr...@gmail.com wrote: While CFMeetup is great and there are awesome presentations going on it's not exactly a networking opportunity for folks in the area. I participate in the web events and they are great, but networking

Re: Multiple applications with a single codebase issues

2011-02-08 Thread Steve Bryant
You can accomplish that by using the domain name (CGI.SERVER_NAME) to figure the ApplicationName, for example (perhaps not directly though). Also check out the Many Sites, Single Codebase blog series by Steven Cutter Blades:

Re: refreshing application variables

2011-02-08 Thread Steve Bryant
Normally Dave Watts really knows his stuff, but I have to disagree with one of his suggestions. I definitely would NOT refresh an application by renaming it. While this will work, I would think that would leave the old Application scope running on the server. This isn't something that the GC

Re: refreshing application variables

2011-02-08 Thread Dave Watts
Normally Dave Watts really knows his stuff, but I have to disagree with one of his suggestions. I definitely would NOT refresh an application by renaming it. While this will work, I would think that would leave the old Application scope running on the server. This isn't something that the

Re: Linking cfsearch results

2011-02-08 Thread Dave Watts
I do wonder now though, with the resources available to db servers now, if a well indexed db would really perform significantly slower. Ten years ago it was almost a given that a collection was faster, but I wonder now if that still holds true. Indexes don't really help with substring

Re: coldfusion errors

2011-02-08 Thread Dave Watts
Error handling is for run time errors. Your second example is a compile error. You cannot use error handling to fix this. You could try a site wide error handler, but that probably won't work either. Actually, the site-wide error handler will trap compile errors as well as runtime

Re: coldfusion errors

2011-02-08 Thread Dave Watts
Is there anyway to catch coldfusion programming errors? cfoutput#999sdflkjsdf;lk#/cfoutput is caught by my error handler. But cfoutput#alsdk;fjlkj#/cfoutpu is not. As Brian pointed out, the first one is a runtime exception, and the second is a compiler error. Runtime exceptions can be

Re: coldfusion errors

2011-02-08 Thread rex
The site-wide error handler in CFAdmin should catch all errors, even compile-time errors (a syntax error, in this case). The problem is if your site-wide error handler has an error in there, then you're out of luck. It's a good idea to have your site-wide handler to be just a static file,

Re: Looking for CF jobs in NYC

2011-02-08 Thread Michael Dinowitz
There is a NYCFUG meeting tonight. You might want to attend in case there's anyone looking for people. I'm going to be there as I'm looking as well. :) http://nycfug.com/ On Tue, Feb 8, 2011 at 12:31 PM, ColdFusion Developer cfdeveloper...@gmail.com wrote: Hi Everyone, I worked as a