AW: MySQL Auto Increment Field

2009-10-01 Thread Gert Franz
Barneyb, Railo only retrieves the result when you actually use a result attribute in the query. If you are not using it then it is not slower. On the other hand the result attribute must already contain the value after the cfquery is executed. This is due to the fact that when retrieving AutoInc

Debugging jquery post to coldfusion

2009-10-01 Thread Doug Hyde
I am having trouble processing a post to a cf template using a jquery post. I have set up a template to dynamically evaluate the form fields being posted - it isn't working, however it uses the following basic syntax: cfloop list=#FieldNames# index=i cfif i does not contain

Re: Viviotech

2009-10-01 Thread Rob Barthle
Thanks! ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326794 Subscription:

Re: Viviotech

2009-10-01 Thread Rob Barthle
It's OS X. The view was named properly, but I went back into the CFQUERY tag and found a field in the query that was not in the view. Fixing that fixed the error, though why that was causing it to say table not found I am not sure.

reading text from images

2009-10-01 Thread Richard White
hi is there a way in coldfusion to read/scan the text from an image? if not in coldfusion, is there any other means to do this? thanks richard ~| Want to reach the ColdFusion community with something they want? Let them

re: reading text from images

2009-10-01 Thread Jason Fisher
Just saw this on the wire yesterday: http://www.labnol.org/internet/perform-ocr-with-google-docs/10059/ Don't know any more about it than that article, but maybe it's helpful. ~| Want to reach the ColdFusion community with

Re: Viviotech

2009-10-01 Thread Rob Barthle
Clearly I replied here to the wrong topic. Oops. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive:

Re: mySQL view coming up table not found?

2009-10-01 Thread Rob Barthle
It's OS X. The view was named properly, but I went back into the CFQUERY tag and found a field in the query that was not in the view. Fixing that fixed the error, though why that was causing it to say table not found I am not sure.

Re: Style attribute not workin in CF8 CFChart?

2009-10-01 Thread slli...@shayna.com slli...@shayna.com
Just in case anyone else has this problem in the future and finds this via a search, I managed to fix it. I went ahead and moved the xml stylesheet out of the cfsavecontentvariable and into a xml file in the same directory. I then called the xml file via the style attribute. cfchart

RE: Debugging jquery post to coldfusion

2009-10-01 Thread Andy Matthews
A really good way to debug jQuery to CF mechanics is to use Firefox and Firebug. In Firebug you can see AJAX calls. Right click on that line in FB then select copy with parameters, and paste that into a new tab. It'll store all of your passed in vars, and let you see what CF is doing. andy

RE: Debugging jquery post to coldfusion

2009-10-01 Thread Craig Dudley
Firebug is cool but I also use a reverse proxy called Charles which is extremely useful (http://www.charlesproxy.com/) -Original Message- From: Andy Matthews [mailto:li...@commadelimited.com] Sent: Thursday, October 01, 2009 2:39 PM To: cf-talk Subject: RE: Debugging jquery post to

Re: Debugging jquery post to coldfusion

2009-10-01 Thread Raj Vijay
Firebug is a great tool and will save you lot of time. CF solution: you can use the cftry..cfcatch and email the errors. Example: cftry !--- your code --- cfcatch type=any cfmail subject= type=html from= to= cfdump var=#cfcatch.detail# -- #cfcatch.message# /cfmail /cfcatch

Re: Style attribute not workin in CF8 CFChart?

2009-10-01 Thread Raymond Camden
I've used inline styles for charts all the time. I think your problem may have been the whitespace. Next time try trimming the string first. On Thu, Oct 1, 2009 at 7:58 AM, slli...@shayna.com slli...@shayna.com sclarkli...@gmail.com wrote: Just in case anyone else has this problem in the

Re: Debugging jquery post to coldfusion

2009-10-01 Thread Gerald Guido
I ran into Fiddler a while back. Pretty freaking awesome. It has a FF plugin as well. http://www.fiddler2.com/fiddler2/ On Thu, Oct 1, 2009 at 7:31 AM, Doug Hyde deve...@fusesite.com wrote: I am having trouble processing a post to a cf template using a jquery post. I have set up a template

RE: Debugging jquery post to coldfusion

2009-10-01 Thread Andy Matthews
Fiddler is good, but for the most part, Firebug is better. -Original Message- From: Gerald Guido [mailto:gerald.gu...@gmail.com] Sent: Thursday, October 01, 2009 9:20 AM To: cf-talk Subject: Re: Debugging jquery post to coldfusion I ran into Fiddler a while back. Pretty freaking

Simple: ? sql add value to column

2009-10-01 Thread Paul Ihrig
ok i have a bunch of page numbers that need changed. they are like 10, 14 et.. i need to add 6 to the value i tried a sql stament of UPDATE x_cat SET cat_pg = cat_pg + 6 WHERE (x_cat_id= 632) but my values goto 106, 146, et..

Webservice error

2009-10-01 Thread ch g
I am redirecting to another URL using cflocation in my webservice, then i am getting this error, if i comment the cflocation tag then its working fine. Any help or suggestions will be appreciated lot. Cannot perform web service invocation login. The fault returned when invoking the web

Dynamic form issues

2009-10-01 Thread Scott Stewart
Hey all, I'm having an issue trying to figure out something. Here's what I have, a form that's generated dynamically based on fields returned from a query, I'll never know how many form rows their could be. The form action does two separate inserts, thus the need to pass the remaining

Re: Simple: ? sql add value to column

2009-10-01 Thread Paul Ihrig
ok so looks like the column cat_pg is a varchar. so that's why the statement wouldn't work. so i need to what, cast it as a numeric to update it? UPDATE x_cat SET cat_pg = CAST(cat_pg AS NUMERIC) + 6 WHERE (x_cat_id= 632) On Thu, Oct 1, 2009 at 10:45 AM, Paul Ihrig

Re: CFDocument Header Not Responding to Font-Size

2009-10-01 Thread Joe Tseng
I don't know if my problem is the same as the one in this thread but I figure I'd share it if someone finds it useful. After we upgraded from 7 to 8 we discovered the user-provided fonts we registered in CF didn't work properly. The cfdocument text in our generated PDFs reverted to Times and

Re: Debugging jquery post to coldfusion

2009-10-01 Thread Tony Bentley
Generally when trying to debug a template, I will log the variables on a separate page that I can refresh. Simply put the following code either in your application.cfm or in the onrequest function in the application.cfc cfsavecontent variable=exc #now()# h2FORM/h2 cfdump var=#form#

Re: Style attribute not workin in CF8 CFChart?

2009-10-01 Thread Sandra Clark
Thanks Ray, I'll try that next time. Sandy Clark On Thu, Oct 1, 2009 at 10:16 AM, Raymond Camden rcam...@gmail.com wrote: I've used inline styles for charts all the time. I think your problem may have been the whitespace. Next time try trimming the string first. On Thu, Oct 1, 2009 at 7:58

Re: Simple: ? sql add value to column

2009-10-01 Thread Yuliang Ruan
yea u'd cast it...but the real question you have to ask...why is that field a varchar if it's meant to be used as a numeric? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of

Re: Simple: ? sql add value to column

2009-10-01 Thread Paul Ihrig
Y... these are not thing mortals should question. the data which is the word, is infallible and has come down from on high. it proceeds us by generations and we shall not question it validity, integrity or reliability. On Thu, Oct 1, 2009 at 11:26 AM, Yuliang Ruan yuliangr...@hotmail.comwrote:

Re: Simple: ? sql add value to column

2009-10-01 Thread Dave Watts
ok so looks like the column cat_pg is a varchar. so that's why the statement wouldn't work. so i need to what, cast it as a numeric to update it? UPDATE   x_cat SET              cat_pg = CAST(cat_pg AS NUMERIC) + 6 WHERE     (x_cat_id= 632) I recommend that you change the datatype of the

Re: Dynamic form issues

2009-10-01 Thread Dave Watts
Here's what I have,  a form that's generated dynamically based on fields returned from a query, I'll never know  how many form rows their could be. The form action does two separate inserts, thus the need to pass the remaining variables in a structure. ... I need to account for fields

Re: Simple: ? sql add value to column

2009-10-01 Thread Dave Watts
these are not thing mortals should question. the data which is the word, is infallible and has come down from on high. it proceeds us by generations and we shall not question it validity, integrity or reliability. Your god is a false god. Otherwise, it would have perfect datatypes. Repent

Re: AW: Viviotech

2009-10-01 Thread Jeff Gladnick
I've used a viviotech VPS for some time now, actually I have a couple of them over there. Whenever I have a problem, they are quick to respond, and the customer service vs other (larger) companies is night and day. I highly recommend them to everybody I know who is looking for a CF Host.

ASPro SQL Inject

2009-10-01 Thread Michael Muller
I was about to flip the switch from a client's old server (using ASP) to a re-done CF site, doing a diff on the DB before-hand, when I noticed that every record in every table on the old server had one or two cells with an appended SCRIPT tag pointing to a server in Russia. I did a search on

Re: Dynamic form issues

2009-10-01 Thread Brian Kotek
I wrote a CFC that might help: http://formutils.riaforge.org/ On Thu, Oct 1, 2009 at 10:53 AM, Scott Stewart sstwebwo...@bellsouth.netwrote: Hey all, I'm having an issue trying to figure out something. Here's what I have, a form that's generated dynamically based on fields returned from

Re: Dynamic form issues

2009-10-01 Thread Gerald Guido
+1 for FormUtilities.cfc - Very handy. G! On Thu, Oct 1, 2009 at 2:55 PM, Brian Kotek brian...@gmail.com wrote: I wrote a CFC that might help: http://formutils.riaforge.org/ On Thu, Oct 1, 2009 at 10:53 AM, Scott Stewart sstwebwo...@bellsouth.net wrote: Hey all, I'm having an

Re: Write HTML content after reading a CSV file

2009-10-01 Thread vidya yegnaraman
Probably 10 ways to do this. Here's one: 1. read in the csv file with cffile: http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_f_07.html#3545217 2. use this to make it into a query: http://cflib.org/udf/CSVToQuery 3. use this to dump the query as a table:

Re: Write HTML content after reading a CSV file

2009-10-01 Thread John M Bliss
cffile action=read file=#ExpandPath('csv.csv')# variable=thiscsv cffile action=write file=#ExpandPath('csv.htm')# output=table addnewline=true cfloop list=#thiscsv# index=thisline delimiters=#Chr(10)# cffile action=append file=#ExpandPath('csv.htm')# output=tr addnewline=true cfloop

Re: Write HTML content after reading a CSV file

2009-10-01 Thread Ian Skinner
John M Bliss wrote: cffile action=read file=#ExpandPath('csv.csv')# variable=thiscsv cffile action=write file=#ExpandPath('csv.htm')# output=table addnewline=true cfloop list=#thiscsv# index=thisline delimiters=#Chr(10)# cffile action=append file=#ExpandPath('csv.htm')# output=tr

Re: Write HTML content after reading a CSV file

2009-10-01 Thread John M Bliss
Oh, hell. ... cffile action=write file=#ExpandPath('csv.htm')# output=/table :-) On Thu, Oct 1, 2009 at 3:01 PM, Ian Skinner h...@ilsweb.com wrote: John M Bliss wrote: cffile action=read file=#ExpandPath('csv.csv')# variable=thiscsv cffile action=write file=#ExpandPath('csv.htm')#

Re: Write HTML content after reading a CSV file

2009-10-01 Thread vidya yegnaraman
Oh, hell. ... cffile action=write file=#ExpandPath('csv.htm')# output=/table :-) On Thu, Oct 1, 2009 at 3:01 PM, Ian Skinner h...@ilsweb.com wrote: Thank you John, will try this out. ;-) ~| Want to reach the ColdFusion

Coldbox plugins vs interceptors for user management

2009-10-01 Thread Vineet Mangal
Hi, I am new to Coldbox and come from a Fusebox 4 / Reactor ORM background. I really like Coldbox and am considering building a role based user management system that can be ported from one Coldbox app to another. In version 3.0 beta of Coldbox sample apps there is a sampleloginapp which uses