Re: CFParam vs. IsDefined

2010-09-02 Thread Peter Boughton
That coupled with StructKeyExists is a pain to type! Why on earth would you *type* it!? This is exactly why your IDE has Word Completion, Snippets and Templates! Str then Alt-/ completes word to StructKeyExists (press Alt-/ again to cycle through other commonly used words) ske then Ctrl-J

Re: CFParam vs. IsDefined

2010-09-02 Thread Peter Boughton
Oh, just to point out, ske and skel are custom ones I've created. They're not default commands. Shortcut keys may vary too. ~| Order the Adobe Coldfusion Anthology now!

RE: CFParam vs. IsDefined

2010-09-02 Thread Andrew Scott
This must be a CFEclipse thing as CFBuilder is CTRL-SPACE Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Peter Boughton [mailto:bought...@gmail.com] Sent: Thursday, 2 September 2010 7:01 PM To: cf-talk Subject: Re: CFParam vs. IsDefined That

Re: CFParam vs. IsDefined

2010-09-02 Thread Peter Boughton
This must be a CFEclipse thing as CFBuilder is CTRL-SPACE That's code completion. Word completion is faster (when you know what you want). These are all Eclipse things (and will exist in any other IDE worth using), so available for both CFEclipse and CFBuilder.

RE: CFParam vs. IsDefined

2010-09-02 Thread Andrew Scott
Well that's interesting then because this Alt-/ doesn't work in my CFBuilder installation. Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Peter Boughton [mailto:bought...@gmail.com] Sent: Thursday, 2 September 2010 7:57 PM To: cf-talk Subject: Re:

Re: CFParam vs. IsDefined

2010-09-02 Thread Michael Grant
I'm very interested. I just started using Aptana (coming from Homesite+) and I really really want to speed up my dev to where I was at with HS+. I'd love some more hotkey and snippet info. On Thu, Sep 2, 2010 at 5:00 AM, Peter Boughton bought...@gmail.com wrote: That coupled with

Re: CFParam vs. IsDefined

2010-09-02 Thread Peter Boughton
Hmmm, maybe they've changed the default. Goto WindowsPreferences and type keys in the filter box. That should bring the key binding panel, type word in that. Look for Word Completion option(s) and it'll list what the binding is. If it still doesn't work, check the When value - I've got one

RE: CFParam vs. IsDefined

2010-09-02 Thread Andrew Scott
Ok it works in cfscript but not in cftags syntax. Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Peter Boughton [mailto:bought...@gmail.com] Sent: Thursday, 2 September 2010 8:26 PM To: cf-talk Subject: Re: CFParam vs. IsDefined Hmmm, maybe they've

Re: CFParam vs. IsDefined

2010-09-02 Thread Rick Root
On Thu, Sep 2, 2010 at 5:00 AM, Peter Boughton bought...@gmail.com wrote: That coupled with StructKeyExists is a pain to type! Why on earth would you *type* it!? vi doesn't do code completion? lol ~| Order the Adobe

Re: CFParam vs. IsDefined

2010-09-02 Thread Steve Lichtenberg
Yes it does :-). In .virc set up aliases for anuything you want. use them in update mode not insert mode. --S ^ On Thu, Sep 2, 2010 at 8:16 AM, Rick Root rick.r...@gmail.com wrote: On Thu, Sep 2, 2010 at 5:00 AM, Peter Boughton bought...@gmail.com wrote: That coupled with

Re: Using ## vs not using ##

2010-09-02 Thread Rick Root
On Wed, Sep 1, 2010 at 12:31 PM, Dave Watts dwa...@figleaf.com wrote: cfset errors[#varName#][string] = errors[#varName#][string] bit to add here./ There will not be a significant speed increase, so don't worry about changing existing code unless you have time on your hands and it really

Re: CFParam vs. IsDefined

2010-09-02 Thread Rick Root
On Thu, Sep 2, 2010 at 8:23 AM, Steve Lichtenberg steve.lichtenb...@gmail.com wrote: Yes it does :-).  In .virc set up aliases for anuything you want.  use them in update mode not insert mode. touche' ~| Order the Adobe

Re: Using ## vs not using ##

2010-09-02 Thread Michael Grant
CFSET ERRORS[VARNAME]['STRING'] = EVALUATE(ERRORS[#VARNAME#][STRING]) bit to add here. /me vomits ~| Order the Adobe Coldfusion Anthology now!

Re: Using ## vs not using ##

2010-09-02 Thread Rick Root
evaluate() is almost always offensive :) On Thu, Sep 2, 2010 at 8:58 AM, Michael Grant mgr...@modus.bz wrote: CFSET ERRORS[VARNAME]['STRING'] = EVALUATE(ERRORS[#VARNAME#][STRING]) bit to add here. /me vomits ~|

Re: Using ## vs not using ##

2010-09-02 Thread Dave Watts
It offends me, so I say he should do it. =) Are you paying him? If so, he should definitely do it! I used to have the same opinion as you - I couldn't stand working with other people's code if it didn't meet my own standards. Now that I'm older, I think life's too short for that. Working code

Re: CFParam vs. IsDefined

2010-09-02 Thread Claude Schnéegans
Also using isDefined() is also bad as this search every single scope for your variable CFPARAM will also search for the variable exactly the same way in order to create it if it does not exist. What's the big differrence? and can potentially cause timeouts. Wow! Where do you hide your

Moving to Apache

2010-09-02 Thread Steve LaBadie
I am currently running ColdFusion MX7 on Windows 2003 running IIS. I would like to switch to Apache. 1. Can this be done without screwing things up? 2. Do I have to re-install CF and point to Apache? 3. Should I set-up a VM? I did set up a testing server to make sure

RE: Moving to Apache

2010-09-02 Thread Andrew Scott
Just run the JRun Web Connector and make the changes you need. Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Steve LaBadie [mailto:slaba...@po-box.esu.edu] Sent: Friday, 3 September 2010 12:32 AM To: cf-talk Subject: Moving to Apache I am

Re: Moving to Apache

2010-09-02 Thread Dave Watts
I am currently running ColdFusion MX7 on Windows 2003 running IIS. I would like to switch to Apache. 1.     Can this be done without screwing things up? Yes, if done carefully. If this is on the same box, you obviously won't be able to have both Apache and IIS listening to port 80, so there

Re: Using ## vs not using ##

2010-09-02 Thread Peter Boughton
just a quick test, please ignore (sorry for the noise) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive:

Re: New Coldfusion User Group in the DC Area

2010-09-02 Thread george.e...@ssa.gov george.e...@ssa.gov
The Capital Area ColdFusion User Group is now beginning to meet. Our first meeting will be Tuesday, September 14th at 6pm. ... Sandy Clark Is this replacing the MDCFUG? ~| Order the Adobe Coldfusion Anthology now!

Re: Using ## vs not using ##

2010-09-02 Thread Michael Grant
Note to all participants: This thread is not to be used for testing purposes. Thank you, Management On Thu, Sep 2, 2010 at 11:00 AM, Peter Boughton bought...@gmail.com wrote: just a quick test, please ignore (sorry for the noise)

mySQL data types - possible db bloat with text type? yes or no?

2010-09-02 Thread Michael Grant
Normally I use MSSQL but the shop I'm at uses mySQL. I've always built my db's so that the field best matches the data going into it. As an example if I was storing some text data that was max 1000 chars I would use varchar(1000) and not a blob type. I've always thought that this prevented

Is there an anchor in a URL String

2010-09-02 Thread Robert Harrison
__ Information from ESET Smart Security, version of virus signature database 5419 (20100902) __ The message was checked by ESET Smart Security. http://www.eset.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com

Re: New Coldfusion User Group in the DC Area

2010-09-02 Thread Sandra Clark
You would have to talk to Teratech about that part. I will say that this is an Approved Adobe Coldfusion User Group. On Thu, Sep 2, 2010 at 11:09 AM, george.e...@ssa.gov george.e...@ssa.gov george.e...@ssa.gov wrote: The Capital Area ColdFusion User Group is now beginning to meet. Our

Re: Is there an anchor in a URL String

2010-09-02 Thread Dave Watts
I need to know if there is an anchor in a URL string (e.g., http://mylink.cfm#thisanchor). Doing a CF dump and listing of every cgi var I know of does not give me that information. Is there any way I can tell if a URL contains an anchor? This information is not sent to the server. It's

RE: Is there an anchor in a URL String

2010-09-02 Thread Andy Matthews
I think it's because the # doesn't do anything server side. You can definitely get it with Javascript. It works like so: Assuming this link: /test.cfm#anchor This code: script type=text/javascript !-- alert(location.hash); //-- /script Outputs this: #anchor You could then pass that

Re: Moving to Apache

2010-09-02 Thread Russ Michaels
do you have some particular reason to switch to Apache? Windows is much easier to use and administer, especially if you are not used to Apache/Linux. Unless there is a specific feature of Apache you need which IIS doesn't have then you may be just creating more work and complications for

Re: Moving to Apache

2010-09-02 Thread Jesse Passwaters
File names are case sensitive with linux / apache and your application.cfm page has to start with an uppercase...Application.cfm Jesse On Sep 2, 2010 1:23 PM, Russ Michaels r...@michaels.me.uk wrote: do you have some particular reason to switch to Apache? Windows is much easier to use and

RE: Moving to Apache

2010-09-02 Thread Andy Matthews
Not trying to start an argument, but you can't much easier than adding a vhost block to the httpd.conf file in Apache. IIS on the other hand has loads of nested windows and boxes and permissions. Apache lets you do it all in one spot. andy -Original Message- From: Russ Michaels

Re: Moving to Apache

2010-09-02 Thread Dave Watts
IIS on the other hand has loads of nested windows and boxes and permissions. Apache lets you do it all in one spot. IIS lets you do it all in one spot also. You don't have to use the IIS management console unless you like the pointing and the clicking. IIS also has an API to let you automate

getting server name

2010-09-02 Thread Eric Roberts
Does anyone know if CF,r via a .NET object even, I can get the server name (not the domain or IP) to use to differentiate servers in the application.cfm? The server name is the one thing that won't change if the server get changed. Thanks! Eric

Re: getting server name

2010-09-02 Thread Michael Grant
i think this is available in the CGI scope. Do this: cfdump var=#cgi#/ On Thu, Sep 2, 2010 at 1:43 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Does anyone know if CF,r via a .NET object even, I can get the server name (not the domain or IP) to use to differentiate servers in

RE: Moving to Apache

2010-09-02 Thread Andy Matthews
Really? I didn't know that. That's cool. -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Thursday, September 02, 2010 12:33 PM To: cf-talk Subject: Re: Moving to Apache IIS on the other hand has loads of nested windows and boxes and permissions. Apache lets

RE: getting server name

2010-09-02 Thread Andy Matthews
Hah! I just implemented this same thing in our system the other day. This code snippet will return the computer's name: CreateObject(java, java.net.InetAddress).getLocalHost().getHostName() andy -Original Message- From: Eric Roberts [mailto:ow...@threeravensconsulting.com] Sent:

Re: getting server name

2010-09-02 Thread Peter Amiri
Eric, You can do this via a java object. Try this code to get the local server host name: cfset inet = CreateObject(java, java.net.InetAddress) cfset inet = inet.getLocalHost() -- Peter Amiri Founder | Alurium Hosting 949-338-3862 | pe...@alurium.com | http://www.alurium.com LinkedIn:

Re: getting server name

2010-09-02 Thread Carl Von Stetten
Nice one! 8^) Eric, You can do this via a java object. Try this code to get the local server host name: cfset inet = CreateObject(java, java.net.InetAddress) cfset inet = inet.getLocalHost() -- Peter Amiri Founder | Alurium Hosting 949-338-3862 | pe...@alurium.com | http://www.alurium.com

RE: Moving to Apache

2010-09-02 Thread Justin Scott
IIS on the other hand has loads of nested windows and boxes and permissions. Apache lets you do it all in one spot. Well, there are multiple ways of looking at it. You could say that IIS doesn't force you to memorize or search a reference for all of its specific configuration properties.

RE: Moving to Apache

2010-09-02 Thread Steve LaBadie
I didn't really want to switch, but we couldn't get WordPress 3 to work on IIS. We have to migrate our faculty website off of our UNIX box an onto the web server. Up until now faculty or someone had to know HTML in order to create web pages for them. We installed WordPress and created a bunch of

Re: Moving to Apache

2010-09-02 Thread Russ Michaels
I have wordpress 3 running on IIS7 with no problems at all, it was the easiest setup I have ever done and works perfectly. However I note you said you are running windows 2003 which is IIS6, which may be the issue as I believe wordpress requires URL rewriting to work properly. This is built in to

Is there an anchor in a URL String

2010-09-02 Thread Robert Harrison
__ Information from ESET Smart Security, version of virus signature database 5419 (20100902) __ The message was checked by ESET Smart Security. http://www.eset.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com

Re: Is there an anchor in a URL String

2010-09-02 Thread Raymond Camden
Great advertising can't be either/or.  It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged __ Information from ESET Smart Security, version of virus signature database 5419 (20100902) __ The message was checked by ESET Smart Security

Re: Is there an anchor in a URL String

2010-09-02 Thread Raymond Camden
__ Information from ESET Smart Security, version of virus signature database 5419 (20100902) __ The message was checked by ESET Smart Security. http://www.eset.com ~| Order the Adobe Coldfusion Anthology now! http

RE: Moving to Apache

2010-09-02 Thread Steve LaBadie
Russ, We tried ISAPI_WRITE_LITE from Helicon Tech. We couldn't get the Rewrite Rules to work. We also tried WordPress_URL Rewrite and that crashed the system. We just figured the only way around was to switch to Apache. I will have to see if our System Admin is willing to upgrade to IIS7.

RE: Is there an anchor in a URL String

2010-09-02 Thread Andy Matthews
, version of virus signature database 5419 (20100902) __ The message was checked by ESET Smart Security. http://www.eset.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology

RE: Is there an anchor in a URL String

2010-09-02 Thread Robert Harrison
__ Information from ESET Smart Security, version of virus signature database 5419 (20100902) __ The message was checked by ESET Smart Security. http://www.eset.com ~| Order the Adobe Coldfusion

Re: Moving to Apache

2010-09-02 Thread Russ Michaels
make sure you are using Isapi rewrite 3 and not 2 as only 3 works with apache rules make sure wordpress is giving you the Apache rules and not the IIS rules. If it is causing you that much grief, it probably will just be easier to give Apache a try. However I would recommend upgrading to windows

Need some fresh eyes on an application

2010-09-02 Thread Paul Day
Hi everyone! I have been working on a web-based SQL Server database management utility written in jQuery/ColdFusion in my spare time over the past few weeks. Anyone who is interested, please check it out at: http://www.nucomsolutions.com/dbDiscover I'm looking for folks to help me put a few

RE: Need some fresh eyes on an application

2010-09-02 Thread Justin Scott
I have been working on a web-based SQL Server database management utility written in jQuery/ColdFusion in my spare time over the past few weeks. Anyone who is interested, please check it out at: Looks like it could be interesting, do you have a sample server/user/pw we could use to check it

RE: Is there an anchor in a URL String - SOLVED

2010-09-02 Thread Robert Harrison
__ Information from ESET Smart Security, version of virus signature database 5419 (20100902) __ The message was checked by ESET Smart Security. http://www.eset.com ~| Order the Adobe Coldfusion Anthology now! http

Re: Need some fresh eyes on an application

2010-09-02 Thread Russ Michaels
I'd be happy to test it out. We currently use MyLittleAdmin, which is the only other web based MSSQL management tool and is very good , so you should use this for reference. On Thu, Sep 2, 2010 at 9:16 PM, Justin Scott jscott-li...@gravityfree.comwrote: I have been working on a web-based SQL

Calculate next Tuesday 3 weeks from date

2010-09-02 Thread Steve Sequenzia
I need a little help with a ColdFusion function. I need to calculate the date of the next Tuesday 3 weeks from the current date. I am assuming that I need to use the dateadd but I am not really sure how to figure out the day thing. Any help with this would be great. -Steve

RE: Calculate next Tuesday 3 weeks from date

2010-09-02 Thread Andrew Scott
Use the DayOfWeek(now) to get the day number, find out the difference to Tuesday and to a dateAdd for day to either go back in time. Then use the DateAdd of 3 weeks to get your result. Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Steve Sequenzia