Re: Coldfusion Glassfish Apache

2009-06-26 Thread Tom Chiverton
On Thursday 25 Jun 2009, Dirk Johnson wrote: I have a difference of opinion on how the whole cf8, glassfish, apache Can't speak for Glassfish, but ... I think that once you deploy cf8 to glassfish you mod_rewrite/mod_proxy in apache with different virtual hosts and document roots and you

Re: Coldfusion Glassfish Apache

2009-06-26 Thread Andy Allan
I've not tried this myself, but ... http://www.dagen.net/blog/2008/08/look-ma-no-jrun/ Andy 2009/6/26 Tom Chiverton tom.chiver...@halliwells.com: On Thursday 25 Jun 2009, Dirk Johnson wrote: I have a difference of opinion on how the whole cf8, glassfish, apache Can't speak for

RE: PHP to CF pseudo code...

2009-06-26 Thread Paul Alkema
Well Done. :) -Original Message- From: Peter Boughton [mailto:bought...@gmail.com] Sent: Thursday, June 25, 2009 5:54 PM To: cf-talk Subject: Re: PHP to CF pseudo code... Not sure it's how I'd write a rating widget, but here's a fairly direct translation. (Untested, so may contain

RE: PHP to CF pseudo code...

2009-06-26 Thread Che Vilnonis
Thanks Peter. Bonus on actually writing it out. Ultimately, I was just trying to understand the PHP a bit better. -Original Message- From: Peter Boughton [mailto:bought...@gmail.com] Subject: Re: PHP to CF pseudo code... Not sure it's how I'd write a rating widget, but here's a

Re: Switched from CF to Java - need tool recommendations

2009-06-26 Thread Gerald Guido
SQLyog from WebYog: http://www.webyog.com/en/sqlyog_feature_list.php +1 for SQLYog - Great tool. I am rather fond of HeidiSQL. It is the reincarnation of Mysql Front which was my Mysql workhorse for many years. http://www.heidisql.com NetBeans is another popular free Java IDE

RE: FedEx Rates

2009-06-26 Thread Billy Cox
If there is a .NET example, you should be able to glean enough information from it to write your own code. -Original Message- From: Chad Gray [mailto:cg...@careyweb.com] Sent: Thursday, June 25, 2009 11:38 AM To: cf-talk Subject: FedEx Rates I am having a hard time finding example

How to model a large combo box function.

2009-06-26 Thread Ian Skinner
Trying to build a proof of concept for my first web 2.0 ish application. I want to build a combo box like select interface that will allow a user to select a product from a list of 51,000+ items. I am imagining a front end that will have a place to type in part of a name for a product and

ColdFusion and RSS

2009-06-26 Thread bill turner
I wrote a blog using CF (actually, I started with someone else's code). I am having occasional troubles with my RSS. What happens is that I post an entry, usually it is something that I've pasted into the text box, and then the RSS feed fails because of invalid characters. When I create the

RE: ColdFusion and RSS

2009-06-26 Thread Andy Matthews
My blog software is all custom, barring my RSS feed. I'm using Ray Camden's RSS.cfc. The thing that catches me most of the time are ampersands . andy -Original Message- From: bill turner [mailto:bill.tur...@selectcomfort.com] Sent: Friday, June 26, 2009 10:32 AM To: cf-talk Subject:

8.01 version question concerning Firefox

2009-06-26 Thread Rick Mason
I'm having a problem with a cfwindow that captures some information and is submitted, then closes the window,emails the information and then reloads the underlying page not working in Firefox. The page was working in CF 8.00 and works fine with IE in 8.01. I've already tried stripping out

Re: ColdFusion and RSS

2009-06-26 Thread Dominic Watson
You may like to try: description![CDATA[#post#]]/description However, the xmlformat will definately be cleaning up any invalid xml characters; are you using it in the title, etc? Perhaps it could be an encoding issue. Dominic 2009/6/26 bill turner bill.tur...@selectcomfort.com:

Re: ColdFusion and RSS

2009-06-26 Thread Ryan Stille
XMLFormat() does NOT clean up all invalid XML characters, it still leaves in a lot of bar chars that will mess up XML readers. I think there is a function on cflib that does a better job, I wrote one too a while back: http://www.stillnetstudios.com/2008/09/14/cleaning-up-non-ascii-characters/

HTMLEditFormat() on Password Fields

2009-06-26 Thread Dawson, Michael
Is it wise to use htmlEditFormat() on the value of password fields? It is allowed for a user to enter as part of their password. However, if I use htmlEditFormat(form.password) as the value of a password field, it will escape it to amp;. Therefore a password may end up being Mikeamp;Becky

RE: HTMLEditFormat() on Password Fields

2009-06-26 Thread Gaulin, Mark
Hi Use htmlEditFormat()... The encodings ( - amp;, for example) don't affect the actual value in the edit box... It only changes the HTML used to get that value into the edit box (safely). Try it for yourself to see... (and if I'm wrong, well damn, let me know and I will have just learned

RE: HTMLEditFormat() on Password Fields

2009-06-26 Thread Justin Scott
Is it wise to use htmlEditFormat() on the value of password fields? I wouldn't be passing a value through to a password field at all. Makes it too easy for someone to view source and see the existing password. For example, Sarah has her password saved in Firefox. Sarah leaves the room for a

RE: HTMLEditFormat() on Password Fields

2009-06-26 Thread Paul Alkema
mm.. It actually does. If you go.. cfset whoBobLikes = Mary kate cfset sanitizeBob = htmleditFormat(whoBobLikes) The variables sanitizeBob will become Mary amp; Kate. Dawson, if I were you I would recommend using the htmleditformat() function either only inside edit boxes, or while you're

RE: HTMLEditFormat() on Password Fields

2009-06-26 Thread Dawson, Michael
Very good advice. Thanks, Mike -Original Message- From: Justin Scott [mailto:jscott-li...@gravityfree.com] Sent: Friday, June 26, 2009 11:40 AM To: cf-talk Subject: RE: HTMLEditFormat() on Password Fields Is it wise to use htmlEditFormat() on the value of password fields? I

RE: HTMLEditFormat() on Password Fields

2009-06-26 Thread Paul Alkema
This is true. Michael, what are you using this for? Are you using the htmlEditFormat() to sanitize the passwords before they get inserted? Or are you using this to output the users password to them in a textbox? -Original Message- From: Justin Scott [mailto:jscott-li...@gravityfree.com]

RE: HTMLEditFormat() on Password Fields

2009-06-26 Thread Dawson, Michael
I have a login form with username and password fields. If the user typed something wrong, the page would re-load with the values already entered so that it could be corrected. However, as Justin pointed out, it's probably not a good idea to default the password back into the password field.

Detect data change in cfform

2009-06-26 Thread Nathan Chen
Hi, All: I am building a form that allows users to edit data retrieved from multiple tables. There are many fields in the form. If the users don't change anything and hit the cancel button, then I don't need to do the update, otherwise several sql update statements will be executed. Is there

Re: Detect data change in cfform

2009-06-26 Thread Dave Watts
I am building a form that allows users to edit data retrieved from multiple tables. There are many fields in the form. If the users don't change anything and hit the cancel button, then I don't need to do the update, otherwise several sql update statements will be executed. Is there an easy

Gearworx VPS customers, need mail setup help

2009-06-26 Thread Rob Barthle
I'm turning to this community in hopes that I can get some help here, because Gearworx's customer support seems to have lost the ability to reply to tickets. I am setting up a new domain on my CF8 VPS. I am having some confusions regarding the mail setup. This domain will serve as the primary

RE: ColdFusion and RSS

2009-06-26 Thread Robert Harrison
Security, version of virus signature database 4192 (20090626) __ The message was checked by ESET Smart Security. http://www.eset.com ~| Want to reach the ColdFusion community with something they want? Let them know

Re: Detect data change in cfform

2009-06-26 Thread Gerald Guido
If I understand the question correctly. Off the top of my head I would save a copy of the data that you used to populate the form as a struct in the session scope and when the form is submitted you can compare the form to the saved struct using the structCompare() from cflib.org

Re: Gearworx VPS customers, need mail setup help

2009-06-26 Thread Jordan Michaels
Hi Rob, It's possible that this isn't a Plesk limit, per se. There are all sorts of limits that could be effecting your mailbox size limitations. Can you tell me (or the list) what mail server you're using? Is this a windows machine or a linux machine? Is the mail server postfix, sendmail,

webservice

2009-06-26 Thread Chad Gray
When you hook up a web service in CF Admin how do you access it in your CFM pages? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive:

RE: HTMLEditFormat() on Password Fields

2009-06-26 Thread Justin Scott
I have a login form with username and password fields. If the user typed something wrong, the page would re-load with the values already entered so that it could be corrected. Ah, for those I wouldn't put the password back in either. In this case the point is for the user to correct

Re: webservice

2009-06-26 Thread Dave Watts
When you hook up a web service in CF Admin how do you access it in your CFM pages? You can use CFINVOKE or createObject to do this. You use the name you gave it in the CF Administrator instead of the WSDL URL. Of course, you can just use the WSDL URL and not bother registering the service at

Re: ColdFusion and RSS

2009-06-26 Thread bill turner
if I wrap in CDATA, won't I lose the html markup? You may like to try: description![CDATA[#post#]]/description However, the xmlformat will definately be cleaning up any invalid xml characters; are you using it in the title, etc? Perhaps it could be an encoding issue. Dominic

Re: ColdFusion and RSS

2009-06-26 Thread bill turner
in to our blog: AW Unplugged http://www.austin-williams.com/unplugged __ Information from ESET Smart Security, version of virus signature database 4192 (20090626) __ The message was checked by ESET Smart Security. http://www.eset.com

Re: ColdFusion and RSS

2009-06-26 Thread bill turner
Thanks, Ryan. I will look into this. XMLFormat() does NOT clean up all invalid XML characters, it still leaves in a lot of bar chars that will mess up XML readers. I think there is a function on cflib that does a better job, I wrote one too a while back:

Re: ColdFusion and RSS

2009-06-26 Thread bill turner
I've downloaded Ray's cfc. I'll dig into that a bit later. Thanks, Andy! Bill My blog software is all custom, barring my RSS feed. I'm using Ray Camden's RSS.cfc. The thing that catches me most of the time are ampersands . andy I wrote a blog using CF (actually, I started with someone

fedex web service

2009-06-26 Thread Chad Gray
Well the only way I have found to communicate with the FedEx rate service is to HTTP post XML to it. It returns the following XML below. How do I grab the data I need out of it? Say I want to grab the XmlText of v6:Severity... how do I get the word SUCCESS? So far what I have tried does

Re: fedex web service

2009-06-26 Thread Casey Dougall
On Fri, Jun 26, 2009 at 3:00 PM, Chad Gray cg...@careyweb.com wrote: Well the only way I have found to communicate with the FedEx rate service is to HTTP post XML to it. It returns the following XML below. How do I grab the data I need out of it? Say I want to grab the XmlText of

RE: HTMLEditFormat() on Password Fields

2009-06-26 Thread Gaulin, Mark
Paul, you are correct in what htmlEditFormat does to its input, but not in how it will be interpreted when used in a real form, like this: cfset whoBobLikes = Mary kate cfset sanitizeBob = htmleditFormat(whoBobLikes) cfoutput form action=dumpformvars.cfm input name=x value=#sanitizeBob# /form

Re: fedex web service

2009-06-26 Thread Casey Dougall
On Fri, Jun 26, 2009 at 3:08 PM, Casey Dougall ca...@uberwebsitesolutions.com wrote: soapenv:Body you might need soapenv:Body Node as well I can't remember. If they allow straight xml call I'd use that method vs soap so you don;t need to deal with all that soap shit.

RE: fedex web service

2009-06-26 Thread Chad Gray
Thanks! Here is final code that worked. I have never seen it formatted like that [][][]... Is this to kind of 'escape' the colons? cfset IsSuccess = reply[soapenv:Envelope][soapenv:Body][v6:RateReply][v6:Notifications][v6:Severity][XMLText] -Original Message- From: Casey

Re: fedex web service

2009-06-26 Thread Ian Skinner
Chad Gray wrote: Thanks! Here is final code that worked. I have never seen it formatted like that [][][]... Is this to kind of 'escape' the colons? Not really, it is array notation and it allows for more control of the functionality then the common dot notation such as using

RE: Detect data change in cfform

2009-06-26 Thread Nathan Chen
Maybe I wasn't clear. Sometimes users would make some changes and then click the cancel button by mistake and find out they lose the changes. I need a routine that detects if data have been altered. Nathan -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Friday,

RE: HTMLEditFormat() on Password Fields

2009-06-26 Thread Paul Alkema
Yeah, I misinterpreted the original email. I was under the impression that the issue was that he was using htmleditformat() to sanitize his data before inserting it into the database, then when the user tried to sign in, their password's didn't match. I see what you're saying, good point. :)

RE: fedex web service

2009-06-26 Thread Chad Gray
If you hit their web service there is no WSDL... they give you a static WSDL file with the development docs, but the web service itself does not publish a WSDL. So I can't hit is straight up with CFInvoke. I have to pass it a chunk of XML and go the SOAP route. At least I have not found a

Setting Server Variables

2009-06-26 Thread Donnie Carvajal
Almost all of my applications are running on multiple machines and i would like to use server variables to save things like IP addresses and server names that can be used for CFHTTP requests or error reporting. These variables would basically be static and would almost always have the same

Re: Setting Server Variables

2009-06-26 Thread Ian Skinner
Donnie Carvajal wrote: Any ideas? Look forward to upgrading to ColdFusion 9 in the next year that will (if it does not go away) a Server.cfc file with an OnServerStart() method for just such a purpose. Until, then you have to do something a bit more hokey with your OnApplciaitonStart()

RE: Setting Server Variables

2009-06-26 Thread Paul Alkema
I would just set your variables in the application variables scope instead of the server variable scope. Or you could set a request variable on the application.cfm page and just call that every time you need it. -Original Message- From: Donnie Carvajal

Re: ColdFusion and RSS

2009-06-26 Thread Dominic Watson
2009/6/26 bill turner bill.tur...@selectcomfort.com: if I wrap in CDATA, won't I lose the html markup? No, as long as you don't use XmlFormat or another XML cleaning function, you're markup will remain intact. CDATA tells the parser not to parse the contents as XML. Dominic

RE: SOT: CF based Message Queue - Thread safe stored procedure

2009-06-26 Thread Bobby Hartsfield
I've been trying to reply to correct myself but apparently the only place that I can get messages to the list from is home... not even using webmail (for the same account I use at home) will work... odd. Anyway... that is NOT the query I ended up with. This is... cfquery

Re: How to model a large combo box function.

2009-06-26 Thread Azadi Saryev
something like this? http://cfsilence.com/blog/client/index.cfm/2007/8/21/Ajax-Paging-Through-Records-On-Scroll demo: http://www.coldfusionjedi.com/demos/sharp/ajaxLoadOnScroll/test.cfm extend it with a textbox to filter returned results, throw in a bit of jquery and you are flying! Azadi

GoDaddy, Access DBs, and cfinsert/cfupdate

2009-06-26 Thread Les Irvin
I'm porting a website for a client over to GoDaddy from another server. Using cfinsert/cfupdate tags to manipulate Access databases. When trying to insert/edit more than a few sentences of data into a memo field, it causes an error on the GoDaddy server: Error Executing Database Query.

Re: GoDaddy, Access DBs, and cfinsert/cfupdate

2009-06-26 Thread Dave Watts
I'm porting a website for a client over to GoDaddy from another server.  Using cfinsert/cfupdate tags to manipulate Access databases. When trying to insert/edit more than a few sentences of data into a memo field, it causes an error on the GoDaddy server: Error Executing Database Query.