RE: Using UDF's from within a CFC

2008-08-06 Thread sstwebworks
Adrian, that got it working.. Thanks everyone !!! Dump APPLICATION and see if UDFLib really is in the scope. If it is, check CapFirst is present also. If it's not, restart the application with OnApplicationStart() in OnRequest in Application.cfc. Adrian -Original Message- From: [EMAIL P

Re: Using UDF's from within a CFC

2008-08-06 Thread sstwebworks
So, I've added the library to the application scope as suggested, when I run this piece of code, "#application.udfLIB.CapFirst(dept)#" I get error stating "Element UDFLib is undefined in a Java object of type class [Ljava.lang.string]" The CFC file itself appears in the Execution Time table in

Using UDF's from within a CFC

2008-08-05 Thread sstwebworks
Hey all, I've got a question that I can't seem to find a straight answer for... Here's the scenario: I have an application that has cfincludes that call UDFs. It also calls function pages as includes. I've been given the task of refactoring this app, so that it makes all of the UDF and functio

Re: Installation of CF 8 (developer edition) is not working

2008-08-05 Thread sstwebworks
No you don't. It should work with the built in webserver for development. You can try a couple of things 1) http://127.0.0.1:8500/cfide/administrator/index.cfm 2) Run IPConfig from the command line. Find out what the IP address is for the machine that you're installing on, and use that IP instea

RE: Installation of CF 8 (developer edition) is not working

2008-08-04 Thread sstwebworks
Not if you're using the built in cf webserver (note: It's for development only, the built in webserver is no where near robust enough for production) -- Scott Stewart ColdFusion Developer http://www.sstwebworks.com/blog -- Original message from "Dave Francis" <[EMAIL PROTECTED]>: -

Re: Installation of CF 8 (developer edition) is not working

2008-08-04 Thread sstwebworks
Just for the sake of argument, has anyone tried http://127.0.0.1:8500/cfide/administrator/index.cfm (or 8300)? -- Scott Stewart ColdFusion Developer http://www.sstwebworks.com/blog -- Original message from Tom Chiverton <[EMAIL PROTECTED]>: -- > On Monday 04 Aug 2008

Re: Checking if a date is within a date range

2008-08-01 Thread sstwebworks
It does (MSSQLServer 2000) I think I've got it handled this way: /** * Returns True if the date provided in the first argument lies between the two dates in the second and third arguments. * * @param dateObj CF */ function IsDateBetween(dateObj, dateCompared1, dateCompared2){ ret

Checking if a date is within a date range

2008-08-01 Thread sstwebworks
Hey all. I've got a fiscal year that runs from July of a year to June of the next (July 2008 to July 2009). In the body of the application that I'm runnng I have a list of categories that will change when the fiscal year changes. I need to find out if now() falls in the current fiscal year and

RE: Sybase 10

2008-07-07 Thread sstwebworks
ColdFusion MX has a Sybase driver, however if it's a new verison of Sybase (haven't done anything with it in a few years), there should be a new JDBC driver for it, you can point to the new driver in the advanced--> connection string properties when you set up the datasource. -- Orig

Re: Dreamweaver error

2008-06-30 Thread sstwebworks
Thank you sir :) sas -- Original message from "Massimo Foti" <[EMAIL PROTECTED]>: -- > > Ok, this has been asked about a thousand times, but I'll ask again. > > There's a setting in Dreamweaver CS3, where you can prevent Dreamweaver > > from recursing cfincludes, this

Dreamweaver error

2008-06-30 Thread sstwebworks
Ok, this has been asked about a thousand times, but I'll ask again. There's a setting in Dreamweaver CS3, where you can prevent Dreamweaver from recursing cfincludes, this is realy important when using the older Fusebox models... Does anyone remember what this setting is? Thanks sas