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
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() {
);
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
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() {
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
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
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:
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
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
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
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
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
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
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
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
]
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
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/
-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
# )
/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
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
!
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
: 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
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
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
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
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,
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
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
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
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!!!
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
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
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
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
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 =
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
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
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]
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
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:
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
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
No, Get_Phone_Messages() does not call any other method/functions.
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
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]
well, no other methods
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
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]
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]
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]
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
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
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]
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
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]
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
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
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
No, not from the Display_table method.
-pjf
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
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
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:
: [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
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,
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:
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
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
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
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
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
67 matches
Mail list logo