Re: CF & Facebook

2009-03-06 Thread Jake Churchill
Facebook apps are easy to make but yes, they do require users to add the application to their profile which is really a pain. There is a way to interface with Facebook from a remote site using their API but every HTTP request requires new authentication so it can be a very big pain. Basically

CF & Facebook

2009-03-06 Thread Michael Reick
Ok, here's the issue I present to the gurus on this list. I know absolutely nothing about Facebook, I just created an account recently. The only thing I've found out is what an amazing time sucking application it is. But, my company (i.e. sales weenies who convinced the CEO) determined that w

RE: I give...anything inherently wrong with this code that would cause this error?

2009-03-06 Thread Rick Faircloth
Nah...I don't like drugs or badminton... -Original Message- From: Will Tomlinson [mailto:w...@wtomlinson.com] Sent: Friday, March 06, 2009 7:09 PM To: cf-talk Subject: Re: I give...anything inherently wrong with this code that would cause this error? >Thanks, everyone, for pointing o

RE: increment problem

2009-03-06 Thread cfcom
Each sender selects from four different types of content categories to send an email from. A loop is used to send out to each email on the list. I was trying to work out using an update + 1 to count how to keep track of everything, but ran into a wall. -Original Message- From: Peter Boug

RE: I give...anything inherently wrong with this code that would cause this error?

2009-03-06 Thread William Seiter
You know Will, PHP and .NET aren't any easier to learn than CF. ;) William -- William E. Seiter Need to have your mortgage modified? I charge no fees until I am successful, then I charge almost half the rate you would find elsewhere. Professional. Dedicated. Effective. The

Re: increment problem

2009-03-06 Thread Peter Boughton
Not entirely sure what you're trying to do, but certainly you shouldn't have four category/count tables. Something closer to this: Category_Count -- Category_id (int) Group_id (int) create_date create_time count sentby_email Recip_id Category id (int) colour (varchar?)

Re: ColdFusion.Window.create problems..

2009-03-06 Thread Azadi Saryev
nope, it is not. you are still using x and y in your window.show instead of the posX and posY variables you js calculates. in fact you do not need to pass any x or y to your js function - it calculates the click/window position from scratch. Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/

increment problem

2009-03-06 Thread cfcom
I'm having a brain drain on a simple increment I need to log and count who sends an email, how often it's sent, which category its sent from and how many times a recipient gets it. I'm sure theres a better way === Sender Table: Sender_id, F

Re: I give...anything inherently wrong with this code that would cause this error?

2009-03-06 Thread Will Tomlinson
>Thanks, everyone, for pointing out the goofy errors in the attributes. >I don't know how I got those in there...copy and paste gone wild, or >something. >Maybe just old-age confusion... :o) Rick, have you thought about just quitting CF altogether? And maybe taking up PHP or .NET?? :) Will

RE: I give...anything inherently wrong with this code that would cause this error?

2009-03-06 Thread Rick Faircloth
Thanks, everyone, for pointing out the goofy errors in the attributes. I don't know how I got those in there...copy and paste gone wild, or something. Maybe just old-age confusion... :o) Anyway, I got that straightened out and am one to some other errors with expandPath and variables involved. M

Timing out early

2009-03-06 Thread Russ Yoshioka
Greetings All! This is the first time I am posting a message, so please bear with me. I have a rather strange question. In one application we have defined a session variable (used to determine if a user has timed out). In a separate application the same cflock and session name is used. A user

Re: ColdFusion.Window.create problems..

2009-03-06 Thread Joel Polsky
Morgan, Would this be correct implimentation? function doLogin(x,y) { var posx = 0; var posy = 0; if (!e) var e = window.event; if (e.pageX || e.pageY) { posx = e.pageX; posy = e.pageY; } else if (e.clientX || e.clientY) { posx =

Loop in Distinct loop with more then one column

2009-03-06 Thread Sin Tec
Im doing a loop within a loop to get the distinct Category in the records for a business directory. It works great if there is just one column of categories but I have it set up where you can add the record in three different categories. Below works with one category SELECT DISTINCT cate

Re: ColdFusion.Window.create problems..

2009-03-06 Thread morgan l
This is the js I am currently using, courtesy of quirksmode.com: var posx = 0; var posy = 0; if (!e) var e = window.event; if (e.pageX || e.pageY) { posx = e.pageX; posy = e.pageY; } else if (e.clientX || e.clientY) { posx = e.clientX + document.body.scrollLeft + document.documentElement.scrollLef

Re: I give...anything inherently wrong with this code that would cause this error?

2009-03-06 Thread Kris Jones
This validates by calling the cfc directly. Haven't actually called the function, but I think this would work: Take a look at: the array references you have in there -- doesn't look okay to me. Also, check the way you are calling the function. THat may actually be the issue. C

RE: ColdFusion.Window.create problems..

2009-03-06 Thread Milburn, Steve
I'm pretty sure that event.pageX and event.pageY are not supported in Internet Explorer. You may have to look at other options such as event.clientX and event.clientY. Perhaps somebody else can shed more light on this, but I tried using the same code you have and could not get it to work corr

RE: I give...anything inherently wrong with this code that would cause this error?

2009-03-06 Thread Jason Fisher
So, your function definition has been simplified like the below and it's still throwing the error? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.do

ColdFusion.Window.create problems..

2009-03-06 Thread Joel Polsky
Hi, I'm trying implement the sample on this page, which controls where a cfwindow appears based on the x/y click . http://www.coldfusionjedi.com/index.cfm/2007/11/29/ColdFusion-8-and-AjaxBased-Login Here's where my latest code: function doLogin(x,y) { ColdFusion.Window.create('loginwindow','M

RE: I give...anything inherently wrong with this code that would cause this error?

2009-03-06 Thread Rick Faircloth
Nope...still calls out the returnType = "stuct" line as a problem. -Original Message- From: William Seiter [mailto:will...@seiter.com] Sent: Friday, March 06, 2009 1:34 PM To: cf-talk Subject: RE: I give...anything inherently wrong with this code that would cause this error? Remove thi

RE: I give...anything inherently wrong with this code that would cause this error?

2009-03-06 Thread Rick Faircloth
Doh! You're absolutely right, but even with it gone, I still get the same error... -Original Message- From: Francois Levesque [mailto:cfab...@gmail.com] Sent: Friday, March 06, 2009 1:36 PM To: cf-talk Subject: Re: I give...anything inherently wrong with this code that would cause this

RE: I give...anything inherently wrong with this code that would cause this error?

2009-03-06 Thread Mark Kruger
Pete, I guess I've never seen it done like that before. I have always seen either Arg collection OR specific vars. I didn't know you could mix and match (or if I knew I forgot:). Nice tip! -mark Mark A. Kruger, CFG, MCSE (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.ne

Re: I give...anything inherently wrong with this code that would cause this error?

2009-03-06 Thread Peter Boughton
Even treating it as a function call, copying application vars into form scope is not recommended, nor necessary. It is perfectly acceptable, and more readable, to do this: processForm( ArgumentCollection = Form , DSN = Application.DSN ) CF will use ArgumentCollection values unless there is a

RE: I give...anything inherently wrong with this code that would cause this error?

2009-03-06 Thread Mark Kruger
Ooh... Right... I was thinking it was a call but it's not it's a definition... Both argumentcollection and dsn are wrong. -mark Mark A. Kruger, CFG, MCSE (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Francois Levesque [mailto

Cftree not working on CF 8

2009-03-06 Thread N K
Hi All, I have menu list of items being displayed through CFtree using foramt="flash". The same code works on CF 7 but does not work on CF 8. Any idea what would lead to this? Thanks in advance NK ~| Adobe® ColdFusion® 8 so

Re: CF restart daily

2009-03-06 Thread Rastafari
so it actually REBOOTS itself? like, the machine does? tw On Fri, Mar 6, 2009 at 1:33 PM, Mark Kruger wrote: > > Michael, > > Have you checked your windows update settings? I would also look at power. > Maybe the data center is testing their backup generator and your circuit is > failing. Do th

RE: I give...anything inherently wrong with this code that would cause this error?

2009-03-06 Thread Mark Kruger
What's with the "DSN" line? Kind of an arbitrary attribute... That's not part of the function tags attributes... Should the "dsn" var be part of the argumentcollection? I would think it should be something like -Mark Mark A. Kruger, CFG, MCSE (402) 408-3733 ext 105 www.cfwebtools.com www.

Re: I give...anything inherently wrong with this code that would cause this error?

2009-03-06 Thread Tom McNeer
Neither "argumentCollection" nor "dsn" are attributes of the cffunction tag. On Fri, Mar 6, 2009 at 1:28 PM, Rick Faircloth wrote: > > > displayname = > "fnProcessForm" > > argumentCollection = "#form#" > >

RE: I give...anything inherently wrong with this code that would cause this error?

2009-03-06 Thread Adrian Lynch
The attribute values of the cffunction aren't constants. I'm guessing the ones you've added, argumentCollection and dsn, can't be variables. Adrian > -Original Message- > From: Rick Faircloth [mailto:r...@whitestonemedia.com] > Sent: 06 March 2009 18:29 > To: cf-talk > Subject: I give...

Re: I give...anything inherently wrong with this code that would cause this error?

2009-03-06 Thread Peter Boughton
The error message tells you what is wrong. >"This expression must have a constant value." i.e. This expression must NOT be a variable. Unfortunately, CF cannot point precisely at the expression - it can only tell you that it is within the cffunction tag - which it does by highlighting the las

RE: I give...anything inherently wrong with this code that would cause this error?

2009-03-06 Thread Josh Nathanson
argumentCollection is not a valid attribute for cffunction. You want to pass that in when you call the function: fnProcessForm( argumentCollection=aStructOfSomeSort ); -- Josh -Original Message- From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: Friday, March 06, 2009 10:2

Re: I give...anything inherently wrong with this code that would cause this error?

2009-03-06 Thread Francois Levesque
argumentCollection in the cffunction tag? I don't see that in the docs. You can use it when calling the function, but not while defining it. Maybe that's what's throwing the weird error. Francois Levesque http://blog.critical-web.com/ On Fri, Mar 6, 2009 at 1:28 PM, Rick Faircloth wrote: > > H

RE: CF restart daily

2009-03-06 Thread Mark Kruger
Michael, Have you checked your windows update settings? I would also look at power. Maybe the data center is testing their backup generator and your circuit is failing. Do the windows logs show the reboot as unexpected? Is it truly the box "rebooting" or is it just CF restarting? -Mark Mark

RE: I give...anything inherently wrong with this code that would cause this error?

2009-03-06 Thread William Seiter
Remove this part and see if it works. argumentCollection = "#form#" -- William E. Seiter Need to have your mortgage modified? I charge no fees until I am successful, then I charge almost half the rate you would find elsewhere. Professional. Dedicated. Effective. Th

I give...anything inherently wrong with this code that would cause this error?

2009-03-06 Thread Rick Faircloth
Here's the error from CF: "This expression must have a constant value." The compiler was processing: - A cffunction tag beginning on line 72, column 10. The error occurred in E:\Inetpub\webroot\wsm-dev\jQuery\ajax_file_upload_two\form_processing.cfc, line 79. (Line 79 is: retu

Re: CF restart daily

2009-03-06 Thread Casey Dougall
On Fri, Mar 6, 2009 at 1:22 PM, Michael Dinowitz wrote: > > I've looked through the archives. I've checked my settings. I've done just > about everything possible to be done and I still can't find out why HoF > reboots every day at about 12:00. If it was memory, I'd expect it to be > more > rand

CF restart daily

2009-03-06 Thread Michael Dinowitz
I've looked through the archives. I've checked my settings. I've done just about everything possible to be done and I still can't find out why HoF reboots every day at about 12:00. If it was memory, I'd expect it to be more random. It looks like some sort of scheduled event but there is no cron jo

RE: cfqueryparam with cfstoredprocparam

2009-03-06 Thread Adrian Lynch
No, cfprocparam is equivalent to cfqueryparam. Adrian > -Original Message- > From: Scott Stewart [mailto:sstwebwo...@bellsouth.net] > Sent: 06 March 2009 15:10 > To: cf-talk > Subject: cfqueryparam with cfstoredprocparam > > > Hey all, > > > > I'm calling a stored procedure using cf

Re: cfqueryparam with cfstoredprocparam

2009-03-06 Thread Rob Parkhill
No, the stored procedure will look after it. Rob On Fri, Mar 6, 2009 at 10:09 AM, Scott Stewart wrote: > > Hey all, > > > > I'm calling a stored procedure using cfstoredproc. > > Within the cfstoredproc I have two procparams, > > The values are function arguments > > > > They currently look like

cfqueryparam with cfstoredprocparam

2009-03-06 Thread Scott Stewart
Hey all, I'm calling a stored procedure using cfstoredproc. Within the cfstoredproc I have two procparams, The values are function arguments They currently look like this: Do I still need to wrap the arguments.login in "cfqueryparam" statements? -- Scott Stewart ColdFusion D

Re: CFForm onsubmit issue

2009-03-06 Thread Gerald Guido
Thank you very much. I wanted to avoid rolling my own validation for some 30 fields. Sometimes CF makes me lazy... errr... I mean productive. G! On Thu, Mar 5, 2009 at 11:11 PM, Azadi Saryev wrote: > > when you use cfform, cf automatically creates a js function named > _CF_Check[your cfform's

Re: Unable to update cfGrid

2009-03-06 Thread Mike Mace
Pranathi, Your grid name is "employee_grid" but the grid name in your cfgridupdate is "Brand_Grid". Could be a start on your problem. > I am trying to work on the sample in livedoces but I am unable to > update the database and also I am unable to display the updated > contents. Can any one

Re: CFForm onsubmit issue

2009-03-06 Thread Azadi Saryev
when you use cfform, cf automatically creates a js function named _CF_Check[your cfform's NAME attribute value] to validate your form, and adds the onsubmit attribute to the form tag. i guess it overwrites any onsubmit you put in the tag while doing this... one way i managed to have custom valida

Re: Session Variable behaving oddly

2009-03-06 Thread James Holmes
Ah, the lolcats naming convention. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/3/6 : > > You should see the AS400 DB2 tables I have to work with that have 10 > character limits for table and column names. > You'd think someone ran away with our vowels

Re: Strange error with cffeed

2009-03-06 Thread James Holmes
We just found yet another thing that can break with this patch. CFCHART rendered charts with the text "WebCharts3D Invalid license" until we added wc50.jar to the sandbox. The CFFEED tag requires rome-cf.jar and CFPDF requires cf-acrobat.jar. The bug relates to reading license or config files for

Passing variable to page with javascript:ColdFusion.Window.show

2009-03-06 Thread Steve Sequenzia
I am trying to open a cfwindow using but in need to pass a variable to the page that it opens. I have tried a few ways of doing it but I cannot get it to work. Any help on this would be great. Thanks! ~| Adobe® ColdFusion®

Passing variable to page with javascript:ColdFusion.Window.show

2009-03-06 Thread Steve Sequenzia
I am trying to open a cfwindow using but in need to pass a variable to the page that it opens. I have tried a few ways of doing it but I cannot get it to work. Any help on this would be great. Thanks! ~| Adobe® ColdFusion®

Re: Query based on Checkbox clicked/unclicked

2009-03-06 Thread Dominic Watson
For what it's worth, I like to do the following with checkboxes: ... While not much different in terms of your example, I find it particularly clean when saving a boolean choice to a db, ie. UPDATE foobar SET myBitField = Dominic