What am I missing with this code? (Javascript)

2011-06-12 Thread Rick Faircloth
Hi, guys... With all the chatter about Homesite and the reminiscing about the good ole days of programming, I thought I'd give you something more up-to-date to think about. This is part of a larger CF/jQuery application that I just can't figure how to get running properly. I'm sure it's how

Re: What am I missing with this code? (Javascript)

2011-06-12 Thread Jason Fisher
You declared slidePosition as a local variable inside the ready() function, so it doesn't exist for the other functions. Try making it global, like this: script type=text/javascript var slidePosition = 0; $(document).ready(function() {

RE: What am I missing with this code? (Javascript)

2011-06-12 Thread Rick Faircloth
); playTrack(slidePosition); }; /script -Original Message- From: Jason Fisher [mailto:ja...@wanax.com] Sent: Sunday, June 12, 2011 3:06 PM To: cf-talk Subject: Re: What am I missing with this code? (Javascript) You declared slidePosition

Re: What am I missing with this code? (Javascript)

2011-06-12 Thread Jason Fisher
Not sure, but now that I look at it, you don't need to pass slidePosition around at all now that it's a global variable. Try this: script type=text/javascript var slidePosition = 1; $(document).ready(function() {

RE: What am I missing with this code? (Javascript)

2011-06-12 Thread Rick Faircloth
Excellent! Thanks! -Original Message- From: Jason Fisher [mailto:ja...@wanax.com] Sent: Sunday, June 12, 2011 4:42 PM To: cf-talk Subject: Re: What am I missing with this code? (Javascript) Not sure, but now that I look at it, you don't need to pass slidePosition around at all now

Re: CF8 cfselect ajax features - what am I missing?

2010-03-22 Thread Tony Bentley
Looks like you've made progress but the change is happening without any user notification. You need the fancy web 2.0 ajax icon. ~| Want to reach the ColdFusion community with something they want? Let them know on the House

CF8 cfselect ajax features - what am I missing?

2010-03-21 Thread James Milks
Hi, Have been away from CF for a long time. Retooling a site to use more modern features and I would like to use the CFSELECT bind features to link to select lists. I followed the example by Forta on the Adobe site, but it is just not working. have uploaded a page with the code here:

Re: CF8 cfselect ajax features - what am I missing?

2010-03-21 Thread Azadi Saryev
for some reason - maybe to do with data type of underlying db column - the values of options in your letterList cfselect have trailing spaces. hence the arguments passed to your getTeamsByLetter() cfc method look like this: |{letter:M|| ||}|, and thus 'M %' is what your query tries to match. add

RE: CF8 cfselect ajax features - what am I missing?

2010-03-21 Thread Will Swain
First place I'd look is your query. Try spoofing it up outside the ajax scenario, send it some values and see what comes back. -Original Message- From: James Milks [mailto:jamesmi...@noncubicle.com] Sent: 21 March 2010 12:16 To: cf-talk Subject: CF8 cfselect ajax features - what am I

Re: CF8 cfselect ajax features - what am I missing?

2010-03-21 Thread Azadi Saryev
oh wow that was weird... all those | in my pasted firebug output... in any case, look at the generated html source of your page and you will see the options in first cfselect all have lots of trailing whitespace. Azadi On 21/03/2010 20:40, Azadi Saryev wrote: for some reason - maybe to do with

RE: CF8 cfselect ajax features - what am I missing?

2010-03-21 Thread James Milks
Thank you - I was sure I tried trimming, but I guess not. James -Original Message- From: Azadi Saryev [mailto:azadi.sar...@gmail.com] Sent: March 21, 2010 8:41 AM To: cf-talk Subject: Re: CF8 cfselect ajax features - what am I missing? for some reason - maybe to do with data type

Re: CF8 cfselect ajax features - what am I missing?

2010-03-21 Thread James Milks
Well, I got the cfselect to work, but when I placed the code into a page displayed in a lightbox (facebox actually) it doesn't work. I suspect there is an Ajax call in the generated JS that is failing. Is this a question for cf-talk or the ajax list? James Thank you - I was sure I tried

Re: CF8 cfselect ajax features - what am I missing?

2010-03-21 Thread James Holmes
Firebug is essential for debugging this sort of thing. It will show you every ajax call and let you see if anything is failing. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ On 22 March 2010 05:31, James Milks jamesmi...@noncubicle.com wrote: Well, I got

What am I missing???

2008-08-25 Thread Rick Faircloth
This should not be hard to do... I've got a form with some checkboxes that are dynamically created from a query. I use cfoutput query = get_unregistered to build the form. The checkboxes are build like this: input name=shooter_#currentrow# type=checkbox value=#shooter_id# I would expect that

Re: What am I missing???

2008-08-25 Thread Matt Quackenbush
input name=shooter_#currentrow# type=checkbox value=#shooter_id[currentRow]# ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Re: What am I missing???

2008-08-25 Thread Brad Wood
] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, August 25, 2008 7:52 PM Subject: What am I missing??? This should not be hard to do... But the values for the checkboxes are rendered as: shooter_1: 891011 shooter_2: 91011 shooter_3: 1011 shooter_4: 11

Re: What am I missing???

2008-08-25 Thread Azadi Saryev
Matt's suggestion should work, but it really shouldn;t be necessary... do you have your cfoutput inside a cfloop or the other way around? what if you properly scope both recordcount and shooter_id with a query name? Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/

RE: What am I missing???

2008-08-25 Thread Rick Faircloth
-Original Message- From: Matt Quackenbush [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2008 8:57 PM To: CF-Talk Subject: Re: What am I missing??? input name=shooter_#currentrow# type=checkbox value=#shooter_id[currentRow

Re: What am I missing???

2008-08-25 Thread Charlie Griefer
# ) /cfquery /cfif /cfloop Problems with that? Suggestions? Rick -Original Message- From: Matt Quackenbush [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2008 8:57 PM To: CF-Talk Subject: Re: What am I missing??? input name=shooter_#currentrow# type

Re: What am I missing???

2008-08-25 Thread Charlie Griefer
accidentally hit 'send' :\ that should have read: form page: cfoutput query=get_unregistered input type=checkbox name=shooter value=#get_unregistered.shooter_id# / /cfoutput action page: cfif structKeyExists(form, 'shooter') cfloop list=#form.shooter# index=idx cfquery

RE: What am I missing???

2008-08-25 Thread Rick Faircloth
! Thanks! Rick -Original Message- From: Azadi Saryev [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2008 9:20 PM To: CF-Talk Subject: Re: What am I missing??? Matt's suggestion should work, but it really shouldn;t be necessary... do you have your cfoutput inside a cfloop

RE: What am I missing???

2008-08-25 Thread Rick Faircloth
: What am I missing??? accidentally hit 'send' :\ that should have read: form page: cfoutput query=get_unregistered input type=checkbox name=shooter value=#get_unregistered.shooter_id# / /cfoutput action page: cfif structKeyExists(form, 'shooter') cfloop list

Whitespace from seemingly nowhere, what am I missing?!

2008-01-05 Thread Dominic Watson
Using CF8 CF7, when directly outputting the result of a function or method call, I see whitespace (it is actually some sort of special character) before the string. If I place the result in a variable and then output it, I don't see the whitespace... I'm assuming people must have come across this

Re: Whitespace from seemingly nowhere, what am I missing?!

2008-01-05 Thread Claude Schneegans
Do you have the component set to suppress whitespace? The problem is not about white space not suppressed. Some white space is actually *added*. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any

Re: Whitespace from seemingly nowhere, what am I missing?!

2008-01-05 Thread Claude Schneegans
Silly indeed! And it is as silly under CF6 Note that if you cfoutput=#len(Silly())#=/cfoutput you get = 5=, thus the extra space is not actually returned by the function call, but is inherent to any function call inside cfoutput However cfoutput=#len(Silly)#=/cfoutput outputs =5= correctly. And

Re: Whitespace from seemingly nowhere, what am I missing?!

2008-01-05 Thread Dan Vega
Do you have the component set to suppress whitespace? cfcomponent output=false cffunction name=what output=false I am pretty sure you only need to do it at the component level but if it was set to true there you could control it on a per function basis as well Dan On Jan 5, 2008 5:11 PM,

Re: Whitespace from seemingly nowhere, what am I missing?!

2008-01-05 Thread Dominic Watson
Yeh and this happens outside of components (for me at least). The code I posted was from a plain ol .cfm file. Try it and see :) Dominic On 05/01/2008, Dan Vega [EMAIL PROTECTED] wrote: Do you have the component set to suppress whitespace? cfcomponent output=false cffunction name=what

Re: Whitespace from seemingly nowhere, what am I missing?!

2008-01-05 Thread Dominic Watson
Silly indeed! And it is as silly under CF6 Aha, not just my code then! I've noticed that it also happens when accessing a value in a query using array notation, i.e.: cfoutput=#myQuery[col][row]#=/cfoutput Can't believe that's been around for so long and not fixed in CF8! I guess my only

Re: Whitespace from seemingly nowhere, what am I missing?!

2008-01-05 Thread Claude Schneegans
Can't believe that's been around for so long and not fixed in CF8! Must be in the same agenda as correcting the empty list element bug ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam

What am I missing?

2007-01-13 Thread Doug Brown
I am quering the database in the following and getting the average of feedback received. I pass the memberID to the function which I have verified to exist and I get nothing back. If I run the same query in the query analyzer I get a result of 2. Can anyone see a problem? !---GET THE AVG OF

Solved (What am I missing?)

2007-01-13 Thread Doug Brown
Solved!!! Doug B. - Original Message - From: Doug Brown [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Saturday, January 13, 2007 6:53 AM Subject: What am I missing? I am quering the database in the following and getting the average of feedback received. I pass

RE: What am I missing?

2007-01-13 Thread Michael E. Carluen
PROTECTED] Sent: Saturday, January 13, 2007 5:53 AM To: CF-Talk Subject: What am I missing? CFFUNCTION name=InitAvgFeedback access=public output=false returntype=string hint=Output the average rating for all feedback per member CFARGUMENT name=memberID required=yes type=numeric cfset var

RE: MD5 Hmac - What am I missing here?

2005-10-06 Thread Figy, Kam
Unless you must use java, CF6.1's hash() function does MD5. -Original Message- From: Short Fuse Media [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 05, 2005 2:54 PM To: CF-Talk Subject: Re: MD5 Hmac - What am I missing here? Hmm, didn't seem to affect it... question, would even

Re: MD5 Hmac - What am I missing here?

2005-10-06 Thread Short Fuse Media
Fuse Media [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 05, 2005 2:54 PM To: CF-Talk Subject: Re: MD5 Hmac - What am I missing here? Hmm, didn't seem to affect it... question, would even Bin2Hex be apropriate in this instance? Or would it be better to loop through the byte array itself

MD5 Hmac - What am I missing here?

2005-10-05 Thread Short Fuse Media
For some odd reason I took it upon myself to write an HMAC generator in cfml/java on MX 6.1 (don't ask, I'm masochistic like that) - and so far I believe I've gotten to this point: cfscript keyString = myKey; dataString = HelloWorld; messageDigest =

Re: MD5 Hmac - What am I missing here?

2005-10-05 Thread Howie Hamlin
Try this: messageDigest = createObject(java,java.security.MessageDigest); messageDigest = messageDigest.getInstance(MD5); messageDigest.reset(); messageDigest.update(keyString.getBytes()); HTH, -- Howie Hamlin - inFusion Project Manager On-Line Data Solutions, Inc. - www.CoolFusion.com

Re: MD5 Hmac - What am I missing here?

2005-10-05 Thread Short Fuse Media
Hmm, didn't seem to affect it... question, would even Bin2Hex be apropriate in this instance? Or would it be better to loop through the byte array itself and make the hex string per byte? Which leads me to my next question - how would one accomodate this byte to hex conversion in cf w/out the

Calling CFCs with wget or curl -- What am I missing?

2004-08-09 Thread Dick Applebaum
I can successfully call a remote (ws) cfc method with curl or wget, but I am unable to pass parameter data to the cfc. What's the secret? TIA Dick [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

RE: Calling CFCs with wget or curl -- What am I missing?

2004-08-09 Thread Dave Watts
I can successfully call a remote (ws) cfc method with curl or wget, but I am unable to pass parameter data to the cfc. What's the secret? You should be able to pass parameters within the URL of the CFC request: http://yourserver/your.cfc?param=value For obvious reasons, this will only

Re: Calling CFCs with wget or curl -- What am I missing?

2004-08-09 Thread Dick Applebaum
On Aug 9, 2004, at 9:09 AM, Dave Watts wrote: I can successfully call a remote (ws) cfc method with curl or wget, but I am unable to pass parameter data to the cfc. What's the secret? You should be able to pass parameters within the URL of the CFC request:

RE: Calling CFCs with wget or curl -- What am I missing?

2004-08-09 Thread Dave Watts
That's just the point: http://localhost/cfusion/mycfmxapps/myWS.cfc? method=echoStringinput=Hello works from a browser but, wget http://localhost/cfusion/mycfmxapps/myWS.cfc? method=echoStringinput=Hello does not work from the command line If it can be done from a browser, it

Re: Calling CFCs with wget or curl -- What am I missing?

2004-08-09 Thread Dick Applebaum
On Aug 9, 2004, at 10:28 AM, Dave Watts wrote: That's just the point: http://localhost/cfusion/mycfmxapps/myWS.cfc? method=echoStringinput=Hello works from a browser but, wget http://localhost/cfusion/mycfmxapps/myWS.cfc? method=echoStringinput=Hello does not work from the command

Re: calling CFC in with dynamic variable - what am I missing here?

2004-07-18 Thread Peter Farrell
No, Get_Phone_Messages() does not call any other method/functions. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: calling CFC in with dynamic variable - what am I missing here?

2004-07-18 Thread Paul Kenney
Ok, so what other methods does Display_Tables() call? On Sun, 18 Jul 2004 12:00:54 -0400, Peter Farrell [EMAIL PROTECTED] wrote: No, Get_Phone_Messages() does not call any other method/functions. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: calling CFC in with dynamic variable - what am I missing here?

2004-07-18 Thread Peter Farrell
well, no other methods [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: calling CFC in with dynamic variable - what am I missing here?

2004-07-18 Thread Peter Farrell
Also, I found my question about calling methods via dynamic variable names. http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/buildi20.htm I never saw this in livedocs. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: calling CFC in with dynamic variable - what am I missing here?

2004-07-18 Thread Paul Kenney
So, the only method that Display_Tables() calls is Get_Phone_Messages.What methods do you have then that are dynamically called with positional arguments? On Sun, 18 Jul 2004 18:32:15 -0400, Peter Farrell [EMAIL PROTECTED] wrote: well, no other methods [Todays Threads] [This Message]

Re: calling CFC in with dynamic variable - what am I missing here?

2004-07-18 Thread Paul Kenney
Oh, and who calls them? On Sun, 18 Jul 2004 18:32:15 -0400, Peter Farrell [EMAIL PROTECTED] wrote: well, no other methods [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

calling CFC in with dynamic variable - what am I missing here?

2004-07-17 Thread Peter Farrell
Hi All, Despite all my attempts, I cannot for the life of me figure this one out. I have a CFC method (Display_Table in the application.MessagesCFC) that displays a table of error message (don't ask - employer!).Display_Tables takes two arguments - Function and Error_List.Function is a name of

Re: calling CFC in with dynamic variable - what am I missing here?

2004-07-17 Thread Paul Kenney
This will do the trick: cfinvoke method=#arguments.function# errorList=#arguments.Error_List#/ On Sat, 17 Jul 2004 17:56:01 -0400, Peter Farrell [EMAIL PROTECTED] wrote: Hi All, Despite all my attempts, I cannot for the life of me figure this one out. I have a CFC method (Display_Table in

Re: calling CFC in with dynamic variable - what am I missing here?

2004-07-17 Thread Peter Farrell
Thanks Paul - I thought of that - should of mentioned that. Anyway of passing in the variables by position? cfscript callmefunction(1, 3, 4) /cfscript [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: calling CFC in with dynamic variable - what am I missing here?

2004-07-17 Thread Paul Kenney
Why?You need to explain a little more then. On Sat, 17 Jul 2004 18:50:17 -0400, Peter Farrell [EMAIL PROTECTED] wrote: Thanks Paul - I thought of that - should of mentioned that. Anyway of passing in the variables by position? cfscript callmefunction(1, 3, 4) /cfscript [Todays

Re: calling CFC in with dynamic variable - what am I missing here?

2004-07-17 Thread Peter Farrell
I was wanting to do it in cfscript as well - however I cannot figure that one out. The reason why I wanted to do it by position, is that the methods I'm passing to all of one cfargument but each argument name is different. I guess I could go back and ask for them to be changed. [Todays Threads]

Re: calling CFC in with dynamic variable - what am I missing here?

2004-07-17 Thread Paul Kenney
Can you show an example of this?I don't think I'm following. On Sat, 17 Jul 2004 19:24:48 -0400, Peter Farrell [EMAIL PROTECTED] wrote: I was wanting to do it in cfscript as well - however I cannot figure that one out. The reason why I wanted to do it by position, is that the methods I'm

Re: calling CFC in with dynamic variable - what am I missing here?

2004-07-17 Thread Peter Farrell
Paul, cfscript application.FooCFC.fooFunction(Peter, Pizza); /cfscript !--- In Foo CFC instantiated in an application scope var --- cffunction name=fooFunction ... cfargument name=First_Name ... / cfargument name=Fav_Food ... / !--- Do something else --- cfreturn something / /cffunction I

Re: calling CFC in with dynamic variable - what am I missing here?

2004-07-17 Thread Paul Kenney
Ok, Get_Phone_Messages() takes a single argument.Are there other dynamically called methods that take multiple arguments? On Sat, 17 Jul 2004 17:56:01 -0400, Peter Farrell [EMAIL PROTECTED] wrote: Hi All, Despite all my attempts, I cannot for the life of me figure this one out. I have a

Re: calling CFC in with dynamic variable - what am I missing here?

2004-07-17 Thread Peter Farrell
No, not from the Display_table method. -pjf [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: calling CFC in with dynamic variable - what am I missing here?

2004-07-17 Thread Paul Kenney
Ok, I'm taking this step by step,So bear with me... Display_Tables() is a public method that has two arguments: method and values. method is a string, values is a string. Display_Tables() then calls the method specified by the method argument and passes thestring specified in values as its only

cfcontent - what am I missing?

2004-07-08 Thread Carol Chandler
I have searched the archives here, books, and forums at MM.My client says that the download I gave her works for maybe half of her customers. Others are getting .cfm files, or possibly something else that they can't use.That is just not acceptable, you know?Here's the relevant code:

RE: cfcontent - what am I missing?

2004-07-08 Thread Mosh Teitelbaum
: [EMAIL PROTECTED] WWW: http://www.evoch.com/ -Original Message- From: Carol Chandler [mailto:[EMAIL PROTECTED] Sent: Thursday, July 08, 2004 11:45 AM To: CF-Talk Subject: cfcontent - what am I missing? I have searched the archives here, books, and forums at MM.My client says

Re: cfcontent - what am I missing?

2004-07-08 Thread Jordan Michaels
Any particular reason there are CFOUTPUT tags around those? It's possible that those tags are adding unecessary white space to the output, and confusing some browsers as to if they're getting a web page or a file. Has your client been able to ask her customers what browsers they're using,

Re: cfcontent - what am I missing?

2004-07-08 Thread S . Isaac Dealey
I have searched the archives here, books, and forums at MM.My client says that the download I gave her works for maybe half of her customers. Others are getting .cfm files, or possibly something else that they can't use. That is just not acceptable, you know?Here's the relevant code:

Re: cfcontent - what am I missing?

2004-07-08 Thread Carol Chandler
Okay, I added the filename= and took off the cfoutput, and gave my client a list of questions for her customers. :)Thanks! I have searched the archives here, books, and forums at MM.My client says that the download I gave her works for maybe half of her customers. Others are getting .cfm

Re: cfcontent - what am I missing?

2004-07-08 Thread S . Isaac Dealey
Don't overlook the other responses btw -- I was in a hurry earlier. Definately remove the cfoutput tags, and the cfheader value should read attachment; filename=#filename# (you're missing the filename= portion) good luck! :) Okay, I added the filename= and took off the cfoutput, and gave my

Re: cfcontent - what am I missing?

2004-07-08 Thread Kay Smoljak
On Thu, 08 Jul 2004 11:45:09 -0400, Carol Chandler [EMAIL PROTECTED] wrote: I have searched the archives here, books, and forums at MM.My client says that the download I gave her works for maybe half of her customers. Others are getting .cfm files, or possibly something else that they can't

Syntax error (missing operator) What am I missing here???

2000-04-26 Thread Britta Wingenroth \(Design Department\)
This is a multi-part message in MIME format. --=_NextPart_000_0005_01BFAFA6.45CCE0F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable If you can see the problem, a solution would be greatly appreciated! = I'm new at this. This is the error

Re: Syntax error (missing operator) What am I missing here???

2000-04-26 Thread Dick Applebaum
UPDATE TableName SET ColumnName1 = value1, SET ColumnName2 = value2, . . . SET ColumnNamwn = valuen the value van be a variable: #variableName# any values for non-numneric columns must be enclosed in single quotes: '#NonNumericVariaqbleName#' a comma follows