RE: Employee Satisfaction
From: Snake [mailto:[EMAIL PROTECTED] Sent: 21 November 2006 16:26 To: CF-Talk Subject: RE: Employee Satisfaction I actually have found that being too friendly with your staff doesn't work very well. People generally don't want to be mates with their boss and wont relax with you, and if you do get too chummy, your authority tends to go out the window. It totally depends on the boss. Two of my best gaffers would happily go out on Friday night, pay for most of the drinks, and get blind drunk with everyone else - and also be prepared to take the drunken flak that came their way by the end of the night. It requires a thick skin and two faces to some extent, but it can work really well. Sometimes staff need to be allowed to vent their frustrations away from the office - it can be a reward just to do that at times. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261368 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: It's Happened!
On Tuesday 21 November 2006 23:45, Paul Boyd wrote: on valid email addresses. Oh well, I thought the idea was neat, but obvioulsy the service needs to be ironed out. At the end of the day it's impossible for a remote server to tell. I may, for instance, configure my mail server to accept email with anything to the left of the '@' in order to capture dictionary-based spam. -- Tom Chiverton Helping to simultaneously mesh edge-of-your-seat infomediaries 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 Law Society. 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 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261369 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: SOT: textfields on submit
On Thursday 16 November 2006 20:30, Turetsky, Seth wrote: So when CF gets it, would 1a and 1b always be the first values of the lists, and 2a and 2b would be the 2nd...and so, or is that assuming too much? And is that browser dependent? Although browsers tend to send back form fields in the order defined in the file, this should not be relied on. -- Tom Chiverton Helping to ambassadorially seize industry-wide methodologies 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 Law Society. 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 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261370 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: IIS 7.0 Vista
On Tuesday 21 November 2006 16:35, Brian Peddle wrote: Anyone have any success in setting up CF 7.02 on IIS 7.0? I'll be posting detailed instructions tonight. If you can't wait till then, drop me a bell off-list. -- Tom Chiverton Helping to preemptively bully essential portals 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 Law Society. 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 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261371 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
DB Server Issues
Some time ago the MySQL Server and CF sat on the same machine. About 8 months ago we moved it onto a separate machine and ever since then we occasionally get the message... [Macromedia][SequeLink JDBC Driver][ODBC Socket][MySQL][ODBC 3.51 Driver][mysqld-4.1.21-community-nt]MySQL server has gone away This normally happens if the MySQL service is restarted however when they were on the same box this was not a problem. The only way to get it working again seems to be to restart the CF service. Is there any way to get around this, would changing from ODBC to JDBC help here? Is there a way to tell CF It hasn't gone away, look again!. Anything that we can do automatically so if there are problems at 2AM they fix themselves is what I need. -- Jay ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261372 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Country Name Case
Hi Guys I have a country reference table where all of the country names are held in upper case. I want to be able to output in lower case but keep the caps where appropriate (e.g. UNITED KINGDOM to United Kingdom). However I think that this going to be close to impossible as there are values such as: VIRGIN ISLANDS (BRITISH) VIRGIN ISLANDS (U.S.) WALLIS AND FUTANA So using a function to capitalise the first letter of each word won't really work. How have people approached this situation and has anybody found any good solution? Also, is there a UDF around for capitalising the first letter of each word? Thanks in advance -- Rich ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261373 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Country Name Case
On 11/22/06, RichL [EMAIL PROTECTED] wrote: Also, is there a UDF around for capitalising the first letter of each word? Take a look at initCapTitle() (I think that's the function name) at cflib.org. It won't be exact, but it'll get you pretty close. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261374 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Country Name Case
Thank you very much Rob I found CapFirstTitle() which looks like it may be useful On 11/22/06, Rob Wilkerson [EMAIL PROTECTED] wrote: On 11/22/06, RichL [EMAIL PROTECTED] wrote: Also, is there a UDF around for capitalising the first letter of each word? Take a look at initCapTitle() (I think that's the function name) at cflib.org. It won't be exact, but it'll get you pretty close. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261375 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Country Name Case
You could do something like this. I did not test it though: cfset lstCountry =countryFromDB!--- keeps the names in capital letters --- cfset replaceCountry =lstCountry!--- here the names will be replaced --- cfloop list=#lstCountry# index=lst delimeters=. /( !--- Place all separators in the delimeters --- cfset sReplaceString = UCase(Left(lst, 1)) LCase(Mid(lst, 2, Len(lst)) !--- now take the capitalized name and replace the one in the replacestring --- cfset replaceCountry = Replace(replaceCountry, lst, sReplaceString, ONCE) /cfloop Greetings / GrĂ¼sse Gert Franz Customer Care Railo Technologies GmbH [EMAIL PROTECTED] www.railo.ch Join our Mailing List / Treten Sie unserer Mailingliste bei: deutsch: http://de.groups.yahoo.com/group/railo/ english: http://groups.yahoo.com/group/railo_talk/ RichL schrieb: Hi Guys I have a country reference table where all of the country names are held in upper case. I want to be able to output in lower case but keep the caps where appropriate (e.g. UNITED KINGDOM to United Kingdom). However I think that this going to be close to impossible as there are values such as: VIRGIN ISLANDS (BRITISH) VIRGIN ISLANDS (U.S.) WALLIS AND FUTANA So using a function to capitalise the first letter of each word won't really work. How have people approached this situation and has anybody found any good solution? Also, is there a UDF around for capitalising the first letter of each word? Thanks in advance ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261376 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
[Reply To] Country Name Case
CF_Capitalize is very good. Seamus You wrote Hi Guys I have a country reference table where all of the country names are held in upper case. I want to be able to output in lower case but keep the caps where appropriate (e.g. UNITED KINGDOM to United Kingdom). However I think that this going to be close to impossible as there are values such as: VIRGIN ISLANDS (BRITISH) VIRGIN ISLANDS (U.S.) WALLIS AND FUTANA So using a function to capitalise the first letter of each word won't really work. How have people approached this situation and has anybody found any good solution? Also, is there a UDF around for capitalising the first letter of each word? Thanks in advance -- Rich ~~ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261377 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFUnit/ANT
I'm just getting into using CFUnit with the ANT integration (lazy developers are a PITA). Trouble is, we are developing against a shared server - so when I run my Ant script from my local machine I get an error saying that the build failed because it can't locate CFUnit. I'm guessing this is because it's on the shared server. V:\blah\build.xml:4: taskdef class net.sourceforge.cfunit.ant.CFUnit cannot be found Am I doing something wrong or is this a limitation of the tool? (I've verified CFUnit is working OK in the normal context) -- Neil Middleton Visit feed-squirrel.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261378 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFUnit/ANT
Why is it everytime I post a problem I solve it two minutes later. The issue is that CFUnit only appears to work if it's at the top of the classpath dialog. Without this it seems to fall on it's backside. Neil On 11/22/06, Neil Middleton [EMAIL PROTECTED] wrote: I'm just getting into using CFUnit with the ANT integration (lazy developers are a PITA). Trouble is, we are developing against a shared server - so when I run my Ant script from my local machine I get an error saying that the build failed because it can't locate CFUnit. I'm guessing this is because it's on the shared server. V:\blah\build.xml:4: taskdef class net.sourceforge.cfunit.ant.CFUnitcannot be found Am I doing something wrong or is this a limitation of the tool? (I've verified CFUnit is working OK in the normal context) -- Neil Middleton Visit feed-squirrel.com -- Neil Middleton Visit feed-squirrel.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261379 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Zip code locator
I am needing to implement a search within X miles of zipcode feature on my websire, and was wondering if someone knows of an open source solution. Thanks in advance Doug B. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261380 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Zip code locator
I am needing to implement a search within X miles of zipcode feature on my websire, and was wondering if someone knows of an open source solution. Talk to dave the disruptor. He knows zip code locators inside and out! Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261381 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Zip code locator
Hi Doug, I have a zip code locator built into the CMS I'm working on. Feel free to grab the code: http://activecharity.riaforge.org -- unzip the file and find the file /members/profilesearch.cfm. A more or less working version of it is here: http://www.veteransforamerica.org/index.cfm/page/searchProfiles Charles On 11/22/06 7:42 AM, Doug Brown [EMAIL PROTECTED] wrote: I am needing to implement a search within X miles of zipcode feature on my websire, and was wondering if someone knows of an open source solution. Thanks in advance Doug B. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261382 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Getting all CFCASE values from a file
Thanks Bobby, I tried that and it didn't do quite what I was hoping. It did parse out the values from the cfcase statements, but it also left all of the other code from the CF template (i.e. all I wanted left at the end was the attribute values from the CFCASE statements). Here's my code: cffile action=READ file=#CGI.CF_TEMPLATE_PATH# variable=guts cfset guts = rereplacenocase(guts, 'cfcase value=(.*?).*?/cfcase',\1, all) / cfset guts = rereplacenocase(guts, cfswitch.*?(.*?)/cfswitch, \1) / cfset guts = rereplacenocase(guts, cfdefaultcase.*?/cfdefaultcase,) / Thanks again for the help, Pete ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261383 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Zip code locator
Also take a look at: http://www.webmonkey.com/webmonkey/05/32/index4a.html?tw=programming I based my zip code search right out of this article. On 11/22/06 8:19 AM, Charles Sheehan-MIles [EMAIL PROTECTED] wrote: Hi Doug, I have a zip code locator built into the CMS I'm working on. Feel free to grab the code: http://activecharity.riaforge.org -- unzip the file and find the file /members/profilesearch.cfm. A more or less working version of it is here: http://www.veteransforamerica.org/index.cfm/page/searchProfiles Charles On 11/22/06 7:42 AM, Doug Brown [EMAIL PROTECTED] wrote: I am needing to implement a search within X miles of zipcode feature on my websire, and was wondering if someone knows of an open source solution. Thanks in advance Doug B. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261384 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Zip code locator
Thanks. Actually I just found one at http://coldfusion.sys-con.com/read/154258_1.htm Pretty interesting. I know I could not build one myself, since I know nothing about the math used to get it done. Doug B. - Original Message - From: Will Tomlinson [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, November 22, 2006 4:42 AM Subject: Re: Zip code locator I am needing to implement a search within X miles of zipcode feature on my websire, and was wondering if someone knows of an open source solution. Talk to dave the disruptor. He knows zip code locators inside and out! Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261385 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Initializing Objects in Application.cfm
Aaron, Functionally, there really is no difference between using the object factory the way we did and instantiating an object in the application scope as you are suggesting. When a variable, or object, is passed 'by reference', it simply means that a new instance of the variable or object is not created, however a 'pointer' is used to 'point' to the original variable. Here is a basic code snippet that might help clarify. cfset var1 = structNew() / cfset var1.myName = 'Scott' / cfset var2 = var1 / cfset var2.myName = 'Aaron' / cfoutput#var1.myName#/cfoutput This code will output 'Aaron'. The reason is that var2 does not actually contain a structure, rather just a 'pointer' to var1. In the objectFactory we used, when an object was 'registered' it was put into a structure. When we call the create() method on the objectFactory it checks to see if the object is supposed to be a singleton and if it is already stored in the structure. If it is, it merely returns a pointer to the object. As I said, while the code looks as if we are actually creating a new object on each page where a gateway is needed, it is only created if it doesn't exist or if you manually reinit the application. In a future presentation we will cover design patterns. In some design patterns it would be more advantageous to use a factory like we did as opposed to instantiating an object in the application scope. Hope this helps. On 11/21/06, Aaron Roberson [EMAIL PROTECTED] wrote: I had a hard time understanding passing by reference and by value in my Java class... I did download the code from Phill's blog and I couldn't figure out why you guys kept using the create method of the objectFactory on each page... now I get it. However, in this thread I am asking a much more basic question. Why not just create the objects in Application.cfm and ditch the whole objectFactory thing? It seems like it would be a whole lot easier to just instantiate a gateway object in Application.cfm then it is to register and then create each object using the objectFactory. What am I missing? There always seems to be a good reason to make things harder when using OOP, so there has to be something too it, right? Thanks, Aaron On 11/21/06, Scott Stroz [EMAIL PROTECTED] wrote: Aaron, Thanx for watching the presentation. I hope it helped you. The first part of the presentation was to demonstrate some OO principals, and to show how you could transform a procedural application into one more OO. It was during this part where we were creating all the gateway objects when we needed them. In the latter portion of the presentation, we discussed optimizing the application with the use of factories and caching objects in a shared scope (the application scope). If you go to Phill's site, http://www.phillnacelli.net/blog/index.cfm/2006/11/17/Central-PA-CFUG-Preso-Recapand download the code, you will see that we used an object factory to create the gateway objects using the create() method. When these gateways were used in the application, they are not being created, merely returned from the object factory. Since the gateway objects were specified as a 'singleton', only one instance of the objects will ever be in memory. In the application files, when we once again called the create() method of the object factory, it merely returned a reference to the object already cached in the application scope (Remember, complex data types, including objects, are passed by reference). So while the code on the some of the files may seem like new objects are being created each time a page is hit, a look at the code in application.cfm, and in objectFactory.cfc will show that the only time a new gateway object is created is when one does not already exist, or if you manually reinit the applciation by adding ?reinit=true to the end of a URL. On 11/21/06, Aaron Roberson [EMAIL PROTECTED] wrote: I watched a presentation from the guys at AboutWeb.com about Object Oriented Programming in Coldfusion and Phill Nacelli's Object Factory got me wondering a few things. Is it possible to initialize all of the object gateways into the application scope in Application.cfm? It seems like it would be better to create and initialize the object once and then reference it on each page instead of creating it on each page. In Application.cfm I would have: cfset application.personGateway = createObject(component,path.personGateway).init(application.dsn) / Then on the pages I would just do something like: cfset getPeople = application.personGateway / What do you think, am I off somewhere with all of this OOP stuff? -Aaron ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to
RE: Country Name Case
You could do a test and cap the first letter of any word 4 letters or longer. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: RichL [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 5:03 AM To: CF-Talk Subject: Country Name Case Hi Guys I have a country reference table where all of the country names are held in upper case. I want to be able to output in lower case but keep the caps where appropriate (e.g. UNITED KINGDOM to United Kingdom). However I think that this going to be close to impossible as there are values such as: VIRGIN ISLANDS (BRITISH) VIRGIN ISLANDS (U.S.) WALLIS AND FUTANA So using a function to capitalise the first letter of each word won't really work. How have people approached this situation and has anybody found any good solution? Also, is there a UDF around for capitalising the first letter of each word? Thanks in advance -- Rich ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261387 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
imap.cfc
Anyone using imap.cfc out there? http://sourceforge.net/projects/cfimap-cfc/ Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261388 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Country Name Case
There's a CFC called titlecase.cfc on cflib.org which is usually used for names (i.e recognises von, de as small etc..) You may be able to alter it to suit your needs T On 22 Nov 2006, at 14:06, Andy Matthews wrote: You could do a test and cap the first letter of any word 4 letters or longer. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: RichL [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 5:03 AM To: CF-Talk Subject: Country Name Case Hi Guys I have a country reference table where all of the country names are held in upper case. I want to be able to output in lower case but keep the caps where appropriate (e.g. UNITED KINGDOM to United Kingdom). However I think that this going to be close to impossible as there are values such as: VIRGIN ISLANDS (BRITISH) VIRGIN ISLANDS (U.S.) WALLIS AND FUTANA So using a function to capitalise the first letter of each word won't really work. How have people approached this situation and has anybody found any good solution? Also, is there a UDF around for capitalising the first letter of each word? Thanks in advance -- Rich ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261389 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: imap.cfc
Neat, I didn't know it existed. I might use it soon... ;-) Yves On 11/22/06, Rick Root [EMAIL PROTECTED] wrote: Anyone using imap.cfc out there? http://sourceforge.net/projects/cfimap-cfc/ Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261390 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Country Name Case
Correction, its not on there, author was http://artlung.com but I can't seem to find it on there. Well, I have a copy if you want a look see T On 22 Nov 2006, at 14:16, Tom King wrote: There's a CFC called titlecase.cfc on cflib.org which is usually used for names (i.e recognises von, de as small etc..) You may be able to alter it to suit your needs T On 22 Nov 2006, at 14:06, Andy Matthews wrote: You could do a test and cap the first letter of any word 4 letters or longer. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: RichL [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 5:03 AM To: CF-Talk Subject: Country Name Case Hi Guys I have a country reference table where all of the country names are held in upper case. I want to be able to output in lower case but keep the caps where appropriate (e.g. UNITED KINGDOM to United Kingdom). However I think that this going to be close to impossible as there are values such as: VIRGIN ISLANDS (BRITISH) VIRGIN ISLANDS (U.S.) WALLIS AND FUTANA So using a function to capitalise the first letter of each word won't really work. How have people approached this situation and has anybody found any good solution? Also, is there a UDF around for capitalising the first letter of each word? Thanks in advance -- Rich ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261391 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: DB Server Issues
On Wednesday 22 November 2006 10:47, James Smith wrote: [Macromedia][SequeLink JDBC Driver][ODBC Socket][MySQL][ODBC 3.51 Driver][mysqld-4.1.21-community-nt]MySQL server has gone away Turn off persistant connections. Is there any way to get around this, would changing from ODBC to JDBC help here? Is there a way to tell CF It hasn't gone away, look again!. JDBC is almost certainly better than ODBC, yes. Anything that we can do automatically so if there are problems at 2AM they fix themselves is what I need. Run a query, and if it errors with that error, call a script to bounce the server. -- Tom Chiverton Helping to paradigmatically promote internet eyeballs 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 Law Society. 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 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261392 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Country Name Case
Thanks guys CapsFirstTitle() from CFLib seems to be working out well for me... a couple of minor tweaks but otherwise great On 11/22/06, Tom King [EMAIL PROTECTED] wrote: Correction, its not on there, author was http://artlung.com but I can't seem to find it on there. Well, I have a copy if you want a look see T On 22 Nov 2006, at 14:16, Tom King wrote: There's a CFC called titlecase.cfc on cflib.org which is usually used for names (i.e recognises von, de as small etc..) You may be able to alter it to suit your needs T On 22 Nov 2006, at 14:06, Andy Matthews wrote: You could do a test and cap the first letter of any word 4 letters or longer. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: RichL [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 5:03 AM To: CF-Talk Subject: Country Name Case Hi Guys I have a country reference table where all of the country names are held in upper case. I want to be able to output in lower case but keep the caps where appropriate (e.g. UNITED KINGDOM to United Kingdom). However I think that this going to be close to impossible as there are values such as: VIRGIN ISLANDS (BRITISH) VIRGIN ISLANDS (U.S.) WALLIS AND FUTANA So using a function to capitalise the first letter of each word won't really work. How have people approached this situation and has anybody found any good solution? Also, is there a UDF around for capitalising the first letter of each word? Thanks in advance -- Rich ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261393 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Identifying date/time objects
I have a page which allows the user to select a custom query and download a CSV. The relevant code is: cfsetting enablecfoutputonly=yes CFHEADER NAME=Content-Disposition VALUE=attachment; filename=#session.MM_Username##LSTimeFormat(Now(),'hhmmmss')#.csv CFCONTENT TYPE=application/excel cfoutput#fieldlist##chr(13)#/cfoutput cfoutput query=rsList cfloop index=thisfield list=#fieldlist# cfset newfield=#rereplace(evaluate(#thisfield#), #chr(13)##chr(10)#, #chr(10)#, all)##trim(rereplace(#newfield#, ,, , all))#, /cfloop#CHR(13)# /cfoutput I want to be able to figure out if #thisfield# is a SQL date/time object so I can output it as mm/dd/ instead of 2006-02-11 00:00:00.0 For some reason some of my users get this and excel interprets the date field as 00:00:00.0 instead of the date, unless you go in and manually change the format. Any ideas? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261395 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: imap.cfc
Yves Arsenault wrote: Neat, I didn't know it existed. I might use it soon... I'm thinking about building a Flex-based webmail app. rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261394 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Identifying date/time objects
cfif IsDate(thisfield) #DateFormat(blahblah)# cfelse whatever /cfif Would that work? Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261396 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Identifying date/time objects
Or maybe you'd needta extract that date out first with a ListFirst()? cfset dateOnly = ListFirst(thisfield, ) cfif isValid(dateOnly) Show this cfelse show that /cfif ?? Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261397 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: javascript confirm
On Tuesday 21 November 2006 20:55, Charlie Griefer wrote: CF is server side. JS is client side. It never ceases to make me scratch my head that people can start using the one or the other without coming across this fundamental difference. -- Tom Chiverton Helping to augmentatively expedite front-end experiences 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 Law Society. 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 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261398 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: MySQL Datasource error
Also, make sure port 3306 (or whatever your MySQL is using) is open on your firewall, if there is one on the CF machine (or one between your CF and MySQL). Cutter _ http://blog.cutterscrossing.com Steven Erat wrote: In short, the problem is Connection refused when attempting to establish a tcp connection from the driver to the database. Check the database ip and port number used in the datasource configuration. Can you connect from another application on the same machine as ColdFusion? Perhaps using the MySQL Administrator (available from mysql.com). -Steven Erat -Original Message- From: Jason T. Slack [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 21, 2006 8:26 AM To: CF-Talk Subject: MySQL Datasource error I am trying to create a datasource in the CF administrator using the MySQL 5 Connector/J driver. I get the following exception that I dont see what is going wrong: Can anybody point this out? -Jason * Connection verification failed for data source: webPOS com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.SocketException MESSAGE: java.net.ConnectException: Connection refused STACKTRACE: java.net.SocketException: java.net.ConnectException: Connection refused at com.mysql.jdbc.StandardSocketFactory.connect (StandardSocketFactory.java:156) at com.mysql.jdbc.MysqlIO. (MysqlIO.java:276) at com.mysql.jdbc.Connection.createNewIO (Connection.java:2666) at com.mysql.jdbc.Connection.(Connection.java: 1531) at com.mysql.jdbc.NonRegisteringDriver.connect (NonRegisteringDriver.java:266) at coldfusion.server.j2ee.sql.pool.JDBCPool.createPhysicalConnection (JDBCPool.java:562) at coldfusion.server.j2ee.sql.pool.ConnectionRunner $RunnableConnection.run(ConnectionRunner.java:67) at java.lang.Thread.run(Thread.java:552) ** END NESTED EXCEPTION ** Last ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261400 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Random session drops?
Has anyone had any experience of CF seemingly randomly dropping sessions? I running in a single server config here. -- Neil Middleton Visit feed-squirrel.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261399 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Identifying date/time objects
I just slapped myself on my forehead, thank you. This worked fine: cfoutput query=rsList cfloop index=thisfield list=#fieldlist# cfif IsDate(evaluate(#thisfield#)) #lsdateformat(evaluate(#thisfield#), mm/dd/)# cfelse #evaluate(#thisfield#)# /cfif, /cfloop#CHR(13)# /cfoutput On 11/22/06 8:31 AM, Will Tomlinson [EMAIL PROTECTED] wrote: cfif IsDate(thisfield) #DateFormat(blahblah)# cfelse whatever /cfif Would that work? Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261401 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: javascript confirm
Yes indeed, I had a very long day yesterday and I was losing my mind. Sorry for the dumb question!! On 11/22/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 21 November 2006 20:55, Charlie Griefer wrote: CF is server side. JS is client side. It never ceases to make me scratch my head that people can start using the one or the other without coming across this fundamental difference. -- Tom Chiverton Helping to augmentatively expedite front-end experiences 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 Law Society. 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 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261402 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: OT: Employee Satisfaction
No problem, Teddy. If you liked that article, here's a bit more background on the book I referenced: http://gmj.gallup.com/book_center/FBATR/default.aspx Regards, Jon On Nov 21, 2006, at 10:52 PM, Teddy Payne wrote: That article in an interesting read. Thanks Jon. Teddy On 11/21/06, Jon Clausen [EMAIL PROTECTED] wrote: In a former life I was a Gallup-certified facilitator for their Q12 program for my company: http://gmj.gallup.com/content/default.aspx?ci=811 Marcus Buckingham's book First Break All The Rules is an excellent book on helping to understand how to fully engage (and appropriately recognize) employees on an individual basis.It also speaks to the recognize the individual theme that some of the other responses to this thread have mentioned. In short, what often makes employees feel truly valued (and also increases productivity) has less to do with the tangible rewards of say a movie ticket or a gift certificate, but is more about the things that we all-too-often find harder to quantify but have a more lasting impact. Jon On Nov 21, 2006, at 8:56 AM, Ben Nadel wrote: This is not CF related really, but more of business question. I was just wondering what people do at work to make their employees feel appreciated. I am not talking about large things like Health Care or 401Ks. I am talking about the little things that make a difference. Things like getting free movie tickets on your birthday or getting your own business card (yes, not all employees get their own business card). Just looking for ideas and I thought I would throw this out here (since I love you CF people). .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com http://www.bennadel.com/ Need ColdFusion Help? www.bennadel.com/ask-ben/ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261403 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Identifying date/time objects
Will, It looks like isDate() will do what you need - to see if the string can be converted to a date You might want to look at parseDateTime() which will create a date object from the date string.. may or may not be of any use cfset test = 2006-02-11 00:00:00.0 cfoutput#parseDateTime(test)# | #isDate(test)# | #dateformat(parseDateTime(test), dd/mmm/)#/cfoutput Regards Rich On 11/22/06, Charles Sheehan-MIles [EMAIL PROTECTED] wrote: I just slapped myself on my forehead, thank you. This worked fine: cfoutput query=rsList cfloop index=thisfield list=#fieldlist# cfif IsDate(evaluate(#thisfield#)) #lsdateformat(evaluate(#thisfield#), mm/dd/)# cfelse #evaluate(#thisfield#)# /cfif, /cfloop#CHR(13)# /cfoutput On 11/22/06 8:31 AM, Will Tomlinson [EMAIL PROTECTED] wrote: cfif IsDate(thisfield) #DateFormat(blahblah)# cfelse whatever /cfif Would that work? Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261404 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Wrong error message under CF5
Hi, I have an application on a CF5 server which traps and logs errors with some CFERROR template. I have noticed that when an error occurs in a template which has some function definition in a CFSCRIPT tag, say myFunction (), whatever the error is, even a syntax error, the error message is always the same: The function myFunction has been defined twice. Like if the template was recompiled a second time. This is really a PITA, because I have no mean to know what the error could really be. Has anyone found a cure for that? -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261405 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Spry Dataset not sorting
I have a dataset that displays correctly but doesn't seem to sort when I use onclick=dsRecruitments.sort('country'); anyone know where in the SPRY JS I can put some alerts where the sorting should be happening. I have 3 pages each showing different datasets. Only one page will sort the rest will not. The one page that sorts only sorts each column once, will not sort back the other way when clicked again. Any ideas ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261406 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Spry Dataset not sorting
Could it be a case issue? Maybe sort on COUNTRY instead. You can turn on Spry Debugging and it may help. On 11/22/06, Chad McCue [EMAIL PROTECTED] wrote: I have a dataset that displays correctly but doesn't seem to sort when I use onclick=dsRecruitments.sort('country'); anyone know where in the SPRY JS I can put some alerts where the sorting should be happening. I have 3 pages each showing different datasets. Only one page will sort the rest will not. The one page that sorts only sorts each column once, will not sort back the other way when clicked again. Any ideas ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261407 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
replace syntax issue
Why isn't this working? cffile action=read file=http://www.site.com/StoreLocator/Store_page.txt; variable=page_content CFSET get_page = replace(page_content, img src=http://productlocator.site.com/productlocator/resources/9/KEGP/header_02.gif; width=242 height=75, ) Error: Missing argument name. When using named parameters to a function, every parameter must have a name. The CFML compiler was processing: an expression beginning with replace, on line 45, column 1.This message is usually caused by a problem in the expressions structure. a CFSET tag beginning on line 44, column 2. D ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261408 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Spry Dataset not sorting
How is SPRY debugging turned on? Suppose to be a certain cap to make sorting work? -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 10:33 AM To: CF-Talk Subject: Re: Spry Dataset not sorting Could it be a case issue? Maybe sort on COUNTRY instead. You can turn on Spry Debugging and it may help. On 11/22/06, Chad McCue [EMAIL PROTECTED] wrote: I have a dataset that displays correctly but doesn't seem to sort when I use onclick=dsRecruitments.sort('country'); anyone know where in the SPRY JS I can put some alerts where the sorting should be happening. I have 3 pages each showing different datasets. Only one page will sort the rest will not. The one page that sorts only sorts each column once, will not sort back the other way when clicked again. Any ideas ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261409 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: replace syntax issue
CFSET get_page = replace(page_content, img src=http://productlocator.site.com/productlocator/resources/9/KEGP/header_02.gif; width=242 height=75, ) You need some quotes around your img string. CFSET get_page = replace(page_content, 'img src=http://productlocator.site.com/productlocator/resources/9/KEGP/header_02.gif; width=242 height=75', ) -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261411 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Getting all CFCASE values from a file
cffile action=read file=d:\webroot\testing\www\test2.html variable=myvar / cfset myvar = rereplacenocase(myvar, 'cfcase value=(.*?).*?/cfcase', \1, all) / cfset myvar = rereplacenocase(myvar, .*?cfswitch.*?(.*?)/cfswitch.*, \1) / cfset myvar = rereplacenocase(myvar, cfdefaultcase.*?/cfdefaultcase, ) / cfoutput#myvar#/cfoutput The only thing changed is the second replace. The only other thing I can think of that you might run into is having more than one cfswitch block in the template. I'm sure there is a much better way. It can most likely be done with 1 regex but I'll have to try that later :-/ ..:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 8:20 AM To: CF-Talk Subject: Re: Getting all CFCASE values from a file Thanks Bobby, I tried that and it didn't do quite what I was hoping. It did parse out the values from the cfcase statements, but it also left all of the other code from the CF template (i.e. all I wanted left at the end was the attribute values from the CFCASE statements). Here's my code: cffile action=READ file=#CGI.CF_TEMPLATE_PATH# variable=guts cfset guts = rereplacenocase(guts, 'cfcase value=(.*?).*?/cfcase',\1, all) / cfset guts = rereplacenocase(guts, cfswitch.*?(.*?)/cfswitch, \1) / cfset guts = rereplacenocase(guts, cfdefaultcase.*?/cfdefaultcase,) / Thanks again for the help, Pete ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261410 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Wrong error message under CF5
I have an application on a CF5 server which traps and logs errors with some CFERROR template. I have noticed that when an error occurs in a template which has some function definition in a CFSCRIPT tag, say myFunction (), whatever the error is, even a syntax error, the error message is always the same: The function myFunction has been defined twice. Like if the template was recompiled a second time. This is really a PITA, because I have no mean to know what the error could really be. Has anyone found a cure for that? Are you sure you don't have the function defined twice? That's an easy enough mistake to make. Perhaps you're CFINCLUDEing a function library twice, or you're defining the function in a custom tag that is invoked with opening and closing tags? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261412 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
How can I make this query run correctly?
Good morning, all. I'm having to directly query a MySQL database for a client because they can't access their web app on my server. I'm trying to get clients' whose birthdates fall with a date range. I've tried variations, with no success in returning *any* results. the latest version of the query is as follows: Select Client_First_Name, Client_Middle_Name, Client_Last_Name, Client_Street_Address, Client_City, Client_State, Client_Zip_Code, Client_Birthdate from clients where Client_Birthdate = '2006-11-27' and Client_Birthdate = '2006-12-31' Is it a date formatting issue? Is so, what is the date date format MySQL could read? Thanks for any help! Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261413 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: replace syntax issue
coldfusion.developer wrote: Why isn't this working? cffile action=read file=http://www.site.com/StoreLocator/Store_page.txt; variable=page_content The file attribute of cffile requires a path, not a URL. CFSET get_page = replace(page_content, img src=http://productlocator.site.com/productlocator/resources/9/KEGP/header_ 02.gif width=242 height=75, ) You need to escape function arguments that are strings. Jochem ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261414 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Spry Dataset not sorting
I have a dataset that displays correctly but doesn't seem to sort when I use onclick=dsRecruitments.sort('country'); Can you put something online? It doesn't have to be live, even a static XML file plus the HTML would be okay. anyone know where in the SPRY JS I can put some alerts where the sorting should be happening. You can register an observer that get triggered before and/or after the sorting Massimo ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261417 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: How can I make this query run correctly?
Is it a date formatting issue? Is so, what is the date date format MySQL could read? Thanks for any help! Is it a date field or a text field? If it is a date field try the createODBCDate() function. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261415 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Wrong error message under CF5
On Wednesday 22 November 2006 15:14, Claude Schneegans wrote: Has anyone found a cure for that? Does you global error template include other things that might be confusing it ? -- Tom Chiverton Helping to revolutionarily repurpose turn-key niches 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 Law Society. 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 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261416 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How can I make this query run correctly?
On Wednesday 22 November 2006 15:46, Rick Faircloth wrote: from clients where Client_Birthdate = '2006-11-27' and Client_Birthdate = '2006-12-31' where client_birthdate between cfqueryparam value=#dateOne# ... and cfqueryparam value=#dateTwo# ... Between is a handy SQL shortcut, and the use of cfqueryparam with real CF dates leaves formatting it correctly where it belongs, well belowe the level you need to care about. -- Tom Chiverton Helping to efficiently e-enable ubiquitous deliverables 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 Law Society. 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 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261418 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: javascript confirm
On Wednesday 22 November 2006 14:51, Dan Vega wrote: Yes indeed, I had a very long day yesterday and I was losing my mind. Sorry for the dumb question!! Heh, we've all done it, no worries :-) -- Tom Chiverton Helping to administratively monetize eligible web-readiness 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 Law Society. 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 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261419 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: How can I make this query run correctly?
Never mind...figured out that I needed to leave off the year to get birthdates...years don't matter... Thanks... Rick -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 10:47 AM To: CF-Talk Subject: How can I make this query run correctly? Good morning, all. I'm having to directly query a MySQL database for a client because they can't access their web app on my server. I'm trying to get clients' whose birthdates fall with a date range. I've tried variations, with no success in returning *any* results. the latest version of the query is as follows: Select Client_First_Name, Client_Middle_Name, Client_Last_Name, Client_Street_Address, Client_City, Client_State, Client_Zip_Code, Client_Birthdate from clients where Client_Birthdate = '2006-11-27' and Client_Birthdate = '2006-12-31' Is it a date formatting issue? Is so, what is the date date format MySQL could read? Thanks for any help! Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261420 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Spry Dataset not sorting
Add this: Spry.Data.Region.debug = true; On 11/22/06, Chad McCue [EMAIL PROTECTED] wrote: How is SPRY debugging turned on? Suppose to be a certain cap to make sorting work? -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 10:33 AM To: CF-Talk Subject: Re: Spry Dataset not sorting Could it be a case issue? Maybe sort on COUNTRY instead. You can turn on Spry Debugging and it may help. On 11/22/06, Chad McCue [EMAIL PROTECTED] wrote: I have a dataset that displays correctly but doesn't seem to sort when I use onclick=dsRecruitments.sort('country'); anyone know where in the SPRY JS I can put some alerts where the sorting should be happening. I have 3 pages each showing different datasets. Only one page will sort the rest will not. The one page that sorts only sorts each column once, will not sort back the other way when clicked again. Any ideas ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261421 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How can I make this query run correctly?
Rick Faircloth wrote: Good morning, all. I'm having to directly query a MySQL database for a client because they can't access their web app on my server. I'm trying to get clients' whose birthdates fall with a date range. I've tried variations, with no success in returning *any* results. the latest version of the query is as follows: Select Client_First_Name, Client_Middle_Name, Client_Last_Name, Client_Street_Address, Client_City, Client_State, Client_Zip_Code, Client_Birthdate from clients where Client_Birthdate = '2006-11-27' and Client_Birthdate = '2006-12-31' Is it a date formatting issue? Is so, what is the date date format MySQL could read? This is a guess, but perhaps... WHERE Client_Birthdate = CAST('2006-11-27' AS DATE) AND Client_Birthdate = CAST('2006-12-31' AS DATE) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261422 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cfhttp - column name is invalid - huh?
My syntax is correct yet I'm getting this error. Maybe I just a second pair of eyes to look at this. Thanks. Code CFIF ISDEFINED (FORM.client_family_id) CFHTTP url=http://productlocator.site.com/productlocator/resources/9/KEGP/keg.pli; method=post name=keg cfhttpparam name=clientid type=formfield value=9 cfhttpparam name=stores type=formfield value=1 cfhttpparam name=storespagenum type=formfield value=1 cfhttpparam name=storesperpage type=formfield value=10 cfhttpparam name=etailerspagenum type=formfield value=1 cfhttpparam name=client_family_id type=formfield value=STNF cfhttpparam name=etailersperpage type=formfield value=15 cfhttpparam name=client type=URL value=SHXB cfhttpparam name=productfamilyid type=formfield value=KEGP cfhttpparam name=producttype type=formfield value=upc cfhttpparam name=template type=formfield value=keg.xsl LINE 87 cfhttpparam name=searchradius type=formfield value=25 /cfhttp cfoutput#cfhttp.FileContent#/cfoutput /CFIF Error Occurred While Processing Request The column name is invalid. Column names must be valid variable names. They must start with a letter and can only include letters, numbers, and underscores. The error occurred in D:\Inetpub\wwwroot\Yobaby\StoreLocator\store_locator.cfm: line 87 85 :cfhttpparam name=producttype type=formfield value=upc 86 :cfhttpparam name=template type=formfield value=keg.xsl 87 :cfhttpparam name=searchradius type=formfield value=25 88 : /cfhttp 89 : ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261423 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfhttp - column name is invalid - huh?
[EMAIL PROTECTED] wrote: My syntax is correct yet I'm getting this error. Maybe I just a second pair of eyes to look at this. Thanks. Code CFIF ISDEFINED (FORM.client_family_id) CFHTTP url=http://productlocator.site.com/productlocator/resources/9/KEGP/keg.pli; method=post name=keg snip Error Occurred While Processing Request The column name is invalid. Column names must be valid variable names. They must start with a letter and can only include letters, numbers, and underscores. You are getting the error because of the name=keg...cfhttp is trying to put the results into a query named keg, and I believe that by default it tries to use the first line as column names...if they are not valid, it throws this error. Just take that attribute out of your cfhttp. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261424 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Initializing Objects in Application.cfm
Scott, That definitely helps! -Aaron On 11/22/06, Scott Stroz [EMAIL PROTECTED] wrote: Aaron, Functionally, there really is no difference between using the object factory the way we did and instantiating an object in the application scope as you are suggesting. When a variable, or object, is passed 'by reference', it simply means that a new instance of the variable or object is not created, however a 'pointer' is used to 'point' to the original variable. Here is a basic code snippet that might help clarify. cfset var1 = structNew() / cfset var1.myName = 'Scott' / cfset var2 = var1 / cfset var2.myName = 'Aaron' / cfoutput#var1.myName#/cfoutput This code will output 'Aaron'. The reason is that var2 does not actually contain a structure, rather just a 'pointer' to var1. In the objectFactory we used, when an object was 'registered' it was put into a structure. When we call the create() method on the objectFactory it checks to see if the object is supposed to be a singleton and if it is already stored in the structure. If it is, it merely returns a pointer to the object. As I said, while the code looks as if we are actually creating a new object on each page where a gateway is needed, it is only created if it doesn't exist or if you manually reinit the application. In a future presentation we will cover design patterns. In some design patterns it would be more advantageous to use a factory like we did as opposed to instantiating an object in the application scope. Hope this helps. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261425 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Initializing Objects in Application.cfm
I download the zip and did a quick search for keyword java and dreamweaver and it returned 0 of 18 documents and all the set() methods are air methods should be object.setmethod(). I guess its to hide stuff. And not using objectFactory is like throwing rocks back at the people who are trying to stone you to death its strictly forbidden. I thought more people would get my unreasonable cake bakery analogy between AJAX and CF. Another 0 for 18 ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261426 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Initializing Objects in Application.cfm
On 11/22/06, Dan Plesse [EMAIL PROTECTED] wrote: I download the zip and did a quick search for keyword java and dreamweaver and it returned 0 of 18 documents and all the set() methods are air methods should be object.setmethod(). I guess its to hide stuff. And not using objectFactory is like throwing rocks back at the people who are trying to stone you to death its strictly forbidden. I thought more people would get my unreasonable cake bakery analogy between AJAX and CF. Another 0 for 18 What are you talking about? What are you saying? You entire post went over my head... keyword java object.setmethod() throwing rocks back AJAX and CF analogy 0 for 18 -Aaron ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261427 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Initializing Objects in Application.cfm
You forgot Air Methods, unreasonable cake and strictly forbidden. On 11/22/06, Aaron Roberson [EMAIL PROTECTED] wrote: On 11/22/06, Dan Plesse [EMAIL PROTECTED] wrote: I download the zip and did a quick search for keyword java and dreamweaver and it returned 0 of 18 documents and all the set() methods are air methods should be object.setmethod (). I guess its to hide stuff. And not using objectFactory is like throwing rocks back at the people who are trying to stone you to death its strictly forbidden. I thought more people would get my unreasonable cake bakery analogy between AJAX and CF. Another 0 for 18 What are you talking about? What are you saying? You entire post went over my head... keyword java object.setmethod() throwing rocks back AJAX and CF analogy 0 for 18 -Aaron ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261428 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: How can I make this query run correctly?
Thanks, Jim...Got it figured out...I was running a query directly against MySQL DB with using CF. No results were being returned because I had the year included and no customers have been born for my client since the dates, 2006-11-27 to 2006-12-03, have even occurred yet! :oP Rick -Original Message- From: Jim Wright [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 11:16 AM To: CF-Talk Subject: Re: How can I make this query run correctly? Rick Faircloth wrote: Good morning, all. I'm having to directly query a MySQL database for a client because they can't access their web app on my server. I'm trying to get clients' whose birthdates fall with a date range. I've tried variations, with no success in returning *any* results. the latest version of the query is as follows: Select Client_First_Name, Client_Middle_Name, Client_Last_Name, Client_Street_Address, Client_City, Client_State, Client_Zip_Code, Client_Birthdate from clients where Client_Birthdate = '2006-11-27' and Client_Birthdate = '2006-12-31' Is it a date formatting issue? Is so, what is the date date format MySQL could read? This is a guess, but perhaps... WHERE Client_Birthdate = CAST('2006-11-27' AS DATE) AND Client_Birthdate = CAST('2006-12-31' AS DATE) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261429 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: How can I make this query run correctly?
Thanks, Tom...the use of between may solve one problem I had with the actual working of the app, which was when the user would ask for birthdates on or between two dates (month and day) that spanned a month, no results would be returned. However, wouldn't between only dates actually between two specified dates (month and day), excluding the specified dates themselves. E.g. Need birthdates fall on or between Nov 27 and Dec 3. Using = and = provides me with birthdates on Nov 27 and Dec 3, also. Would between exclude Nov 27 and Dec 3? Rick PS - And this was a query run into a query editor directly on an MySQL DB, not involving CF...just needed to extract some info, since my client can't access the web app for some reason online... -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 11:08 AM To: CF-Talk Subject: Re: How can I make this query run correctly? On Wednesday 22 November 2006 15:46, Rick Faircloth wrote: from clients where Client_Birthdate = '2006-11-27' and Client_Birthdate = '2006-12-31' where client_birthdate between cfqueryparam value=#dateOne# ... and cfqueryparam value=#dateTwo# ... Between is a handy SQL shortcut, and the use of cfqueryparam with real CF dates leaves formatting it correctly where it belongs, well belowe the level you need to care about. -- Tom Chiverton ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261430 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: How can I make this query run correctly?
This question was originally asked to solve a problem when I directly queried a MySQL database...however, the query is built into a web app for one of my customer that doesn't work properly. The user is sending out birthday cards to clients and needs to know what clients have birthdates between, say Nov 27th and Dec 3rd, no matter what the year. So, I have 4 form fields... (1) Select Earliest Birth Day (2) Select Earliest Birth Month (3) Select Latest Birth Date (4) Select Latest Birth Month From this information, I query that database using this SQL... where and Month(Client.Client_Birthdate) = #Form.Earliest_Birthdate_Day# and Day(Client.Client_Birthdate) = #Form.Earliest_Birthdate_Month# and Month(Client.Client_Birthdate) = #Form.Latest_Birthdate_Date# and Day(Client.Client_Birthdate) = #Form.Latest_Birthdate_Month# Here's the problem... If the requested earliest and latest dates fall within the same month, everything run well...but, if two months are spanned, no results are returned. Why? Rick -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 11:08 AM To: CF-Talk Subject: Re: How can I make this query run correctly? On Wednesday 22 November 2006 15:46, Rick Faircloth wrote: from clients where Client_Birthdate = '2006-11-27' and Client_Birthdate = '2006-12-31' where client_birthdate between cfqueryparam value=#dateOne# ... and cfqueryparam value=#dateTwo# ... Between is a handy SQL shortcut, and the use of cfqueryparam with real CF dates leaves formatting it correctly where it belongs, well belowe the level you need to care about. -- Tom Chiverton Helping to efficiently e-enable ubiquitous deliverables ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261431 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Initializing Objects in Application.cfm
Even cfoop.org is all wrong. Creating a Class in ColdFusion That's more about creating components in CF. The class object in coldfusion is the most powerful object because it can create almost any object just like createObject() via forName(), reflection for object inspection (think cfdump) , rule breaking (more reflection stuff) and decompiling via my JODE example. On 11/22/06, Dan Plesse [EMAIL PROTECTED] wrote: You forgot Air Methods, unreasonable cake and strictly forbidden. On 11/22/06, Aaron Roberson [EMAIL PROTECTED] wrote: On 11/22/06, Dan Plesse [EMAIL PROTECTED] wrote: I download the zip and did a quick search for keyword java and dreamweaver and it returned 0 of 18 documents and all the set() methods are air methods should be object.setmethod (). I guess its to hide stuff. And not using objectFactory is like throwing rocks back at the people who are trying to stone you to death its strictly forbidden. I thought more people would get my unreasonable cake bakery analogy between AJAX and CF. Another 0 for 18 What are you talking about? What are you saying? You entire post went over my head... keyword java object.setmethod() throwing rocks back AJAX and CF analogy 0 for 18 -Aaron ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261432 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFQUERYPARAM stripping characters..why?
I'm not sure of the specifics, but to troubleshoot, I'd test it by removing the CFQUERYPARAM and doing the insert. If it is still stripping the characters, it's not CFQUERYPARAM. It's either the form or the DB. Hope that helps, at least a little bit. Cameron I have this code... insert into tblRaters (mgrEmail, raterComments) values (cfqueryparam cfsqltype=cf_sql_varchar value=#arguments. mgremail#, cfqueryparam cfsqltype=cf_sql_varchar value=#arguments. ratingComments# ) When someone inputs into the ratingComments variable, extraneous characters like, (+ sign), the character gets stripped. So a Comment like, he's A+++ is written to the db like he's A. Can someone tell me a way around this? thanks! Chris ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261433 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cfhttp - column name is invalid - huh?
Try taking off the name attribute from the cfhttp call. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 10:24 AM To: CF-Talk Subject: cfhttp - column name is invalid - huh? My syntax is correct yet I'm getting this error. Maybe I just a second pair of eyes to look at this. Thanks. Code CFIF ISDEFINED (FORM.client_family_id) CFHTTP url=http://productlocator.site.com/productlocator/resources/9/KEGP/keg.pli; method=post name=keg cfhttpparam name=clientid type=formfield value=9 cfhttpparam name=stores type=formfield value=1 cfhttpparam name=storespagenum type=formfield value=1 cfhttpparam name=storesperpage type=formfield value=10 cfhttpparam name=etailerspagenum type=formfield value=1 cfhttpparam name=client_family_id type=formfield value=STNF cfhttpparam name=etailersperpage type=formfield value=15 cfhttpparam name=client type=URL value=SHXB cfhttpparam name=productfamilyid type=formfield value=KEGP cfhttpparam name=producttype type=formfield value=upc cfhttpparam name=template type=formfield value=keg.xsl LINE 87 cfhttpparam name=searchradius type=formfield value=25 /cfhttp cfoutput#cfhttp.FileContent#/cfoutput /CFIF Error Occurred While Processing Request The column name is invalid. Column names must be valid variable names. They must start with a letter and can only include letters, numbers, and underscores. The error occurred in D:\Inetpub\wwwroot\Yobaby\StoreLocator\store_locator.cfm: line 87 85 :cfhttpparam name=producttype type=formfield value=upc 86 :cfhttpparam name=template type=formfield value=keg.xsl 87 :cfhttpparam name=searchradius type=formfield value=25 88 : /cfhttp 89 : ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261434 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: How can I make this query run correctly?
If the requested earliest and latest dates fall within the same month, everything run well...but, if two months are spanned, no results are returned. Why? Rick Here is a query that we use to find birthdays for the next 28 days on our intranet. This may not be the most elegant solution, but it does work. This is against an Oracle database and uses some Oracle functions, but I presume similar ones exist in most mainline DBMS. cfquery name=BDay datasource=webLawson cachedwithin=#CreateTimeSpan(1,0,0,-1)# SELECT EMPLOYEE, FIRST_NAME, LAST_NAME, BIRTHDAY, STATUS, TO_NUMBER(TO_CHAR(EMPLOYEE_DEPT.BIRTHDAY, 'MM')) AS Month, TO_NUMBER(TO_CHAR(EMPLOYEE_DEPT.BIRTHDAY, 'DD')) AS Day, NAME_SUFFIX, NICKNAME FROM LAWSON.EMPLOYEE_DEPT cfif Day(Now()) LT Day(DateAdd(d,28,Now())) WHERE (TO_NUMBER(TO_CHAR(EMPLOYEE_DEPT.BIRTHDAY, 'MM')) = #Month(Now())# AND TO_NUMBER(TO_CHAR(EMPLOYEE_DEPT.BIRTHDAY, 'DD')) BETWEEN #Day(Now())# AND #Day(DateAdd(d,28,Now()))#) cfelse WHERE ((TO_NUMBER(TO_CHAR(EMPLOYEE_DEPT.BIRTHDAY, 'MM')) = #Month(Now())# AND TO_NUMBER(TO_CHAR(EMPLOYEE_DEPT.BIRTHDAY, 'DD')) = #Day(Now())#) OR (TO_NUMBER(TO_CHAR(EMPLOYEE_DEPT.BIRTHDAY, 'MM')) = #Month(DateAdd(m,1,Now()))# AND TO_NUMBER(TO_CHAR(EMPLOYEE_DEPT.BIRTHDAY, 'DD')) #Day(DateAdd(d,28,Now()))#)) /cfif AND FIRST_NAME NOT LIKE ('%Unknown%') AND STATUS LIKE ('A%') cfif Month(Now()) IS 12 ORDER BY Month Desc, Day cfelse ORDER BY (TO_CHAR(EMPLOYEE_DEPT.BIRTHDAY, 'MMDD')) /cfif /cfquery -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261435 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Random session drops?
A lot of time it seems random, but digging further reveals a sensible reason for dropped sessions. What sort of other symptoms do you see when it happens? Who is it happening to? People can have cookies blocked on their LAN for example. -- Josh - Original Message - From: Neil Middleton [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, November 22, 2006 6:49 AM Subject: Random session drops? Has anyone had any experience of CF seemingly randomly dropping sessions? I running in a single server config here. -- Neil Middleton Visit feed-squirrel.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261436 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Spry Dataset not sorting
When I run it with debugging on it shows a box with this. It is the same every time I click the sorting column. Generated region markup for 'Recruitment_Div': table id=Recruitment_Table class=datagrid border=0 cellpadding=0 cellspacing=0 width=100% tbodytr class=FormBar th onclick=dsRecruitments.sort('firstname'); class=LeftBorder style=cursor: pointer; align=leftnbsp;First Name/th th onclick=dsRecruitments.sort('lastname'); style=cursor: pointer; align=leftnbsp;Last Name/th th onclick=dsRecruitments.sort('company'); style=cursor: pointer; align=left width=350Company Name/th th onclick=dsRecruitments.sort('country'); style=cursor: pointer; align=left width=100Country/th th onclick=dsRecruitments.sort('WantedPosition'); style=cursor: pointer; align=left width=100Wanted Position/th th align=centernbsp;/th th class=RightBorder align=centernbsp;/th /tr /tbodytbody tr class=FormBody2 bgcolor=#fbfbfb td class=LeftBorder align=left valign=middle width=125 Chad /td td align=left valign=middle width=125 McCue /td td valign=middle width=350 Advanced Media Productions /td td valign=middle width=100 Canada /td td valign=middle width=250 Colorist /td td valign=middle a href=index.cfm?event=EditRecruitmentamp;RecruitmentID=1Edit/a /td td class=RightBorder valign=middle a href=index.cfm?event=DeleteRecruitmentamp;RecruitmentID=1 onclick=return confirm('Are you sure you want to remove this recruitment?');Delete/a /td /trtr class=FormBody2 bgcolor=#fbfbfb td class=LeftBorder align=left valign=middle width=125 Mike /td td align=left valign=middle width=125 Smith /td td valign=middle width=350 Phat Cutz /td td valign=middle width=100 France /td td valign=middle width=250 Colorist /td td valign=middle a href=index.cfm?event=EditRecruitmentamp;RecruitmentID=2Edit/a /td td class=RightBorder valign=middle a href=index.cfm?event=DeleteRecruitmentamp;RecruitmentID=2 onclick=return confirm('Are you sure you want to remove this recruitment?');Delete/a /td /tr /tbody /table Chad McCue Advanced Media Productions 251 West Central St. Suite 28 Natick MA, 01760 [EMAIL PROTECTED] p: 508.647.5151 ext 16 f: 508.647.5150 -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 11:15 AM To: CF-Talk Subject: Re: Spry Dataset not sorting Add this: Spry.Data.Region.debug = true; On 11/22/06, Chad McCue [EMAIL PROTECTED] wrote: How is SPRY debugging turned on? Suppose to be a certain cap to make sorting work? -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 10:33 AM To: CF-Talk Subject: Re: Spry Dataset not sorting Could it be a case issue? Maybe sort on COUNTRY instead. You can turn on Spry Debugging and it may help. On 11/22/06, Chad McCue [EMAIL PROTECTED] wrote: I have a dataset that displays correctly but doesn't seem to sort when I use onclick=dsRecruitments.sort('country'); anyone know where in the SPRY JS I can put some alerts where the sorting should be happening. I have 3 pages each showing different datasets. Only one page will sort the rest will not. The one page that sorts only sorts each column once, will not sort back the other way when clicked again. Any ideas ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261437 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Wrong error message under CF5
Are you sure you don't have the function defined twice? Definitely sure. This was the first thing I verified. And it happens with any template that has a function defined in it. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261438 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Country Name Case
Here you go Rich. This may be of some use to you. http://www.phillipholmes.com/?p=112 Warmest Regards, Phillip B. Holmes http://www.phillipholmes.com - -Original Message- From: RichL [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 5:03 AM To: CF-Talk Subject: Country Name Case Hi Guys I have a country reference table where all of the country names are held in upper case. I want to be able to output in lower case but keep the caps where appropriate (e.g. UNITED KINGDOM to United Kingdom). ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261439 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Initializing Objects in Application.cfm
Dan, You keep referring to stuff that may or may not be on another thread. my AJAX and CF analogy and my JODE example. I really don't have a clue what you are talking about and why you think that cfoop.org is all wrong. Are you just trolling or do you have some valuable input that we should be considering? Respectfully, Aaron On 11/22/06, Dan Plesse [EMAIL PROTECTED] wrote: Even cfoop.org is all wrong. Creating a Class in ColdFusion That's more about creating components in CF. The class object in coldfusion is the most powerful object because it can create almost any object just like createObject() via forName(), reflection for object inspection (think cfdump) , rule breaking (more reflection stuff) and decompiling via my JODE example. On 11/22/06, Dan Plesse [EMAIL PROTECTED] wrote: You forgot Air Methods, unreasonable cake and strictly forbidden. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261440 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: replace syntax issue
If you need to read content from a URL, use cfhttp not cffile. ..:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 10:36 AM To: CF-Talk Subject: replace syntax issue Why isn't this working? cffile action=read file=http://www.site.com/StoreLocator/Store_page.txt; variable=page_content CFSET get_page = replace(page_content, img src=http://productlocator.site.com/productlocator/resources/9/KEGP/header_0 2.gif width=242 height=75, ) Error: Missing argument name. When using named parameters to a function, every parameter must have a name. The CFML compiler was processing: an expression beginning with replace, on line 45, column 1.This message is usually caused by a problem in the expressions structure. a CFSET tag beginning on line 44, column 2. D ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261441 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Random session drops?
Generally it seems to be happening across all our apps, and with users that have previously logged in fine, and logged in OK since. N On 11/22/06, Josh Nathanson [EMAIL PROTECTED] wrote: A lot of time it seems random, but digging further reveals a sensible reason for dropped sessions. What sort of other symptoms do you see when it happens? Who is it happening to? People can have cookies blocked on their LAN for example. -- Josh - Original Message - From: Neil Middleton [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, November 22, 2006 6:49 AM Subject: Random session drops? Has anyone had any experience of CF seemingly randomly dropping sessions? I running in a single server config here. -- Neil Middleton Visit feed-squirrel.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261442 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Need a favor...quick check to see if anyone can access this site...
Hi, all. I've got a client who cannot access any sites from my webserver. They have one business website and one web app and cannot access either. However, they can access anything else on the web. Others can access the site, but they can't . Just checking on access in various places. If you would, see if you can bring up www.huntdsp.com. If I can get them access to this, their business website, then they probably will be able to access their web app. Thanks, Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261443 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Initializing Objects in Application.cfm
I'm curious as to why you think cFoop is wrong as well. Nic Aaron Roberson wrote: Dan, You keep referring to stuff that may or may not be on another thread. my AJAX and CF analogy and my JODE example. I really don't have a clue what you are talking about and why you think that cfoop.org is all wrong. Are you just trolling or do you have some valuable input that we should be considering? Respectfully, Aaron On 11/22/06, Dan Plesse [EMAIL PROTECTED] wrote: Even cfoop.org is all wrong. Creating a Class in ColdFusion That's more about creating components in CF. The class object in coldfusion is the most powerful object because it can create almost any object just like createObject() via forName(), reflection for object inspection (think cfdump) , rule breaking (more reflection stuff) and decompiling via my JODE example. On 11/22/06, Dan Plesse [EMAIL PROTECTED] wrote: You forgot Air Methods, unreasonable cake and strictly forbidden. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261444 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Need a favor...quick check to see if anyone can access this site...
I can bring up the site quite easily. They might want to check that their ISP isn't causing any problems... !k -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 12:32 PM To: CF-Talk Subject: Need a favor...quick check to see if anyone can access this site... Hi, all. I've got a client who cannot access any sites from my webserver. They have one business website and one web app and cannot access either. However, they can access anything else on the web. Others can access the site, but they can't . Just checking on access in various places. If you would, see if you can bring up www.huntdsp.com. If I can get them access to this, their business website, then they probably will be able to access their web app. Thanks, Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261445 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Need a favor...quick check to see if anyone can access this site...
Dorchester Shooting Preserve is coming up for me Sandra Clark == http://www.shayna.com Training in Cascading Style Sheets and Accessibility -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 1:32 PM To: CF-Talk Subject: Need a favor...quick check to see if anyone can access this site... Hi, all. I've got a client who cannot access any sites from my webserver. They have one business website and one web app and cannot access either. However, they can access anything else on the web. Others can access the site, but they can't . Just checking on access in various places. If you would, see if you can bring up www.huntdsp.com. If I can get them access to this, their business website, then they probably will be able to access their web app. Thanks, Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261447 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Need a favor...quick check to see if anyone can access this site...
I can access it. Is the domain new? The name servers may not have propagated. They could be on a LAN with a cashed copy of DNS, or they could have an errant host file entry... ~Brad -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 12:32 PM To: CF-Talk Subject: Need a favor...quick check to see if anyone can access this site... Hi, all. I've got a client who cannot access any sites from my webserver. They have one business website and one web app and cannot access either. However, they can access anything else on the web. Others can access the site, but they can't . Just checking on access in various places. If you would, see if you can bring up www.huntdsp.com. If I can get them access to this, their business website, then they probably will be able to access their web app. Thanks, Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261446 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Need a favor...quick check to see if anyone can access this site...
No problem here in Virginia -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 1:32 PM To: CF-Talk Subject: Need a favor...quick check to see if anyone can access this site... Hi, all. I've got a client who cannot access any sites from my webserver. They have one business website and one web app and cannot access either. However, they can access anything else on the web. Others can access the site, but they can't . Just checking on access in various places. If you would, see if you can bring up www.huntdsp.com. If I can get them access to this, their business website, then they probably will be able to access their web app. Thanks, Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261448 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Need a favor...quick check to see if anyone can access this site...
Worked for me, slow, but worked. I'm still downloading one of the pictures. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261450 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Need a favor...quick check to see if anyone can access this site...
Did the DNS change recently? It could be cached for them or their ISP could be blocking IP's. I have had a few times where the client domain was hosted with their ISP. They moved the domain to our servers and we took control of DNS. Everyone could see it but them. Their ISP wouldn't remove the DNS record and thus anyone who used the ISP's DNS got the wrong info. Major pain. Oh, and it works just fine for me. I would have them try to get to your server via IP some how and confirm if it is network or DNS related. Joshua Cyr Savvy Software 866.870.6358 www.besavvy.com -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 1:32 PM To: CF-Talk Subject: Need a favor...quick check to see if anyone can access this site... Hi, all. I've got a client who cannot access any sites from my webserver. They have one business website and one web app and cannot access either. However, they can access anything else on the web. Others can access the site, but they can't . Just checking on access in various places. If you would, see if you can bring up www.huntdsp.com. If I can get them access to this, their business website, then they probably will be able to access their web app. Thanks, Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261449 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Need a favor...quick check to see if anyone can access this site...
Thanks, Kevin, for the check and the suggestion. Rick -Original Message- From: Kevin Aebig [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 1:46 PM To: CF-Talk Subject: RE: Need a favor...quick check to see if anyone can access this site... I can bring up the site quite easily. They might want to check that their ISP isn't causing any problems... !k ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261451 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Initializing Objects in Application.cfm
Dan, Why would 'dreamweaver' be in the code? Why would 'java' be in the code? What is an 'air method'? And what are you trying to say is 'strictly forbidden'? Using an objectFactory, not using an objectFactory, stoning someone who uses an objectfactory, or stoning someone who uses an objectFactor with a cake? On 11/22/06, Dan Plesse [EMAIL PROTECTED] wrote: I download the zip and did a quick search for keyword java and dreamweaver and it returned 0 of 18 documents and all the set() methods are air methods should be object.setmethod (). I guess its to hide stuff. And not using objectFactory is like throwing rocks back at the people who are trying to stone you to death its strictly forbidden. I thought more people would get my unreasonable cake bakery analogy between AJAX and CF. Another 0 for 18 ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261453 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Need a favor...quick check to see if anyone can access this site...
Comin up just fine here Rick. Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261452 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Need a favor...quick check to see if anyone can access this site...
Rick, comes up for me no problem, although it's a bit sluggish. I'm on Speakeasy ISP in San Francisco. -- Josh - Original Message - From: Rick Faircloth [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, November 22, 2006 10:32 AM Subject: Need a favor...quick check to see if anyone can access this site... Hi, all. I've got a client who cannot access any sites from my webserver. They have one business website and one web app and cannot access either. However, they can access anything else on the web. Others can access the site, but they can't . Just checking on access in various places. If you would, see if you can bring up www.huntdsp.com. If I can get them access to this, their business website, then they probably will be able to access their web app. Thanks, Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261454 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Need a favor...quick check to see if anyone can access this site...
Rick, it works fine for me too. However, the images on the RHS are ridiculously slow to load for their size on the page. Are you resizing them via javascript? It looks like they are actually coming into the page at around 1300 X 1000 pixels! Anyways, just FYI. The site popped right up, no delays or anything. I'm in New Hampsha. -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 1:32 PM To: CF-Talk Subject: Need a favor...quick check to see if anyone can access this site... Hi, all. I've got a client who cannot access any sites from my webserver. They have one business website and one web app and cannot access either. However, they can access anything else on the web. Others can access the site, but they can't . Just checking on access in various places. If you would, see if you can bring up www.huntdsp.com. If I can get them access to this, their business website, then they probably will be able to access their web app. Thanks, Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261455 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Need a favor...quick check to see if anyone can access this site...
Thanks, Sandra... -Original Message- From: Sandra Clark [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 1:48 PM To: CF-Talk Subject: RE: Need a favor...quick check to see if anyone can access this site... Dorchester Shooting Preserve is coming up for me Sandra Clark == http://www.shayna.com Training in Cascading Style Sheets and Accessibility ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261457 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Need a favor...quick check to see if anyone can access this site...
Thanks, Randy... -Original Message- From: Adkins, Randy [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 1:50 PM To: CF-Talk Subject: RE: Need a favor...quick check to see if anyone can access this site... No problem here in Virginia ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261458 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Need a favor...quick check to see if anyone can access this site...
They upload their own photos and haven't learned how or the value of resizing their original photos, yet. Guess I need to code that for them... Rick -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 1:50 PM To: CF-Talk Subject: RE: Need a favor...quick check to see if anyone can access this site... Worked for me, slow, but worked. I'm still downloading one of the pictures. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261462 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Need a favor...quick check to see if anyone can access this site...
The sites been up for years...can't figure out why they can't access it. Thanks for suggestions on the possible solutions. How would I check for a cached copy of DNS or errant host file entry? Rick -Original Message- From: Brad Wood [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 1:47 PM To: CF-Talk Subject: RE: Need a favor...quick check to see if anyone can access this site... I can access it. Is the domain new? The name servers may not have propagated. They could be on a LAN with a cashed copy of DNS, or they could have an errant host file entry... ~Brad ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261456 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Initializing Objects in Application.cfm
My core complaint is that cfoop is using java terms while not using java. Then I listed the power features of java within a single class (the class object) and thus coldfusion gains without any outside help etc 1. compile classes 2. use of reflection 3. decomplie classes. These are the valuable inputs I provided but have been disgarded in favor of a blank space. On 11/22/06, Nicholas M Tunney [EMAIL PROTECTED] wrote: I'm curious as to why you think cFoop is wrong as well. Nic Aaron Roberson wrote: Dan, You keep referring to stuff that may or may not be on another thread. my AJAX and CF analogy and my JODE example. I really don't have a clue what you are talking about and why you think that cfoop.org is all wrong. Are you just trolling or do you have some valuable input that we should be considering? Respectfully, Aaron On 11/22/06, Dan Plesse [EMAIL PROTECTED] wrote: Even cfoop.org is all wrong. Creating a Class in ColdFusion That's more about creating components in CF. The class object in coldfusion is the most powerful object because it can create almost any object just like createObject() via forName(), reflection for object inspection (think cfdump) , rule breaking (more reflection stuff) and decompiling via my JODE example. On 11/22/06, Dan Plesse [EMAIL PROTECTED] wrote: You forgot Air Methods, unreasonable cake and strictly forbidden. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261460 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Need a favor...quick check to see if anyone can access this site...
I would have them try to get to your server via IP some how and confirm if it is network or DNS related. I thought about trying that, but I host multiple sites via host headers and the site folders are outside the root folder, so I'm not sure how to access the sites via IP anymore. I used to do that when I had all the sites under the webroot folder. How is that done when site folder are outside the root or even on another drive (as in this case?) Rick -Original Message- From: Joshua Cyr [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 1:50 PM To: CF-Talk Subject: RE: Need a favor...quick check to see if anyone can access this site... Did the DNS change recently? It could be cached for them or their ISP could be blocking IP's. I have had a few times where the client domain was hosted with their ISP. They moved the domain to our servers and we took control of DNS. Everyone could see it but them. Their ISP wouldn't remove the DNS record and thus anyone who used the ISP's DNS got the wrong info. Major pain. Oh, and it works just fine for me. I would have them try to get to your server via IP some how and confirm if it is network or DNS related. Joshua Cyr Savvy Software 866.870.6358 www.besavvy.com -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 1:32 PM To: CF-Talk Subject: Need a favor...quick check to see if anyone can access this site... Hi, all. I've got a client who cannot access any sites from my webserver. They have one business website and one web app and cannot access either. However, they can access anything else on the web. Others can access the site, but they can't . Just checking on access in various places. If you would, see if you can bring up www.huntdsp.com. If I can get them access to this, their business website, then they probably will be able to access their web app. Thanks, Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261461 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Need a favor...quick check to see if anyone can access this site...
Thanks, Will... -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 12:40 PM To: CF-Talk Subject: Re: Need a favor...quick check to see if anyone can access this site... Comin up just fine here Rick. Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261464 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Need a favor...quick check to see if anyone can access this site...
I can see it fine in NC on Roadrunner Server: dns-cac-lb-01.southeast.rr.com Address: 24.25.5.150 Non-authoritative answer: Name:huntdsp.com Address: 66.79.46.138 Aliases: www.huntdsp.com ..:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 1:32 PM To: CF-Talk Subject: Need a favor...quick check to see if anyone can access this site... Hi, all. I've got a client who cannot access any sites from my webserver. They have one business website and one web app and cannot access either. However, they can access anything else on the web. Others can access the site, but they can't . Just checking on access in various places. If you would, see if you can bring up www.huntdsp.com. If I can get them access to this, their business website, then they probably will be able to access their web app. Thanks, Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261459 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Need a favor...quick check to see if anyone can access this site...
Hey Rick, This site is tremendously helpful in checking out dns issues: http://www.dnsstuff.com/ I only saw one ISP that had your domain cached, it was UUNet, and the ip they have cached is 66.79.46.138 So if by some weird coincidence they are on UUNet, and you have a new ip for the domain, this could explain the issue. -- Josh - Original Message - From: Rick Faircloth [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, November 22, 2006 10:32 AM Subject: Need a favor...quick check to see if anyone can access this site... Hi, all. I've got a client who cannot access any sites from my webserver. They have one business website and one web app and cannot access either. However, they can access anything else on the web. Others can access the site, but they can't . Just checking on access in various places. If you would, see if you can bring up www.huntdsp.com. If I can get them access to this, their business website, then they probably will be able to access their web app. Thanks, Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261465 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Need a favor...quick check to see if anyone can access this site...
Thanks, Josh...pictures slow to load or the site in general? Rick -Original Message- From: Josh Nathanson [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 1:58 PM To: CF-Talk Subject: Re: Need a favor...quick check to see if anyone can access this site... Rick, comes up for me no problem, although it's a bit sluggish. I'm on Speakeasy ISP in San Francisco. -- Josh ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261463 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: report builder
Nobody knows what the future holds for this product?? -Original Message- From: Andrew Scott [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 21, 2006 8:44 PM To: CF-Talk Subject: Re: report builder I prefer cyrstal reports over the report builder, only because I can do more in CR that is not possible in CF's RB. But not everyone can afford that budget, I have never had many problems with CF RB only a few display issues that are easy enough to get around. On 11/22/06, Stephen Cassady [EMAIL PROTECTED] wrote: I would be very interested in hearing any solutions to this. I've just picked up a client that needs a way to build their own reports from SQL, and I thought the report builder may be the first step (instead of going Crystal Reports, or linking Access to the SQL database and build things in that). Stephen Cassady Subject: report builder From: Tim Do Date: Tue, 21 Nov 2006 14:10:31 -0800 We have several reports written with the report builder that are no longer working because some users are upgrading to ie7 (comes up w/ blank page). Does anybody know if there is a work around or do we have to install additional software for ie7? The reports still work using ie6/ff. Also, does anybody know what is going on w/ the report builder? I didn't hear a thing about it at MAX. Thanks, Tim ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261468 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Need a favor...quick check to see if anyone can access this site...
Ha ha - Rick, it looks like all conversations lead back to this same subject with you...but now you have officially found a good reason to upgrade your CF from 4.5. :) -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 2:10 PM To: CF-Talk Subject: RE: Need a favor...quick check to see if anyone can access this site... They upload their own photos and haven't learned how or the value of resizing their original photos, yet. Guess I need to code that for them... Rick -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 22, 2006 1:50 PM To: CF-Talk Subject: RE: Need a favor...quick check to see if anyone can access this site... Worked for me, slow, but worked. I'm still downloading one of the pictures. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261469 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4