Re: Passing arguments into base class

2015-02-06 Thread Jason Durham
imply using it as a mixin is the avenue I'd take. Jason Durham On Fri, Feb 6, 2015 at 1:23 PM, Byron Mann wrote: > > This might work, if I'm understanding. > > component name='baseClass' { > > variables.utilClass = ''; > >

SSL certificate problem with 3rd party

2014-01-16 Thread Jason Durham
x27;ve tried importing this cert into the keystore but received the same error. Can anyone provide assistance as to why CF 8.0.1 isn't happy with this certificate? Jason Durham ~| Order the Adobe Coldfusion Anthology now! h

Re: Thousand Separator ONLY

2012-06-26 Thread Jason Fisher
11,111,111,111,111,111. > > i was hoping there was an existing function that would handle this but its > looking like i am going to have to develop a custom function that handles > this as the number either handles integers OR floats but not both? > > thank

Re: Thousand Separator ONLY

2012-06-26 Thread Jason Fisher
Then try numberFormat(myNum, ",9.9") From: "Richard White" Sent: Tuesday, June 26, 2012 1:15 PM To: "cf-talk" Subject: Re: Thousand Separator ONLY thanks Jason, although this strips off all the decimals >numberForma

Re: Thousand Separator ONLY

2012-06-26 Thread Jason Fisher
numberFormat(myNum, ",9") From: "Richard White" Sent: Tuesday, June 26, 2012 12:59 PM To: "cf-talk" Subject: Re: Thousand Separator ONLY thanks for your help Robert although that didnt work as it returns lots of zeros after the decimal place. for ex

re: Installing CF10 on IIS7.5 Win7 64-bit

2012-06-13 Thread Jason Fisher
I had that happen, too. Go through Control Panel and install CGI and re-try it: * Control Panel * Turn Windows features on or off * Internet Information Services * World Wide Web Services * Application Development Features * check CGI and hit OK - Jason

Coldspring docs?

2012-06-07 Thread Jason Durham
Coldspringframework.org is down. Are the docs for 1.2 hosted somewhere that is currently accessible? I already found the 2.0 docs on SourceForge.net. Jason Durham ~| Order the Adobe Coldfusion Anthology now! http

Re: Access laptop from iPad

2012-05-20 Thread Jason Durham
BTW, you won't be able to use the exact same URL as what you provided. You'll want to set a static IP (or DHCP reservation) for the web server and use that IP for the URL. On May 20, 2012 12:50 PM, "Jason Durham" wrote: > In most cases in typical home networks, all you

Re: Access laptop from iPad

2012-05-20 Thread Jason Durham
In most cases in typical home networks, all you need to do is configure the firewall(s) on the computer acting as a web server. On May 20, 2012 12:47 PM, "Andrew Grosset" wrote: > > I have Railo, mysql etc running on my laptop which I access using the url: > http://127.0.0.1: (using a home w

re: Video Streaming Provider

2012-05-02 Thread Jason Fisher
ere. Very inexpensive and excellent service over several years now. - Jason From: "Robert Rhodes" Sent: Wednesday, May 02, 2012 12:27 PM To: "cf-talk" Subject: Video Streaming Provider My next project involves a bunch of streaming videos (mp

re: Admin System - Temp Tables? Advice?

2012-03-21 Thread Jason Fisher
Or have a 'versions' table attached to the 'page' table. Versions can have status, with a maximum of 1 'published' for any given pageID, and versions can have publicationStart and publicationEnd dates. Gives you the flexibility of rolling back to previous versions as well. Just a thought. -

ridiculously cheap CFML conference next month

2012-01-19 Thread Jason Blum
to make sure folks hadn't missed this one... Thanks! -Jason Blum @phenotypical ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.ho

Re: How to search for all occurences of a string in a text?

2011-11-18 Thread Jason Fisher
Start by simplifying the regex: (It just gets every image reference inside double-quotes.) Then use REMatchNoCase() to get an array of all matches: (REFindNoCase() only gets one match, so it only works if you put it inside a conditional loop.) Then loop over the array and get the last "li

Re: Week Weirdness

2011-10-04 Thread Jason Fisher
I know the various JVM versions have had issues with DST settings in the past (like 10 years ago); do your 2 servers have the same JRE configured for CF? On 10/4/2011 6:13 PM, Edward Chanter wrote: > Thinking about this on a more technical level, does anyone know where CF > ultimately derives

Re: Special Characters

2011-09-28 Thread Jason Congerton
Hi Thanks for your reply, I am investigating your thoughts now, my definition of special characters are accents, cedil's, grave's etc. The characters display correctly on the web page being served, but when i put them into a csv doc I get the glyph problem. The database is sql set at Latin1_

Special Characters

2011-09-28 Thread Jason Congerton
Hi I have to set up a CSV file to feed a product called Lengow. The file has to be encoded in UTF-8. Some of the site will be sending in french writing which has a lot of accents cedil's etc. The site uses wysiwyg text editors, and looking at the source code the special characters are not in

Re: 20USD/Hour Seriously?

2011-09-23 Thread Jason Fisher
Morality, yes, as well as the experience of the person doing the hiring / paying: knowing when that extra 100 hours is BS ... That being said, back when I worked for a custom web development house, we quoted jobs by the project but we often got asked what the underlying hourly rate was. My b

Re: matching a whole word

2011-08-17 Thread Jason Fisher
Yes, indeed. You want something like this: keyword = "star"; myString = "The dog sniffed at the starfish and growled"; regEx = "\b" & keyword & "\b"; if (reFindNoCase(regEx, myString)) { writeOutput("found it"); } else { writeOutput("did not find it"); } On 8/17/2011 5:20 PM, Nathan C

RE: Using excel NumberFormat in coldfusion

2011-08-09 Thread Jason Fisher
"##,0" doesn't work? -Original Message- From: fun and learning Sent: Tuesday, August 09, 2011 3:18 PM To: cf-talk Subject: Using excel NumberFormat in coldfusion Hi All - As suggested by a couple of coldfusion developers a weeks ago, I am using xml to generate excel sheets from

RE: Label Printer

2011-08-03 Thread Jason Fisher
Dymo LabelWriter comes with ActiveX component and code sample that make it easy to do. -Original Message- From: Chad Gray Sent: Wednesday, August 03, 2011 11:50 AM To: cf-talk Subject: Label Printer I have an inventory website and it would be nice to be able to print barcodes and

Re: Cheap CF9 Hosting

2011-07-31 Thread Jason Durham
I've used them. No complaints. On Jul 31, 2011 9:23 PM, "Chad Baloga" wrote: > > I am looking for a cheap place to host a site with CF9. This is just a site I am making for my family. Has anyone has any problems with http://hostek.com? Thanks > >

Re: Cheap CF9 Hosting

2011-07-31 Thread Jason Durham
I've used them. No complaints. On Jul 31, 2011 9:23 PM, "Chad Baloga" wrote: > > I am looking for a cheap place to host a site with CF9. This is just a site I am making for my family. Has anyone has any problems with http://hostek.com? Thanks > >

Re: Email Management Software

2011-07-21 Thread Jason Fisher
If you're doing large volumes, I recommend ExactTarget. CF can't actually manage things like bounce-backs, since that's all on the email server-side. You could write all those hooks yourself, if your email server allows you to embed applications, but it's more efficient to let the pro's hand

re: remove high ASCII chars from text

2011-07-11 Thread Jason Fisher
Try this (not tested): Text = reReplace(Text, "[^\x20-\x7E]", "", "all"); From: "Matthew Friedman" Sent: Monday, July 11, 2011 12:48 PM To: "cf-talk" Subject: remove high ASCII chars from text Is there a simple way to remove "bad" ascii chars form a t

Re: Tutorials using CF Builder 2

2011-06-29 Thread Jason Durham
My guess is they sell waaay more DW licenses. Jason Durham On Wed, Jun 29, 2011 at 12:43 PM, Rick Faircloth wrote: > > I never did respond to you Wil... sorry. > > I don't need to know "how" to use CFB 2, > but would like some of the toturials from &g

Re: RE: loop timing out

2011-06-28 Thread Jason Durham
Any chance the looping couple be done in a stored proc? On Jun 28, 2011 10:20 AM, "Rick Faircloth" wrote: > > I've never had any problem with cfthread and request timeout. > Now, realize, that I don't think I've ever used request timeout > in conjunction with cfthread. The only time I've used cft

re: Email Addresses with Subdomain causes CFMAIL to fail?

2011-06-24 Thread Jason Fisher
Works fine for me. Goes out through the mail server and then I immediately get an "Undeliverable" message, as expected. CFMAIL didn't seem to mind at all, whether that was the only address in the 'to' attribute or if it was one of several. From: "Jeff

Re: CF vs. Java Web Developer

2011-06-23 Thread Jason Durham
ctions for me. As much as I wanted to keep my door closed, my headphones on and my keyboard rattling... the bosses frequently couldn't resist interrupting me for something that was ultimately unimportant. Jason Durham On Thu, Jun 23, 2011 at 10:40 AM, John M Bliss wrote: > > A

Re: CF vs. Java Web Developer

2011-06-20 Thread Jason Durham
u haven't spent much time with Java. Pick up a book or two and see if you like it. Jason Durham ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Arc

Re: CF vs. Java Web Developer

2011-06-20 Thread Jason Durham
Depends on experience. In general, a Java developer could be more-easily trained in CF. Jason Durham On Mon, Jun 20, 2011 at 12:18 PM, scott bloodworth < sbloodwo...@rinovelty.com> wrote: > > Have heard that these two skill sets work hand in hand. One can easily >

Re: CDN and Coldfusion

2011-06-15 Thread Jason Fisher
In that situation specifically I cannot recommend Amazon S3 + CloudFront more. It's been truly outstanding for us. We set up separate S3 "buckets" for each of our CMS websites and CloudFront takes care of the edge distribution. As someone else has already noted, you can mount an S3 bucket a

Re: CDN and Coldfusion

2011-06-15 Thread Jason Fisher
+1 for CloudFront on Amazon S3. From: "Paul Alkema" Sent: Wednesday, June 15, 2011 10:50 AM To: "cf-talk" Subject: Re: CDN and Coldfusion Oh yeah! Something else just mentioning is that if your not hooked on Akamai as your CDN, I've found Amazon Cloud

Re: email from variable?

2011-06-14 Thread Jason Durham
If the user has entered their email address in a form, there are two potential ways to get it. If the form has method of "POST", the email address will be in the FORM scope of the action page. If the form has a method of "GET", the email address will be in the URL scope. J

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: var slidePosition = 1; $(document).ready(function() { playTrack();

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: var slidePosition = 0; $(document).ready(function() { playTrack(slidePosition);

re: Why would this code return this error?

2011-06-10 Thread Jason Fisher
imagesList = arguments.images, which is a string. The parameter for ValueList() has to be a query.column name and the query has to be available in the scope of the call to ValueList(). From: "Rick Faircloth" Sent: Friday, June 10, 2011 3:10 PM To: "cf

re: CFQuery Select and single quotes in string

2011-06-10 Thread Jason Fisher
Yes, and if this is form input, you should be using cfqueryparam anyway. Please see the news for Sony's latest data hack, which was simple web-based SQL injection. cfsqltype will need to match column datatype in each case. SELECT Formation, Play, BallCarrier, YardsGained, Result FROM PlaysCa

Re: cf9 query not returning identityCol

2011-06-04 Thread Jason Durham
http://blog.bittersweetryan.com/2011/01/getting-generated-key-from-query-in.html. On Jun 4, 2011 6:40 PM, "Jason Durham" wrote: > It works on SQL 2008. > On Jun 4, 2011 6:35 PM, "Robert Rhodes" wrote: >> >> That's for MYSQL. I am using SQL Server 2

Re: cf9 query not returning identityCol

2011-06-04 Thread Jason Durham
It works on SQL 2008. On Jun 4, 2011 6:35 PM, "Robert Rhodes" wrote: > > That's for MYSQL. I am using SQL Server 2005. The docs say "identityCol" > > But I will give it a try.. > > Nope., didn't work. Thanks, though. :) > > On Sat, Jun

Re: cf9 query not returning identityCol

2011-06-04 Thread Jason Durham
It's theResult.generatedKey On Jun 4, 2011 4:46 PM, "Robert Rhodes" wrote: > > I am frustrated. :( > > In the cf9 docs, it says that cfquery is supposed to return, in the result > variable, the identity column value of the inserted record. However it is > not working from me. > > Would one of you

re: Coldfusion 9 and jQuery

2011-05-26 Thread Jason Fisher
jQuery is all client-side, so it has nothing to do with the ColdFusion server at all. The files just have to be part of the HTML that your users use. You just put the *.js files (the core and any plug-ins) in a directory where your website can include them, and then you embed them in your us

Re: down?

2011-05-25 Thread Jason Durham
How many people just freaked out because they thought one of *their own* websites were down? Jason Durham On Wed, May 25, 2011 at 2:27 PM, Michael Muller wrote: > > Is the website down? > > MM > > > > Michael Muller > cell (413) 320-5336 > http://Montag

Re: Recordcount not working????

2011-05-19 Thread Jason Fisher
There is no difference: we successfully query SQL Server views all the time in several of our apps. Have you checked the permissions? Could it be that the View doesn't allow the CF service user to SELECT data? From: "Phillip Vector" Sent: Thursday,

re:

2011-05-18 Thread Jason Fisher
Sounds like there's something else going on that would cause a blank at the beginning, if that's what you're seeing, but the code you've got there will also *always* append an extra page break after every record, including the first one. Try this instead: ... query output stuff ... ... en

Re: cgi.host_name Security Exploit

2011-05-13 Thread Jason Durham
Dave pretty much summed it up. Anybody who knows what a HOSTS file is, knows how to mask the server_name. :) Jason Durham On Fri, May 13, 2011 at 2:28 PM, Dave Watts wrote: > > > I have recently discovered a security flaw that I have reported to the > Adobe > > team regard

Re: Ack! CF9 pages not serving pages on IIS7.5 (404.3 error)

2011-05-11 Thread Jason Durham
Run wsconfig again (add/remove sites) On May 11, 2011 2:00 PM, "Robert Rhodes" wrote: > > Ok, I downloaded cf 9 and installed it on WIn2K8 R2 Web Server Edition.as a > standalone installation. > > I then ran the 9.01 updater and he 9.01 hotfix. > > Finally, I ran the webserver config tool and sel

Re: Coldfusion 9 on Windows 2008 R2 Server Web Server Edition?

2011-05-11 Thread Jason Durham
It seemed awkward for me at first... but now I dislike working on IIS6. :) Jason Durham On Wed, May 11, 2011 at 10:09 AM, Russ Michaels wrote: > > it takes some getting used to that's for sure, but once you do then you > will > like it :-) > > On Wed, May 11, 2011 at

Re: (ot) Shameful

2011-05-11 Thread Jason Durham
, May 11, 2011 at 2:26 PM, Jason Durham wrote: > > > > > I've had problems yesterday and today loading the AIR demo. I tried FF4, > > Chrome 11 and IE8 on two different internet connections. The modal opens > > and the player appears but the movie never starts. I

Re: (ot) Shameful

2011-05-11 Thread Jason Durham
dark overlay on it that makes it very difficult to read. I haven't tried any others. Me.setAttire("flamesuit"); Jason Durham On Tue, May 10, 2011 at 10:55 PM, Maureen wrote: > > Sounds like short between the chair and keyboard. > > On Tue, May 10, 2011 a

Re: Form Field Validation

2011-05-07 Thread Jason Fisher
If startVal, endVal, and lengthVal represent your values in JS [like var startVal = parseInt(myForm.start.value); ], then the following should work: if (startVal % 3 != 0) { alert("Start must be a multiple of 3."); return false; } else if (endVal % 3 != 0) { alert("End must be a m

Re: Replace cfhttp with jquery.post()

2011-05-06 Thread Jason Fisher
Not sure if it's just and oversight, but you've got "address" in the CFHTTP version and "address1" in the jQ version. As for the error, don't you get the response struct in Firebug if you click on the URL? On 5/6/2011 6:11 PM, David Mineer Jr wrote: > I am trying to replace this: > > http://l

Re: SOT: Select at least one select

2011-05-02 Thread Jason Fisher
(in JavaScript, called on the form tag: ) function validateMyForm(frm) { var selectTest = false; if (frm.select1.selectedIndex > 0) { var selectTest = true; } else if (frm.select2.selectedIndex > 0) { var selectTest = true; } else if if (!selectTest) { alert("You must selec

Re: Problem Using QueryNew

2011-04-23 Thread Jason Fisher
armax-in-sql-2005.aspx On 4/23/2011 9:56 PM, Jenny Gavin-Wear wrote: > Hi Jason, > > Many thanks for your reply, it would be great if this will work on SQL 2000. > > I tried testing this: > > ALTER TABLE testing > ALTER COLUMN testing nvarchar(MAX); > > Server: Msg 17

Re: Problem Using QueryNew

2011-04-23 Thread Jason Fisher
Change all your ntext to nvarchar(MAX), if you can. And run an UPDATE to free up space after the conversion, too ;) ALTER TABLE myTable ALTER COLUMN myNText nvarchar(MAX); UPDATE myTable SET myNText = myNText; That lets SQL keep the first set of chars locally, and only points to the LOB when

Re: OT question - is this real or phishing?

2011-04-20 Thread Jason Fisher
We get them all the time for several B-to-B domains that are popular in China. Just DELETE and move on. It's spam. On 4/20/2011 6:37 PM, Casey Dougall wrote: > On Wed, Apr 20, 2011 at 6:27 PM, Wil Genovese wrote: > >> Has anyone received emails like this for any of their domains? I'm trying >>

re: display dynamic algorithm

2011-04-14 Thread Jason Fisher
To get a string to run as code, you have to use Evaluate(), and usually with an extra DE() thrown in for good measure: try this: #numberFormat(evaluate(de(result2)))# From: "Keith McGee" Sent: Thursday, April 14, 2011 10:43 AM To: "cf-talk" Subject:

RE: Referencing Variables

2011-04-07 Thread Jason Fisher
Returntype can simply be "datasource", in your example, which specifies the type without having to worry about the path, so that may be an option: ... From: "Hunsaker, Michael Scott" Sent: Thursday, April 07, 2011 10:30 AM To: "cf-talk" Subject: RE:

re: Storing Arrays or Structures in a database

2011-04-06 Thread Jason Fisher
Serialize with WDDX or JSON, I would say. Those are complex variable types which need to be serialized into strings before insertion into a DB. From: "Adam Bourg" Sent: Wednesday, April 06, 2011 1:49 PM To: "cf-talk" Subject: Storing Arrays or Structu

re: replacelist question

2011-04-05 Thread Jason Fisher
Per the documentation, the match is case-sensitive. From: "Jenny Gavin-Wear" Sent: Tuesday, April 05, 2011 12:47 PM To: "cf-talk" Subject: replacelist question Hi all, I'm using the following to strip unwanted words from a phrase:- results are:- B

Re: Including multiple variables within a database response

2011-04-02 Thread Jason Fisher
Can use replaceList() instead. replaceList(mystring, "DECISIONMAKER,MYNAME", "Bob,Scott") On 4/2/2011 12:57 PM, Scott Williams wrote: > LOL -- I was afraid of that! It reminds me of the portrait of Stephen Colbert > standing in front of a portrait of Stephen Colbert standing in front of a > po

RE: Session Variable question

2011-04-01 Thread Jason Fisher
Like Dave said, CF / J2EE already are using cookies, but there's a difference between cookies held only in the browser (expires when browser closes) and cookies that are written to the user's HDD. If you're using session or client vars, then you're already using 1 of these, and probably both.

Re: Session Variable question

2011-04-01 Thread Jason Fisher
sure if that will work if he can't use cookies. :) On 4/1/2011 1:28 PM, Jason Fisher wrote: > In your Application.cfc or somewhere global like that (after session is > created), drop this in: > > > > > > > > > > By not setting an 'expires' va

re: Session Variable question

2011-04-01 Thread Jason Fisher
In your Application.cfc or somewhere global like that (after session is created), drop this in: By not setting an 'expires' value in CFCOOKIE, this will ensure that the session timeout = browser close. From: "CraigSell" Sent: Friday, April 01

Re: SOT: SQL CTE update

2011-03-29 Thread Jason Durham
e (3) The "depth" is backwards. The depth is not a fixed column. Like I said... the solution hit me. The entire site's navigation is generated with the correct depth onAppStart(). I'll just cache it via a temp table. Jason Durham On Tue, Mar 29, 2011 at 2:14 PM, Dan G. Switz

Re: SOT: SQL CTE update

2011-03-29 Thread Jason Durham
Nevermind... all I could see were nails. I'll create a temp table for the regular navigation and use that table for breadcrumbs (the depth is accurately created on that query). Jason Durham On Tue, Mar 29, 2011 at 1:44 PM, Jason Durham wrote: > I apologize if this is an inappropria

SOT: SQL CTE update

2011-03-29 Thread Jason Durham
END; CLOSE BC_Cursor; DEALLOCATE BC_Cursor; Thanks in advance. Jason Durham ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://ww

re: OWASP ColdFusion security links

2011-03-23 Thread Jason Fisher
Great stuff on there; thanks for the link, Dave. From: "Dave Watts" Sent: Wednesday, March 23, 2011 3:17 PM To: "cf-talk" Subject: OWASP ColdFusion security links This looks like a pretty good set of CF security links: http://www.owasp.org/index.php/Co

re: Persisting query data across cflocation

2011-03-23 Thread Jason Fisher
Yes, storing in a Session or Client struct is your only option. Earlier versions of CF would lose sessions set before a CFLOCATION as well, so if you're on CFMX or something, use JavaScript location.href = "C.cfm" for the redirect to get around that.

Re: Issue with new CF Update

2011-03-21 Thread Jason Nokes
Yep, it wasn't a dash on the tech post. Changed to a dash instead and it worked on one production server. I'll try more tomorrow, thanks. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Antho

Re: Issue with new CF Update

2011-03-21 Thread Jason Nokes
The ? is not in there. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:34

Re: Issue with new CF Update

2011-03-21 Thread Jason Nokes
Here is the error starting from command prompt: Exception in thread "main" java.lang.NoClassDefFoundError: Dcoldfusion/se rotectfixation=false Caused by: java.lang.ClassNotFoundException: Dcoldfusion.session.protectf =false at java.net.URLClassLoader$1.run(URLClassLoader.java:200)

Re: ColdFusion 9 Enterprise Features

2011-03-21 Thread Jason Fisher
Looks like Excel support is Enterprise-only: http://www.adobe.com/products/coldfusion/pdfs/cf9_feature_comparison_matrix_ ue.pdf From: "Richard White" Sent: Monday, March 21, 2011 8:20 AM To: "cf-talk" Subject: Re: ColdFusion 9 Enterprise Features t

Re: Converting Boolean in the query

2011-03-19 Thread Jason Fisher
Use a That 'attachment' setting should force the browser to give the user the Open / Save dialog. >Works a treat thank you - but now I have a new issue if anyone can help >please. The CSV file opens in the browser rather than comes up for download >- I suspect this is a browser issue rather t

Re: Issue with new CF Update

2011-03-18 Thread Jason Nokes
When I start from command line it says "A service specific error has occurred: 2". I'm doing net start of the Windows service, not sure if there is another way to start via cmd. Our JVM has evolved over time. Not sure if it started in 32-bit or 64-bit. Here are Arguments to VM: java.args=-ser

Re: Issue with new CF Update

2011-03-18 Thread Jason Nokes
I successfully deployed the fixed hotfix (http://www.adobe.com/support/security/bulletins/apsb11-04.html) on both of our development servers, but cannot get it deployed to our production servers. When I add "–Dcoldfusion.session.protectfixation=false" to the JVM arguments CF service will not

re: Do people still name their UPDATE, INSERT & DELETE queries?

2011-03-15 Thread Jason Fisher
I do not and never have. Not against it, but just never saw the need. From: "Dain Anderson" Sent: Tuesday, March 15, 2011 10:27 AM To: "cf-talk" Subject: Do people still name their UPDATE, INSERT & DELETE queries? I may have missed conversation of thi

RE: ColdFusion License and Builder

2011-03-10 Thread Jason Fisher
Dev and Hot Spare are 2 different things. You can always install full Enterprise on any server in Dev mode for free, and that has a 2 IP limit. Hot spare is a licensing change (came in 8.0.1, iirc) that allows a 'dark' server to have a full installation re-using your production license, but

RE: CFC arguments, passing large strings

2011-03-04 Thread Jason Fisher
in structure, then it would be passed by reference. Wouldn't this alleviate the memory usage issue? Brook -Original Message- From: Jason Fisher [mailto:ja...@wanax.com] Sent: March-04-11 10:24 AM To: cf-talk Subject: RE: CFC arguments, passing large strings Oh, well, if it's a sin

RE: CFC arguments, passing large strings

2011-03-04 Thread Jason Fisher
I can't do that... Brook -Original Message- From: Jason Fisher [mailto:ja...@wanax.com] Sent: March-04-11 9:56 AM To: cf-talk Subject: re: CFC arguments, passing large strings My recommendation would be to initialize the CFC with the string as an initial argument, then call the dif

re: CFC arguments, passing large strings

2011-03-04 Thread Jason Fisher
My recommendation would be to initialize the CFC with the string as an initial argument, then call the different iterative methods without sending the string over and over: just modify the variable within the CFC after the init. Ex:

re: DaysInMonth issue

2011-03-01 Thread Jason Fisher
Nope, when I do #daysInMonth(createDate(2010, 2, 1))# it returns '28' correctly. You would get '31' for #daysInMonth(createDate(2010, 1, 2))#, though, I suppose. From: "Jeff Epstein" Sent: Tuesday, March 01, 2011 11:13 AM To: "cf-talk" Subject: Da

RE: I think I'm confused...

2011-02-24 Thread Jason Fisher
One solution is to have a table of sub-domains that refer to the main application config table: lookup "domain.com" or "blog.domain.com" or "www.domain.com" and find the parent config record for "www.domain.com". In that case, you can then add "dev.domain.com" to the sub-domain table, but yo

Re: I think I'm confused...

2011-02-23 Thread Jason Durham
Run Notepad.exe as Administrator Open C:\windows\system32\drivers\etc\hosts (no file extension) Add "127.0.0.1 www.mydomain.com" to the last line Open web server and configure to route by hostname "www.mydomain.com" Windows (by default) looks to your hosts file for name resolution before checki

Re: Feedback on this approach to "many sites, one codebase" (MSOC)

2011-02-23 Thread Jason Fisher
Yes, I used this method for a long time by putting code right into the CF codebase. I used a different datasource for the DB updates, one that allowed MODIFY / ALTER / CREATE, and then had the code test against existing DB structures to decide which changes needed to be made along with that s

RE: Feedback on this approach to "many sites, one codebase" (MSOC)

2011-02-23 Thread Jason Fisher
The big caveat I will give about have multiple databases with multi-tenant code is that any change to the shared code has to be reflected in every single database simultaneously. And that's a challenge and a half. From: "Rick Faircloth" Sent: Tuesday,

Re: Inline structure notation as argument fails

2011-02-18 Thread Jason Durham
I'm using 9,0,1,274733. Jason Durham On Wed, Feb 16, 2011 at 5:43 PM, Sean Corfield wrote: > > CF9 or CF9.0.1? ISTR a bug in this area that got fixed sometime along > the way...? > > On Wed, Feb 16, 2011 at 1:05 PM, Jason Durham wrote: > > > > I'm re-wri

Re: Feedback on this approach to "many sites, one codebase" (MSOC)

2011-02-17 Thread Jason Fisher
+1 to databasing all of it ... if you've got a system where these things change a lot, particularly new domains that might impact the Application.cfc, then definitely push the config to the database. As was mentioned before, you can handle redirects there as well: if domain.com is found in t

Re: Feedback on this approach to "many sites, one codebase" (MSOC)

2011-02-17 Thread Jason Fisher
If you're using shared server space, though, no need to spend money on a bunch of separate sites if they all need to use the same codebase. Just point them all the same IP, which I would do even if they're all on separate sites but the same server, but then I get to really have all the code i

RE: Feedback on this approach to "many sites, one codebase" (MSOC)

2011-02-17 Thread Jason Fisher
I usually use CFSWITCH and assign my own app names, which allows me to use the built-in list nature of CFCASE values: etc etc ... that way my onApplicationStart is basically mapping 1-to-1 with my application config table, but I can throw as many domain var

re: Feedback on this approach to "many sites, one codebase" (MSOC)

2011-02-17 Thread Jason Fisher
Yeah, that works just fine, Rick. Have used variations of that approach for quite a few years, both with and without a 'framework' in place, and in any case that code sits quite well in the Application.cfc as you've outlined. From: "Rick Faircloth" S

Re: SELECT - Option selected

2011-02-17 Thread Jason Fisher
Same. As of CF8 I use CFFORM sometimes, but only for the built-in text editor in CFTEXTAREA ... easier than wiring up tinyMCE or ckEditor, but I don't use it for validation, I use a simple JS library for that. From: "Brian Cain" Sent: Thursday, Februa

Inline structure notation as argument fails

2011-02-16 Thread Jason Durham
e EVENT is undefined". http://coldbox.pastebin.com/CGRVf25z By moving the structure to its own variable, the code executes without error. Is this expected behavior? Jason Durham ~| Order the Adobe Coldfusion Anthology now! ht

Re: Issue with new CF Update

2011-02-11 Thread Jason Nokes
> > I installed the CF901 (APSB11-04) hotfix on our development and now > we are having problems when trying to access different > > applications in the same browser at the same time.  Each application > wants to use its own CFID and CFTOKEN, but when you > > log into one app which is app name "

Re: Am I looking for a shopping cart? Or just SQL design pattern?

2011-02-08 Thread Jason Fill
Dave, eCommerce sites can be a bear to tackle as the requirements seem to always grow. I have used SiteDirector from QuillDesign (http://quilldesign.com) for several sites and it is a great affordable application that can be fully customized. I would imagine for the time it would take to fix

Singleton & var scoping

2011-02-08 Thread Jason Fill
I know that var scoping is paramount with CFC development, however, I do have a question in regards to var scoping when the CFC is not going to be a singleton and the impact that might have. Please consider the following simplified example: In th

RE: Charge for meetings

2011-02-07 Thread Jason Fisher
+1 to 15-minute increments. As an employee, tracking at this level is annoying, but as an independent contractor, it's crucial. Very easy to get nickel-and-dime'd to pieces, but this way you at least get compensated for it. From: "Mark A. Kruger" Se

Re: Charge for meetings

2011-02-05 Thread Jason Durham
I agree with Brian Cane. Jason Durham On Sat, Feb 5, 2011 at 4:37 PM, Brian Cain wrote: > > I follow the same basic rule. No charge on the initial consult, but hourly > after that. It helps force the client to prepare and think through why they > really want. > > Sent fro

Re: Charge for meetings

2011-02-05 Thread Jason Fisher
Completely agree. Once into a project, all the project time is client time; bill accordingly. On 2/5/2011 5:37 PM, Brian Cain wrote: > I follow the same basic rule. No charge on the initial consult, but hourly > after that. It helps force the client to prepare and think through why they > r

re: Math weirdness

2011-02-03 Thread Jason Fisher
Whoa, creepy. That is certainly very odd. From: "Jen McVicker" Sent: Thursday, February 03, 2011 3:57 PM To: "cf-talk" Subject: Math weirdness OK, a coworker sent this over to me and I am puzzled: number1 (12.5 * 1.1): #number1# number2

Re: CFImage at 300dpi

2011-02-03 Thread Jason Fisher
Pretty sure that DPI is not an accessible via CFIMAGE. From: "Claude Schnéegans" Sent: Thursday, February 03, 2011 3:22 PM To: "cf-talk" Subject: Re: CFImage at 300dpi >>But all that still leaves us with the question of how to create a downloadable ima

  1   2   3   4   5   6   7   8   9   10   >