Re: Validate Object's Component Type

2009-04-04 Thread Jochem van Dieten
On Wed, Apr 1, 2009 at 7:24 PM, Donnie Carvajal wrote: > 1. Does anyone know if there is built in functionality to ColdFusion that > will validate if a variable is an object of a certain CFC? isInstanceOff() Jochem -- Jochem van Dieten http://jochem.vandieten.net/ ~~~

Re: Replace()

2009-04-04 Thread Alan Rother
You need to wrap the replace in #s Sent from my iPhone On Apr 4, 2009, at 4:41 PM, "BobSharp" wrote: > > Table has a Primary Key of DealerCode (UUID) > A form POSTs the required key ( form.txtDealer ) to be picked up > by the Details Update page. > > > My scripting for the Update Detail

Re: Replace()

2009-04-04 Thread James Holmes
Strings need single quotes in SQL: WHERE Replace(d.DealerCode,'-','','all') = '#matchDealer#' However, you must use cfqueryparam for any user provided input: WHERE Replace(d.DealerCode,'-','','all') = mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/4/5

Re: Replace()

2009-04-04 Thread James Holmes
And of course I just realized that the error your seeing is in the replace bit, so the other stuff was an error waiting to happen. Are you trying to use the MySQL replace function or the CF replace function? mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/

Replace()

2009-04-04 Thread BobSharp
Table has a Primary Key of DealerCode (UUID) A form POSTs the required key ( form.txtDealer ) to be picked up by the Details Update page. My scripting for the Update Details page includes ... #form.txtDealer# #matchDealer# Outputs from that are correct.

Re: Get request using cfhttp...possible to see the actual URL sent?

2009-04-04 Thread Gerald Guido
IF I understand the question Firebug would allow you to view the traffic back and forth from Digg. G! On Sat, Apr 4, 2009 at 10:41 AM, Andy Matthews wrote: > > I'm working on adding in one of the Digg APIs into an app I'm writing and > I'm having problems with it. I was wondering if there was a

Re: encrypt database column

2009-04-04 Thread Claude Schneegans
>>1) seeing as this can be run on any column (even integer fields) is it possible to encrypt an integer and then place the resulting encrypted string back into the integer column of the database If the encrypted data is also an integer, then yes, but if is can be any string, forget it. Not ev

Re: Get request using cfhttp...possible to see the actual URL sent?

2009-04-04 Thread Jason Fisher
Not quite sure what you're after, but if you're using CFHTTP and trying to reconstruct a URL that gets generated from a request, like in the case of a redirect, try this: http://www.yourHTTPREquest.com/?blah=blah"; redirect="No"> ~

Get request using cfhttp...possible to see the actual URL sent?

2009-04-04 Thread Andy Matthews
I'm working on adding in one of the Digg APIs into an app I'm writing and I'm having problems with it. I was wondering if there was anything that I could inspect which would detail the full URL sent to the API. ~| AdobeĀ® Cold

Re: cross browser CSS

2009-04-04 Thread Mark Henderson
Peter Boughton wrote: > And whether you count -moz-* or -webkit-* stuff too - since it's technically > engine-specific but of course doesn't apply if the browser doesn't support it. > One sheet for *good* browsers (gecko, webkit, presto etc), and one for the other beast (s). > But for Fire

Re: cross browser CSS

2009-04-04 Thread Claude Schneegans
>>First, start by writing standards compliant HTML with a valid Strict DOCTYPE - this is the best way to avoid most of the browser bugs in the first place. Of course, this will work... at least for all visitors having browsers supporting "Strict DOCTYPE" with no bug ;-) ~