Re: cfchart

2013-11-19 Thread morgan lindley
The pie example's cfchartseries appears to be missing the query=GetS attribute. 19 records might get crowded and illegible, but it won't give you nothing. On Tue, Nov 19, 2013 at 3:38 PM, Stephens, Larry V steph...@iu.edu wrote: cfchart format=jpg databackgroundcolor=white fontsize=14

Re: odd (I think) ajax related problem

2013-05-21 Thread morgan lindley
Use the complete/success/callback of your ajax call to run this code block: var x = $('#TheBldg').val(); // storage of passed parameter alert(x); if ( x.length 0 ) { $('#bldgID').val(x).prop('selected',true); } That should ensure the select is available to jquery before attempting to set it to

Re: Easy CFC question (I hope)

2013-05-09 Thread morgan lindley
Change your return to: cfretun qUserEmail As you have it, it's attempting to return a reference to the adduser method. ~| Order the Adobe Coldfusion Anthology now!

Re: Nesting Issue?

2013-02-08 Thread morgan lindley
I suspect this is causing the problem. As someone else mentioned, nesting cfoutputs without a group attribute in the outermost cfoutput used to throw an error. In CF10, the inner cfoutput block loops over the remaining values of the query in each iteration through the outer cfoutput. On Fri, Feb

Re: Embedding image to a document that is attached to an email

2012-09-13 Thread morgan lindley
As someone else pointed out, if you got to: http://www.makeaherodonations.com/Images/logo.pnghttp://www.makeaherodonations.com/Images/Logo.png the image loads fine. It appears the server is case-sensitive. On Thu, Sep 13, 2012 at 11:37 AM, Bruce Sorge sor...@gmail.com wrote: Here is what is

Re: createodbcdatetime change in cf9?

2012-04-11 Thread morgan lindley
What is the actual content of the form.payment_date coming from PayPal? It should be something like '08:38:49 Apr 11, 2012 PDT'. The code below works just fine on that value on CF9 in my testing environment. Without the ' PDT' part, the code tries to run createodbcdatetime() on '08:38:49 Apr 11,

Re: createodbcdatetime change in cf9?

2012-04-11 Thread morgan lindley
What I was saying is, I tested the actual code you originally posted on CF9 with 08:38:49 Apr 11, 2012 PDT as the input and it works fine. I was trying to verify that the data you're working with has the timezone on the end, since the cut portion of the code is designed to remove that, and will

Re: createodbcdatetime change in cf9?

2012-04-11 Thread morgan lindley
That needs to be: cfset paymentdate = #createodbcdatetime('08:38:49 April 11, 2012')# The time zone on the end is invalid in CF. On Wed, Apr 11, 2012 at 2:46 PM, Tony Paolillo tpaoli...@gmail.com wrote: cfset paymentdate = #createodbcdatetime('08:38:49 April 11, 2012 EST')#

Re: Bracket Notation

2012-03-30 Thread morgan lindley
Is 'detail' a query? If so, you need #detail[off#idx#_street] [detail.currentRow]#. On Fri, Mar 30, 2012 at 10:53 AM, Les Mizzell lesm...@bellsouth.net wrote: Trying to get the below to work in a loop: #detail.off1_street# #detail.off2_street# #detail.off3_street# #detail.off4_street#

Re: Bracket Notation

2012-03-30 Thread morgan lindley
This code runs perfectly on my CF8 machine: cfset detail = StructNew() cfset detail.off1_Street = 1 cfset detail.off2_Street = 2 cfset detail.off3_Street = 3 cfset detail.off4_Street = 4 cfoutput cfloop from=1 to=4 index=idx #detail[off#idx#_street]#br / /cfloop /cfoutput On Fri, Mar 30,

Re: CF Builder 2 Express (free edition)

2011-12-14 Thread morgan lindley
Try: Preferences - HTML - JavaScript - Typing - Auto format code block when typing closing brace Not sure if that will do it or not, but seems the likely suspect. On second look, in: Preferences - HTML - JavaScript - Formatting, you can select No Formatting in the drop-down box.

Re: arraydeleteat display issue

2011-10-12 Thread morgan lindley
ArrayDeleteAt() returns a boolean after affecting the array. The question then becomes, what do you want displayed? cfif ArrayLen(session.order_array) gt 6 cfset arrayDelete = ArrayDeleteAt(session.order_array,7) !--- do or display something here --- /cfif On Wed, Oct 12, 2011

Re: String validation HELP!!!!

2007-09-25 Thread morgan lindley
nvmd. just got it. Thanks for your help. Don't mean to hijack the thread or anything, but you wouldn't happen to be the same Kenny Kinds I worked with several years ago at CWC in St Louis, would you. Just curious, as I tried to look him(you?) up at your other site a couple of years ago, but

Re: ReReplace

2007-05-04 Thread morgan lindley
I think you want Replace(), not ReReplace(). ReReplace is trying to use a RegEx to make the replacement, Replace will do the straight text match/replace. I'm trying to replace the .jpg file extension on in a string with .gif and using the following regex. cfset LOCAL.New = 'D:\MediaStore\'

Re: How can I check this string a different way?

2007-04-30 Thread morgan lindley
Am I missing something here? Isn't the Left 2 of OL1 or OL2 'OL'? Will said that it would be OL1, OL2, in which case your example wouldn never eval to true. Will, something like this should work: cfset isOLCourse = REFindNoCase(OL[0-9]+,ListLast(getsection.section, -)) That looks for the