RE: Using try/catch all over the place a good thing?

2005-10-19 Thread Andrew Scott
You could also do this..

cftry
  cfcatch type=database
   Catch database error
   cfabort if you need to
  /cfcatch
  cfcatch type=something else
   !--- do something else ---
  /cfcatch
/cftry



Regards
Andrew Scott
Analyst Programmer

CMS Transport Systems
Level 2/33 Bank Street
South Melbourne, Victoria, 3205

Phone: 03 9699 7988  -  Fax: 03 9699 7976

Quote:
I gather, young man, that you wish to be a Member of Parliament. The first
lesson that you must learn is, when I call for statistics about the rate of
infant mortality, what I want is proof that fewer babies died when I was
Prime Minister than when anyone else was Prime Minister. That is a political
statistic. - Sir Winston Leonard Spencer Churchill

--
-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 19 October 2005 1:36 PM
To: CF-Talk
Subject: RE: Using try/catch all over the place a good thing?

heh Bad Idea(tm) I like that


 1. Your code has errors.
There are plenty of cases where you want no indication of an error to be
shown to a user (which is exactly what a site wide error handler would
indicate), especially when the error involves uploading foreign files to
your server or your database choking on the info they tried to pass to it.
There are of course better ways to deal with both but they aren't guaranteed
to stop any errors from being displayed like an empty cfcatch.

 2. Your user is giving your code input that you didn't anticipate.
See above

 3. There is an external problems, like a database being unavailable.
I doubt that skipping over an error or two, for whatever reason, would be
your biggest problem if there was no database available to your application

 There are cases where a try/catch block is
 warranted, so long as it's used properly

What is the proper use and does it exclude catching errors that might be
thrown by a cffile or cfquery?

As for wrapping cftry/catch around EVERYTHING, I missed that part. I'm not
sure how big of a performance hit that would be but it would undoubtedly be
one. Not to mention it might tend to make a lazy CF'r out of ya ;)

...:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com


-Original Message-
From: Justin D. Scott [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 18, 2005 10:51 PM
To: CF-Talk
Subject: RE: Using try/catch all over the place a good thing?

 I'm wrapping some cftry/catchs around my cffiles
 and cfquerys. It works pretty sweet if I use
 just an empty catch. 

Hi Will, what is sweet about it, exactly?  If your code is generating an
error, it means one of several things:


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.12.2/140 - Release Date: 10/18/2005
 





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221444
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Cross - Site Scripting

2005-10-19 Thread Hugo Ahlenius
Or one could use something like BBCode.


--
Hugo Ahlenius

-
Hugo Ahlenius  E-Mail: [EMAIL PROTECTED]
Project OfficerPhone:  +46 8 412 1427
UNEP GRID-Arendal  Fax:+46 8 723 0348
Stockholm Office   Mobile: +46 733 467111
   WWW:   http://www.grida.no
   Skype:callto:fraxxinus
  PLEASE NOTE: NEW PHONE AND FAX NUMBERS FROM SEPT 1ST 2005
- 







 

| -Original Message-
| From: Joe Rinehart [mailto:[EMAIL PROTECTED]
| Sent: Tuesday, October 18, 2005 19:44
| To: CF-Talk
| Subject: Re: Cross - Site Scripting
| 
| Right - in that case, I'd htmlEditFormat() then reverse in the things 
| I'd want to allow.  The old firewall routine of default deny vs.
| default allow.

###

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.f-secure.com/

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221445
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Using cfinclude with component

2005-10-19 Thread James Holmes
Only extend one with the other if that makes sense for the object
model; it should be an is a relationship not a has a relationship.
E.g. if you are including a contact details object in a person
object, that's a has a relationship and doing it via extension is
inappropriate. In that case use object composition instead,
instantiating one object inside another, in the example above making
the contact details object part of the person object.

Some references:

http://www.macromedia.com/devnet/coldfusion/articles/supsub.html
http://cfdj.sys-con.com/read/41619.htm


On 10/19/05, Michel Deloux [EMAIL PROTECTED] wrote:
 YE... Extends!!! Great...

 Cheers

 MD
 2005/10/18, newsight [EMAIL PROTECTED]:
  Use instead of including a cfc into a cfc the extends param.
  Than you can use all the functions of the other cfc.

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221446
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Consuming web services involving complex parameters

2005-10-19 Thread Garry Viner
Hi Larry

Thanks so much for your response. Glad to know someone else had as much trouble 
as me. Anyway, I'm going to go through that and try to make some sense of it. 
However, the link you posted to the formatted docs

http://hcc.musc.edu/research/shared_resources/xml_complex_types_to_cf_structure_notes

does not work - it says the page is not available.

Thanks again, and I'll let you know if I get the damn thing working.

Garry


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221447
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: tmt_img java error, anyone have any ideas?

2005-10-19 Thread Massimo Foti
 Massimo...Andyhave either of you looked into the JVM args I posted
last
 week?

Thanks Bryan. Unfortunately I don't have access to an headless system, so I
have no way to test it out.


Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com




~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221448
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: tmt_img java error, anyone have any ideas?

2005-10-19 Thread Massimo Foti
 Massimo...

 I saw your post about modifying the Java API. I downloaded the tmt_img zip
 file from your server again, but it looks like that still contains an
older
 version of the CFC. When you get a few minutes, would you mind updating
that
 ZIP file with the new CFC?

I attached the zip to my post but I forgot the server blocks attachments :-(

Later today I will be back at home and will put the modified CFC on my
server.


Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221449
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: try this again... dreamweaver to lowercase regex

2005-10-19 Thread Massimo Foti
 Actually it was my question... I meant to post it somewhere else in
Italian.

I don't think any italian speaker will understand that translation... But it
sounds funny :-))

As for the original question, I don't think Dreamweaver's GUI offers that
kind of functionality. But I am not 100% sure.


Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221450
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


DataTypeConvert v1.1.4 CFC Update

2005-10-19 Thread newsight
A new update of the DataTypeConvert CFC is available. I've rewritten the
XmlToStruct function, so it works much better now. You can download the
DataTypeConvert v1.1.4 CFC here:
http://download.newsight.de/com/DataTypeConvert.zip
 
Cheers, Artur
 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221451
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


How to batch a change of DSNs

2005-10-19 Thread Beru
Hello,

Yesterday I was requested to change a couple (~25) of server names in DSNs.
I didn't want to lose my time through the crappy (non-practical) admin
interface, so of course I went on doing a search/replace in neo-query.xml,
which works our fine, except that I had to stop the server while doing the
search/replace.

Is there a less invasive way (without stopping the server) of performing
this kind of work?

Any hints welcome!

Greetz,
Albert


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221452
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Consuming web services involving complex parameters

2005-10-19 Thread Lawrence B. Afrin, M.D.
Gary --

The link must have wrapped in your browser.  Tack .cfm onto the end of that 
URL.

-- LBA

Garry Viner wrote:

 Hi Larry

 Thanks so much for your response. Glad to know someone else had as much 
 trouble as me. Anyway, I'm going to go through that and try to make some 
 sense of it. However, the link you posted to the formatted docs

 http://hcc.musc.edu/research/shared_resources/xml_complex_types_to_cf_structure_notes

 does not work - it says the page is not available.

 Thanks again, and I'll let you know if I get the damn thing working.

 Garry

 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221453
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: XMLTransform() failing with NoClassDefFound Error

2005-10-19 Thread wolf2k5
On 10/19/05, James Holmes [EMAIL PROTECTED] wrote:
 OK, I call shenanigans.

 We fixed it this way; in ONE of the sandboxes (nothing to to with my
 account, for example) we enabled direct access to the xalan.jar in
 cfroot/lib - it then started working properly for other sandboxes
 where the direct access wasn't granted.

 It think this this is a sandboxing bug in 6.1.

Yes, it's definitely a bug, the same one we hit.

We fixed it by granting read access to the ./cfusion/lib directory to
all sandboxes.

If you grant access only to one sandbox, you will still hit the issue
if you call the function from another sandbox first.

Regards.

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221454
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Problems Making a CF DSN to SQL Server

2005-10-19 Thread Mickael Elmalem
Hi Joe,

Do you know where I can get those updates?  Are they cumulative, so that if I 
install the lastone it will be enough?

Hi Mickael,

Have you made sure that the most recent SQL server updates are
installed?  I've had this exact problem after installing recent CF
JDBC drivers.

-Joe

On 10/18/05, Mickael Elmalem [EMAIL PROTECTED] wrote:


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221455
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Problems Making a CF DSN to SQL Server

2005-10-19 Thread Mickael Elmalem
Hi Mark,

I have tried, localhost, my machine name also 127.0.0.1 

Nothing helps.  It is really strange.

Mickael,

Add an entry in your host file for your machine - or use localhost or
127.0.0.1. When you say my machine name' you are really talking about an
NBT name - and the JDBC system would not be able to resolve that. It uses
(in order) HOSTS file, DNS and IP.

-Mark


-Original Message-
From: Mickael Elmalem [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 18, 2005 3:07 PM
To: CF-Talk
Subject: Problems Making a CF DSN to SQL Server


 Hello All,

I need to do some work on a clients site locally on my machine.  This is a
new laptop that has just been installed for me.

I have installed CF 6.1 on the machine because that what the customer is
using and Sql Server.

I am not able however to get an MS SQL dsn in CF to work.  I go to data
sources in the CF Admin

Add the Datasource Name and select Microsoft SQL Server as a Driver

On the next screen I enter the database name, the server (my machine name)
username and password.

But the message that I get is

Connection Verification failed for data source : mydsn

Error Establishing Socket: Connection refused : Connect

But if I make the DSN via the OBDC manager in windows, then point to that
DSN using the ODBC socket option it works?

What am I doing wrong?  Shouldn't I be able to just connect.

I am running XP pro with Service Pack 2 , and have made sure that fire wall
is turned off.

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221456
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Problems Making a CF DSN to SQL Server

2005-10-19 Thread Michael T. Tangorre
 From: Mickael Elmalem [mailto:[EMAIL PROTECTED] 
 Do you know where I can get those updates?  Are they 
 cumulative, so that if I install the lastone it will be enough?

http://www.microsoft.com/downloads/details.aspx?FamilyID=8E2DFC8D-C20E-4446-
99A9-B7F0213F8BC5displaylang=en

Mike




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221457
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


[OT] SQL Express

2005-10-19 Thread Taco Fleur
Does anyone know where I can get a management tool for SQL Express?
On the MS website they keep talking about MS SQL Express Management Studio
but haven't been able to find the download for it, I have found the Express
Manager but it is giving me an error saying I need to have at least SP4
windows 2000, admin rights etc. and I meet all those criteria's.
 
All I really want is to restore a backup db from MS SQL on the SQL Express
instance
 
Thanks,
 

Taco Fleur - CEO
Pacific Fox http://www.pacificfox.com.au http://www.pacificfox.com.au/  
an industry leader with commercial IT experience since 1994 .

** Web Design and Development 

** SMS Solutions, including developer API

** Domain Registration, .COM for as low as AUSD$15 a year, .COM.AU for
AUSD$50 two years!

** Seamless Merchant integration

** We endorse PayPal https://www.paypal.com/au/mrb/pal=BYLS5532RWQWS ,
accept payments online now!



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221458
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: [OT] SQL Express

2005-10-19 Thread Michael T. Tangorre
 From: Taco Fleur [mailto:[EMAIL PROTECTED] 
 Does anyone know where I can get a management tool for SQL Express?
 On the MS website they keep talking about MS SQL Express 
 Management Studio
 but haven't been able to find the download for it, I have 
 found the Express Manager but it is giving me an error 
 saying I need to have at least SP4 windows 2000, admin rights 
 etc. and I meet all those criteria's.

Check this link out... 
http://blogs.msdn.com/sqlexpress/

HTH,

Mike




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221459
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: [OT] SQL Express

2005-10-19 Thread Taco Fleur
Which part?
I'm bad at diggin through the weed... ;-)

Taco Fleur - CEO
Pacific Fox http://www.pacificfox.com.au 
an industry leader with commercial IT experience since 1994 .

** Web Design and Development 
** SMS Solutions, including developer API
** Domain Registration, .COM for as low as AUSD$15 a year, .COM.AU for
AUSD$50 two years!
** Seamless Merchant integration
** We endorse PayPal, accept payments online now!


 -Original Message-
 From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, 19 October 2005 9:42 PM
 To: CF-Talk
 Subject: RE: [OT] SQL Express
 
 
  From: Taco Fleur [mailto:[EMAIL PROTECTED]
  Does anyone know where I can get a management tool for SQL Express?
  On the MS website they keep talking about MS SQL Express 
  Management Studio
  but haven't been able to find the download for it, I have 
  found the Express Manager but it is giving me an error 
  saying I need to have at least SP4 windows 2000, admin rights 
  etc. and I meet all those criteria's.
 
 Check this link out... 
 http://blogs.msdn.com/sqlexpress/
 
 HTH,
 
 Mike
 
 
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221460
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Using try/catch all over the place a good thing?

2005-10-19 Thread Justin D. Scott
  There are cases where a try/catch block is
  warranted, so long as it's used properly
 
 What is the proper use and does it exclude catching
 errors that might be thrown by a cffile or cfquery?

A proper use would be what you described, where you have a file coming in to
be imported and there may be errors when trying to parse it, or an
unexpected result from a web service call, or any number of other places
like this.  Whether you use a site-wide error template or catch the error,
you probably want to let the user know about it (either there's a problem
with the site, a problem with their input, or the planets aren't aligned, or
whatever).  As for CFFILE and CFQUERY, sure, you can catch individual errors
if you like, but I wouldn't bother unless you plan on doing something
specific with them.

Now if you have an instance where the only thing you're using a database for
is pulling banner ads, and the DB isn't available, that would be a case
where you could catch the error, ignore it, and safely move on.  Just make
sure you have some checks in your banner display code for the existence of
your variables and such before trying to display it.  No sense in stopping
the visitor from viewing the site just because your ads are unavailable for
whatever reason.

 As for wrapping cftry/catch around EVERYTHING, I missed
 that part.

That was what started the thread, or at least that's the impression I got
from the original poster; that he wanted to wrap everything in one big
try/catch block.


-Justin Scott


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221461
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Problems Making a CF DSN to SQL Server

2005-10-19 Thread Mickael Elmalem
One thing that I forgot to add that may be important is the I restored this 
database from a backup.  I created a new user in SQL and gave them owner 
permission to the database.  And used the new username for my CF DSN 
Connection.  I tried the exact same steps on CF7 with the same restore and it 
worked fine

Mickael,

Also, using the server network utility (part of SQL server tools) unload
the mixed protocol and named pipes - leaving ONLY tcip/ip.

-Mark


-Original Message-
From: Mickael Elmalem [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 18, 2005 3:07 PM
To: CF-Talk
Subject: Problems Making a CF DSN to SQL Server


 Hello All,

I need to do some work on a clients site locally on my machine.  This is a
new laptop that has just been installed for me.

I have installed CF 6.1 on the machine because that what the customer is
using and Sql Server.

I am not able however to get an MS SQL dsn in CF to work.  I go to data
sources in the CF Admin

Add the Datasource Name and select Microsoft SQL Server as a Driver

On the next screen I enter the database name, the server (my machine name)
username and password.

But the message that I get is

Connection Verification failed for data source : mydsn

Error Establishing Socket: Connection refused : Connect

But if I make the DSN via the OBDC manager in windows, then point to that
DSN using the ODBC socket option it works?

What am I doing wrong?  Shouldn't I be able to just connect.

I am running XP pro with Service Pack 2 , and have made sure that fire wall
is turned off.

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221462
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: [OT] SQL Express

2005-10-19 Thread Michael T. Tangorre
 From: Taco Fleur [mailto:[EMAIL PROTECTED] 
 Which part?
 I'm bad at diggin through the weed... ;-)

You'll notice that Express Manager is no longer available and the earlier
version will not work with this current CTP. SQL Server Management Studio
(SSMS), which is included with other editions of SQL Server, will allow you
to connect to and manage SQL Express instances. You can get other editions
of SQL Server from here:




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221463
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: try this again... dreamweaver to lowercase regex

2005-10-19 Thread Bobby Hartsfield
It was understood fine (as it usually is) and it basically got the same
answer you gave.

Thanks 

..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com


-Original Message-
From: Massimo Foti [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 19, 2005 4:00 AM
To: CF-Talk
Subject: Re: try this again... dreamweaver to lowercase regex

 Actually it was my question... I meant to post it somewhere else in
Italian.

I don't think any italian speaker will understand that translation... But it
sounds funny :-))

As for the original question, I don't think Dreamweaver's GUI offers that
kind of functionality. But I am not 100% sure.


Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com






~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221464
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Referral Initiative

2005-10-19 Thread Ken Ferguson
Aside from any problems there might be with redemption... It's nothing 
like a pyramid scheme - at all.

Jerry Johnson wrote:

This is basically a pyramid scheme, where you get one person to rope
in more people.

You might need to take some steps to prevent evil unscrupulous people
(like me) from taking advantage of this promotion. If you care. (since
it is a voucher for a legitimate purchase, it might be you want as
many as possible, even if they are from people who think they are
getting one over on you).

Can I use more than one voucher for a particular purchase?
Do you check to see if the email is valid (opt-in via email)?
Is the voucher actually worth anything? Could I sell it to others at a
reduced value? (A 10 dollar voucher at Bed Bath and Beyond I could
resell for a couple of bucks) Can I give it to others?


On 10/18/05, Mike | NZSolutions Ltd [EMAIL PROTECTED] wrote:
  

Good point. There would need to be a check on already entered email
addresses (which I do already in the mailing list).





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221465
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Using try/catch all over the place a good thing?

2005-10-19 Thread Bobby Hartsfield
I missed commenting on the EVERYTHING since I thought he was looking for a
solution to this...

 I can see a problem though where the cffile might 
 work, then the query fails but you don't know it


 you probably want to let the user know about it 
Usually, yes, but again, there are plenty of occassions where you do not
want to do that or do not want to interrupt the remaining experience because
of a trivial error.

As for the planets being aligned... I usually just tell them they have to
hold their mouth right when surfing  lol

..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com



-Original Message-
From: Justin D. Scott [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 19, 2005 8:01 AM
To: CF-Talk
Subject: RE: Using try/catch all over the place a good thing?

  There are cases where a try/catch block is
  warranted, so long as it's used properly
 
 What is the proper use and does it exclude catching
 errors that might be thrown by a cffile or cfquery?

A proper use would be what you described, where you have a file coming in to
be imported and there may be errors when trying to parse it, or an
unexpected result from a web service call, or any number of other places
like this.  Whether you use a site-wide error template or catch the error,
you probably want to let the user know about it (either there's a problem
with the site, a problem with their input, or the planets aren't aligned, or
whatever).  As for CFFILE and CFQUERY, sure, you can catch individual errors
if you like, but I wouldn't bother unless you plan on doing something
specific with them.

Now if you have an instance where the only thing you're using a database for
is pulling banner ads, and the DB isn't available, that would be a case
where you could catch the error, ignore it, and safely move on.  Just make
sure you have some checks in your banner display code for the existence of
your variables and such before trying to display it.  No sense in stopping
the visitor from viewing the site just because your ads are unavailable for
whatever reason.

 As for wrapping cftry/catch around EVERYTHING, I missed
 that part.

That was what started the thread, or at least that's the impression I got
from the original poster; that he wanted to wrap everything in one big
try/catch block.


-Justin Scott




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221466
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: tmt_img java error, anyone have any ideas?

2005-10-19 Thread Andy Matthews
Thank you.

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Massimo Foti [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 19, 2005 2:37 AM
To: CF-Talk
Subject: Re: tmt_img java error, anyone have any ideas?


 Massimo...

 I saw your post about modifying the Java API. I downloaded the tmt_img zip
 file from your server again, but it looks like that still contains an
older
 version of the CFC. When you get a few minutes, would you mind updating
that
 ZIP file with the new CFC?

I attached the zip to my post but I forgot the server blocks attachments :-(

Later today I will be back at home and will put the modified CFC on my
server.


Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com






~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221467
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: A timeout alert

2005-10-19 Thread Ken
Thanks. Can you tell me a little more about the coding on the server side CF
to do this? A little help will take me far. I appreciate it.

- Aseem

On 10/18/05, Bobby Hartsfield [EMAIL PROTECTED] wrote:

 Good point and probably a better solution than any mentioned. Of course,
 the
 final guarantee should still be server side CF code.


 ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
 Bobby Hartsfield
 http://acoderslife.com

 -Original Message-
 From: Felipe Fernandes [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, October 18, 2005 5:32 PM
 To: CF-Talk
 Subject: Re: A timeout alert

 The only client side aproach for this tha i can think of, is with
 flash, it already has a timer that starts when the swf loads, so you
 would just need to read tha variable and when the time comes you give
 the alert and send him to the page you need, it´s not harder than with
 JS and it will always work.

 On 10/18/05, Bobby Hartsfield [EMAIL PROTECTED] wrote:
  You could use a meta redirect to catch some more but eventually, if you
 want
  'definate', you will have to go with something server side.
 
 
  ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
  Bobby Hartsfield
  http://acoderslife.com
 
  -Original Message-
  From: Ken [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, October 18, 2005 3:14 PM
  To: CF-Talk
  Subject: Re: A timeout alert
 
  Yes, it does work. Thanks. However, is there a way to make sure it
 always
  works, even if the browser doesn't have javascript enabled?
 
  On 10/18/05, Matthew Small [EMAIL PROTECTED] wrote:
  
   Yeah, it works. I just tried it.
  
   Matthew Small
   Web Developer
   American City Business Journals
   704-973-1045
   [EMAIL PROTECTED]
  
  
   -Original Message-
   From: Matthew Small [mailto:[EMAIL PROTECTED]
   Sent: Tuesday, October 18, 2005 2:52 PM
   To: CF-Talk
   Subject: RE: A timeout alert
  
   Use CF to find the difference from now until your time in
 milliseconds,
   then
   use the following code to execute it. Say your time is five minutes
 from
   now:
   5 minutes * 60 seconds * 1000 milliseconds = 30 milliseconds
  
   script lang=javascript
   function TimeExpired()
   {
   alert (Your time is up!);
   window.location.href = http://server.com/somepage.html;;
   }
   /script
  
   body onload=setTimeout('TimeExpired();', 30 );
  
  
   I haven't tested this but I think it will do the trick.
  
  
   Matthew Small
   Web Developer
   American City Business Journals
   704-973-1045
   [EMAIL PROTECTED]
  
  
   -Original Message-
   From: Ken [mailto:[EMAIL PROTECTED]
   Sent: Tuesday, October 18, 2005 2:29 PM
   To: CF-Talk
   Subject: Re: A timeout alert
  
   I need some help with that javascript, please.
  
   Thanks.
  
   On 10/18/05, Bobby Hartsfield [EMAIL PROTECTED] wrote:
   
You've got the time you need in the database so you can get the
   difference
of now and that time then use that as your count down value in js
   
   
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
   
-Original Message-
From: Ken [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 18, 2005 1:55 PM
To: CF-Talk
Subject: A timeout alert
   
Hi. I am working on a forum application. There is a fixed time to
   respond
to
each posting. I want the user responding to a posting to get an
 alert,
even
if he is typing at the last minute, saying: Sorry, this posting has
reached
its expiration time, you are being taken to the home page now.
There's a db field that holds the expiration time for each posting.
   That's
what we will compare the current time to. Or maybe start a timer as
 soon
as
the user comes to the page, and display an alert at the end of the
   timer.
Any ideas how to do this in CF? Code examples will help.
   
Thanks,
Ken
   
   
   
   
   
  
  
  
  
  
  
 
 
 
 



 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221468
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Dreamweaver, Homesite+ 5.5, Eclipse?

2005-10-19 Thread Andy Matthews
So every few months I go on a crusade to find a text editor better than
the one I currently use, Editplus. I've installed lots of them, but can't
really spend the time to get up to speed on any of them where I feel like
I'm being efficient. Let's be honest, the real reason I'm looking for a new
editor is to increase productivity. So, I'd love to hear from some of you
what text editors you use, and more specifically, how you have it
configured.

My company just purchased Studio 8 for all of us and I'm seriously
considering giving Dreamweaver 8 a try (code use only), but I just don't
know if I can afford the time it would take for me to get used to it.

Anyone?

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221469
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: A timeout alert

2005-10-19 Thread Ken
Thanks Felipe. Can you tell if this involves any Actionscripting? If it
does, can you send me a little fla file with some example code? Thanks for
your help.
- K

On 10/18/05, Felipe Fernandes [EMAIL PROTECTED] wrote:

 The only client side aproach for this tha i can think of, is with
 flash, it already has a timer that starts when the swf loads, so you
 would just need to read tha variable and when the time comes you give
 the alert and send him to the page you need, it´s not harder than with
 JS and it will always work.

 On 10/18/05, Bobby Hartsfield [EMAIL PROTECTED] wrote:
  You could use a meta redirect to catch some more but eventually, if you
 want
  'definate', you will have to go with something server side.
 
 
  ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
  Bobby Hartsfield
  http://acoderslife.com
 
  -Original Message-
  From: Ken [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, October 18, 2005 3:14 PM
  To: CF-Talk
  Subject: Re: A timeout alert
 
  Yes, it does work. Thanks. However, is there a way to make sure it
 always
  works, even if the browser doesn't have javascript enabled?
 
  On 10/18/05, Matthew Small [EMAIL PROTECTED] wrote:
  
   Yeah, it works. I just tried it.
  
   Matthew Small
   Web Developer
   American City Business Journals
   704-973-1045
   [EMAIL PROTECTED]
  
  
   -Original Message-
   From: Matthew Small [mailto:[EMAIL PROTECTED]
   Sent: Tuesday, October 18, 2005 2:52 PM
   To: CF-Talk
   Subject: RE: A timeout alert
  
   Use CF to find the difference from now until your time in
 milliseconds,
   then
   use the following code to execute it. Say your time is five minutes
 from
   now:
   5 minutes * 60 seconds * 1000 milliseconds = 30 milliseconds
  
   script lang=javascript
   function TimeExpired()
   {
   alert (Your time is up!);
   window.location.href = http://server.com/somepage.html;;
   }
   /script
  
   body onload=setTimeout('TimeExpired();', 30 );
  
  
   I haven't tested this but I think it will do the trick.
  
  
   Matthew Small
   Web Developer
   American City Business Journals
   704-973-1045
   [EMAIL PROTECTED]
  
  
   -Original Message-
   From: Ken [mailto:[EMAIL PROTECTED]
   Sent: Tuesday, October 18, 2005 2:29 PM
   To: CF-Talk
   Subject: Re: A timeout alert
  
   I need some help with that javascript, please.
  
   Thanks.
  
   On 10/18/05, Bobby Hartsfield [EMAIL PROTECTED] wrote:
   
You've got the time you need in the database so you can get the
   difference
of now and that time then use that as your count down value in js
   
   
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
   
-Original Message-
From: Ken [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 18, 2005 1:55 PM
To: CF-Talk
Subject: A timeout alert
   
Hi. I am working on a forum application. There is a fixed time to
   respond
to
each posting. I want the user responding to a posting to get an
 alert,
even
if he is typing at the last minute, saying: Sorry, this posting has
reached
its expiration time, you are being taken to the home page now.
There's a db field that holds the expiration time for each posting.
   That's
what we will compare the current time to. Or maybe start a timer as
 soon
as
the user comes to the page, and display an alert at the end of the
   timer.
Any ideas how to do this in CF? Code examples will help.
   
Thanks,
Ken
   
   
   
   
   
  
  
  
  
  
  
 
 
 
 

 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221470
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Dreamweaver, Homesite+ 5.5, Eclipse?

2005-10-19 Thread Massimo Foti
 My company just purchased Studio 8 for all of us and I'm seriously
 considering giving Dreamweaver 8 a try (code use only), but I just don't
 know if I can afford the time it would take for me to get used to it.

Dreamweaver 8 offers some nice improvements in code view, still, in my
opinion, if you only plan to use it as a pure code editor, it's not worth.
Giving CFEclipse a try sound like a better way to invest your time.


Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221471
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Dreamweaver, Homesite+ 5.5, Eclipse?

2005-10-19 Thread Mark Fuqua
Andy, do you read posts from this list often?  Dreamweaver is not well
regarded on this list.  It is like going to an Apple convention, standing up
and asking which version of windows you should use.

Seriously, if you are going to use dreamweaver for coding only, there really
isn't that much of a learning curve.  When you first start it, choose code
style and you'll be good to go.

The only thing that might take a few minutes is setting up a site.  But that
really is quite easy and once that is done, you'll be up and running.  You
can learn the many time savers Dreamweaver allows (code snippets, dragging
table/column names from database tab to your coding pane, putting tag
editors/tag completion for your own custom tags, and some cool stuff in 8 I
haven't tried yet...still using 2004) a little at a time.  Tag completion
for CF is very good in Dreamweaver.

I have been wanting to try CFEclipse for some time now, but I just do not
want to take the time to learn it.  You have dreamweaver, it is not hard to
install and it is easy to learn.  Give it a try.

Mark

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 19, 2005 9:14 AM
To: CF-Talk
Subject: Dreamweaver, Homesite+ 5.5, Eclipse?


So every few months I go on a crusade to find a text editor better than
the one I currently use, Editplus. I've installed lots of them, but can't
really spend the time to get up to speed on any of them where I feel like
I'm being efficient. Let's be honest, the real reason I'm looking for a new
editor is to increase productivity. So, I'd love to hear from some of you
what text editors you use, and more specifically, how you have it
configured.

My company just purchased Studio 8 for all of us and I'm seriously
considering giving Dreamweaver 8 a try (code use only), but I just don't
know if I can afford the time it would take for me to get used to it.

Anyone?

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221472
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Dreamweaver, Homesite+ 5.5, Eclipse?

2005-10-19 Thread Andy Matthews
Mark...

I personally don't care for Dreamweaver either. But I'm willing to try
something new if it will save me time. One thing that's to be considered is
it's code rewriting habits. Even if it saves me time in the initial coding,
that time is negated if I have to go back and make minor changes to it's
formatting.

Can anyone comment on Homesite 5.5 (new version I assume)? The thing that
appeals to me about newer versions of Dreamweaver is the live data mode.
Does HS have something like this?

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Mark Fuqua [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 19, 2005 8:36 AM
To: CF-Talk
Subject: RE: Dreamweaver, Homesite+ 5.5, Eclipse?


Andy, do you read posts from this list often?  Dreamweaver is not well
regarded on this list.  It is like going to an Apple convention, standing up
and asking which version of windows you should use.

Seriously, if you are going to use dreamweaver for coding only, there really
isn't that much of a learning curve.  When you first start it, choose code
style and you'll be good to go.

The only thing that might take a few minutes is setting up a site.  But that
really is quite easy and once that is done, you'll be up and running.  You
can learn the many time savers Dreamweaver allows (code snippets, dragging
table/column names from database tab to your coding pane, putting tag
editors/tag completion for your own custom tags, and some cool stuff in 8 I
haven't tried yet...still using 2004) a little at a time.  Tag completion
for CF is very good in Dreamweaver.

I have been wanting to try CFEclipse for some time now, but I just do not
want to take the time to learn it.  You have dreamweaver, it is not hard to
install and it is easy to learn.  Give it a try.

Mark

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 19, 2005 9:14 AM
To: CF-Talk
Subject: Dreamweaver, Homesite+ 5.5, Eclipse?


So every few months I go on a crusade to find a text editor better than
the one I currently use, Editplus. I've installed lots of them, but can't
really spend the time to get up to speed on any of them where I feel like
I'm being efficient. Let's be honest, the real reason I'm looking for a new
editor is to increase productivity. So, I'd love to hear from some of you
what text editors you use, and more specifically, how you have it
configured.

My company just purchased Studio 8 for all of us and I'm seriously
considering giving Dreamweaver 8 a try (code use only), but I just don't
know if I can afford the time it would take for me to get used to it.

Anyone?

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-






~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221473
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Dreamweaver, Homesite+ 5.5, Eclipse?

2005-10-19 Thread John Wilker
What Mark said,

I like DW. Doesn't hog too much of my resources, runs well. 8 has only
crashed once since install. I have CFEclipse too, but have gotten used to
some of the niceties of DW. I use Eclipse from time to time to give it a
whirl and stay up to date on it, but day to day, I still use DW. learning
curve? not much to speak of. Besides if it makes your work day easier, is it
not worth a little effort on your part?

On 10/19/05, Mark Fuqua [EMAIL PROTECTED] wrote:

 Andy, do you read posts from this list often? Dreamweaver is not well
 regarded on this list. It is like going to an Apple convention, standing
 up
 and asking which version of windows you should use.

 Seriously, if you are going to use dreamweaver for coding only, there
 really
 isn't that much of a learning curve. When you first start it, choose
 code
 style and you'll be good to go.

 The only thing that might take a few minutes is setting up a site. But
 that
 really is quite easy and once that is done, you'll be up and running. You
 can learn the many time savers Dreamweaver allows (code snippets, dragging
 table/column names from database tab to your coding pane, putting tag
 editors/tag completion for your own custom tags, and some cool stuff in 8
 I
 haven't tried yet...still using 2004) a little at a time. Tag completion
 for CF is very good in Dreamweaver.

 I have been wanting to try CFEclipse for some time now, but I just do not
 want to take the time to learn it. You have dreamweaver, it is not hard to
 install and it is easy to learn. Give it a try.

 Mark

 -Original Message-
 From: Andy Matthews [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 19, 2005 9:14 AM
 To: CF-Talk
 Subject: Dreamweaver, Homesite+ 5.5, Eclipse?


 So every few months I go on a crusade to find a text editor better than
 the one I currently use, Editplus. I've installed lots of them, but can't
 really spend the time to get up to speed on any of them where I feel like
 I'm being efficient. Let's be honest, the real reason I'm looking for a
 new
 editor is to increase productivity. So, I'd love to hear from some of you
 what text editors you use, and more specifically, how you have it
 configured.

 My company just purchased Studio 8 for all of us and I'm seriously
 considering giving Dreamweaver 8 a try (code use only), but I just don't
 know if I can afford the time it would take for me to get used to it.

 Anyone?

 !//--
 andy matthews
 web developer
 ICGLink, Inc.
 [EMAIL PROTECTED]
 615.370.1530 x737
 --//-




 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221474
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Dreamweaver, Homesite+ 5.5, Eclipse?

2005-10-19 Thread John Wilker
I've never let DW re-write my code. Turn that off :) I tried it once in V3,
never tried it again. Code Clean up. No thanks.

I haven't used Homesite in years myself. I assume this latest has CF7 code
hinting?

On 10/19/05, Andy Matthews [EMAIL PROTECTED] wrote:

 Mark...

 I personally don't care for Dreamweaver either. But I'm willing to try
 something new if it will save me time. One thing that's to be considered
 is
 it's code rewriting habits. Even if it saves me time in the initial
 coding,
 that time is negated if I have to go back and make minor changes to it's
 formatting.

 Can anyone comment on Homesite 5.5 (new version I assume)? The thing that
 appeals to me about newer versions of Dreamweaver is the live data mode.
 Does HS have something like this?

 !//--
 andy matthews
 web developer
 ICGLink, Inc.
 [EMAIL PROTECTED]
 615.370.1530 x737
 --//-

 -Original Message-
 From: Mark Fuqua [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 19, 2005 8:36 AM
 To: CF-Talk
 Subject: RE: Dreamweaver, Homesite+ 5.5, Eclipse?


 Andy, do you read posts from this list often? Dreamweaver is not well
 regarded on this list. It is like going to an Apple convention, standing
 up
 and asking which version of windows you should use.

 Seriously, if you are going to use dreamweaver for coding only, there
 really
 isn't that much of a learning curve. When you first start it, choose
 code
 style and you'll be good to go.

 The only thing that might take a few minutes is setting up a site. But
 that
 really is quite easy and once that is done, you'll be up and running. You
 can learn the many time savers Dreamweaver allows (code snippets, dragging
 table/column names from database tab to your coding pane, putting tag
 editors/tag completion for your own custom tags, and some cool stuff in 8
 I
 haven't tried yet...still using 2004) a little at a time. Tag completion
 for CF is very good in Dreamweaver.

 I have been wanting to try CFEclipse for some time now, but I just do not
 want to take the time to learn it. You have dreamweaver, it is not hard to
 install and it is easy to learn. Give it a try.

 Mark

 -Original Message-
 From: Andy Matthews [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 19, 2005 9:14 AM
 To: CF-Talk
 Subject: Dreamweaver, Homesite+ 5.5, Eclipse?


 So every few months I go on a crusade to find a text editor better than
 the one I currently use, Editplus. I've installed lots of them, but can't
 really spend the time to get up to speed on any of them where I feel like
 I'm being efficient. Let's be honest, the real reason I'm looking for a
 new
 editor is to increase productivity. So, I'd love to hear from some of you
 what text editors you use, and more specifically, how you have it
 configured.

 My company just purchased Studio 8 for all of us and I'm seriously
 considering giving Dreamweaver 8 a try (code use only), but I just don't
 know if I can afford the time it would take for me to get used to it.

 Anyone?

 !//--
 andy matthews
 web developer
 ICGLink, Inc.
 [EMAIL PROTECTED]
 615.370.1530 x737
 --//-






 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221475
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Problems Making a CF DSN to SQL Server

2005-10-19 Thread Mickael Elmalem
Thanks Mike

This did the trick

 From: Mickael Elmalem [mailto:[EMAIL PROTECTED] 
 Do you know where I can get those updates?  Are they 
 cumulative, so that if I install the lastone it will be enough?

http://www.microsoft.com/downloads/details.aspx?FamilyID=8E2DFC8D-C20E-4446-
99A9-B7F0213F8BC5displaylang=en

Mike

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221476
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Referral Initiative

2005-10-19 Thread Jerry Johnson
Well, not technically, since it does not rely on leveraging (earning
from your referals' referals).

But it is a pyramidal scheme (a multi-level scheme that has many more
referals at each level removed from the initial seed. Hence the
pyramid shape.) Nothing illegal about it, and nothing immoral about
it. Viral marketing at its best.



On 10/19/05, Ken Ferguson [EMAIL PROTECTED] wrote:
 Aside from any problems there might be with redemption... It's nothing
 like a pyramid scheme - at all.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221477
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


recover datasource password

2005-10-19 Thread wolf2k5
Hi,

Is there any way to recover the password from a ColdFusion MX 6.1/7 datasource?

Thanks.

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221478
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: A timeout alert

2005-10-19 Thread Larry Lyons
Yes, it does work. Thanks. However, is there a way to make sure it always
works, even if the browser doesn't have javascript enabled?


You'll have to use a meta-refresh, as in 

InvalidTag http-equiv=Refresh content=300;url=someOtherPage.htm /

Where 300 is the number of seconds in 5 minutes.

hth,

larry

--
Larry C. Lyons
Web Analyst
BEI Resources
American Type Culture Collection
email: llyons(at)atcc(dot)org
tel: 703.365.2700.2678
--

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221479
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Reading session vars from another scope

2005-10-19 Thread Daniel Kessler
I have a login, that writes session variables to the Main site.  The  
application.cfm file gives the app the name of main.
Then I take the user to a sub-folder, through cflocation.  The  
subfolder has it's own application cfm file and gives itself the name  
of 'main', where I then copy the variables to the variables scope using:
cfapplication name=main sessionmanagement=Yes  
sessiontimeout=#CreateTimeSpan(0,0,20,0)#
cfset variables.foo = duplicate(session)

This seems to work ok and I can dump the information.

Then I change the application name and make it's session variables  
the same as the previously duped variables:
cfapplication sessionmanagement=yes setclientcookies=yes  
name=dbf clientmanagement=Yes sessiontimeout=#CreateTimeSpan 
(0,0,20,0)#
cfset session = duplicate(variables.foo)

This seems to work and I can dump the information.

Finally, I have an index file that cfincludes a login check.  It also  
checks to see if session.dn exists.  It does because I've duped it  
through this process, but the check fails.  Oddly though the cfoutput  
does not fail.  I'm not sure how to resolve this.  here's the final  
code:

cfif NOT structKeyExists(session,'dn')
!---  it goes in here, but session.dn does exist causes it's output  
with t he following  cfoutpout  ---
 br struct key does not existbr
  cfoutput
  session:#session.dn#br
   session.id:#session.id#br
   session.access_level:#session.access_level#
   /cfoutput


thanks for any help.

_

Daniel Kessler

Department of Public and Community Health
University of Maryland
Suite 2387 Valley Drive
College Park, MD  20742-2611
Phone: 301-405-2545
http://hhp.umd.edu




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221480
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Dreamweaver, Homesite+ 5.5, Eclipse?

2005-10-19 Thread Mark Fuqua
One more thought, then its back to work-

FLEX 2.0The possibilities of flex builder and the CF to Flex bridge 
really
excite me in a back-of-the-mind-gitty sort of way.  I don't have time to
investigate now...but I sure intend to.  As I am sure everyone knows
already, flexbuilder is an extension/built on top of (don't know which is
correct) Eclipse.

So, if you plan on working with Flex Builder, might want to make the move to
Eclipse even though I think the learning curve will be much steeper.

Mark

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 19, 2005 9:14 AM
To: CF-Talk
Subject: Dreamweaver, Homesite+ 5.5, Eclipse?


So every few months I go on a crusade to find a text editor better than
the one I currently use, Editplus. I've installed lots of them, but can't
really spend the time to get up to speed on any of them where I feel like
I'm being efficient. Let's be honest, the real reason I'm looking for a new
editor is to increase productivity. So, I'd love to hear from some of you
what text editors you use, and more specifically, how you have it
configured.

My company just purchased Studio 8 for all of us and I'm seriously
considering giving Dreamweaver 8 a try (code use only), but I just don't
know if I can afford the time it would take for me to get used to it.

Anyone?

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-




~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221481
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Dreamweaver, Homesite+ 5.5, Eclipse?

2005-10-19 Thread Andy Matthews
I have no interest in Flex, but that's a good point for some people on this
list I would assume.

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Mark Fuqua [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 19, 2005 10:14 AM
To: CF-Talk
Subject: RE: Dreamweaver, Homesite+ 5.5, Eclipse?


One more thought, then its back to work-

FLEX 2.0The possibilities of flex builder and the CF to Flex bridge 
really
excite me in a back-of-the-mind-gitty sort of way.  I don't have time to
investigate now...but I sure intend to.  As I am sure everyone knows
already, flexbuilder is an extension/built on top of (don't know which is
correct) Eclipse.

So, if you plan on working with Flex Builder, might want to make the move to
Eclipse even though I think the learning curve will be much steeper.

Mark

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 19, 2005 9:14 AM
To: CF-Talk
Subject: Dreamweaver, Homesite+ 5.5, Eclipse?


So every few months I go on a crusade to find a text editor better than
the one I currently use, Editplus. I've installed lots of them, but can't
really spend the time to get up to speed on any of them where I feel like
I'm being efficient. Let's be honest, the real reason I'm looking for a new
editor is to increase productivity. So, I'd love to hear from some of you
what text editors you use, and more specifically, how you have it
configured.

My company just purchased Studio 8 for all of us and I'm seriously
considering giving Dreamweaver 8 a try (code use only), but I just don't
know if I can afford the time it would take for me to get used to it.

Anyone?

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-






~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221482
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Using try/catch all over the place a good thing?

2005-10-19 Thread Munson, Jacob
I had a very funny experience with cftry/catch.  I was taking
responsibility for a huge and kludgey application that was the result of
2-3 different developers over time.  The developer before me had put
try/catches all over the place.  They just caught 'any' and emailed him
the error.  I wasn't really paying attention to this until one day I
accidentally created an infinite loop on a page.  I was trying to figure
out why my page was just sitting and spinning with nothing happening,
then I decided it must be stuck in a loop.  No big deal, I fixed it and
moved on.  A couple of hours later I got a call from the previous
developer, who had just received 2-3 thousand emails from the app!
Serves him right for setting it up that way.  :-D

 -Original Message-
 From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, October 19, 2005 6:46 AM
 To: CF-Talk
 Subject: RE: Using try/catch all over the place a good thing?
 
 I missed commenting on the EVERYTHING since I thought he was 
 looking for a
 solution to this...
 
  I can see a problem though where the cffile might 
  work, then the query fails but you don't know it
 
 
  you probably want to let the user know about it 
 Usually, yes, but again, there are plenty of occassions where 
 you do not
 want to do that or do not want to interrupt the remaining 
 experience because
 of a trivial error.
 
 As for the planets being aligned... I usually just tell them 
 they have to
 hold their mouth right when surfing  lol
 
 ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
 Bobby Hartsfield
 http://acoderslife.com

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221483
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


How do I timeout a call to a function?

2005-10-19 Thread Troy Simpson
I am calling a function that needs to make a call to a network
resource (like a DNS lookup).  If the DNS server is down or if there
is a network problem, I want the function to timeout after 500
milliseconds and return an error code to the caller.

Is there a way to do this with ColdFusion MX 7?

--
Thanks,
Troy

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221484
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Using try/catch all over the place a good thing?

2005-10-19 Thread Troy Simpson
You could not have planned it any better than that!!
Run that loop again  LOL

On 10/19/05, Munson, Jacob [EMAIL PROTECTED] wrote:
 I had a very funny experience with cftry/catch.  I was taking
 responsibility for a huge and kludgey application that was the result of
 2-3 different developers over time.  The developer before me had put
 try/catches all over the place.  They just caught 'any' and emailed him
 the error.  I wasn't really paying attention to this until one day I
 accidentally created an infinite loop on a page.  I was trying to figure
 out why my page was just sitting and spinning with nothing happening,
 then I decided it must be stuck in a loop.  No big deal, I fixed it and
 moved on.  A couple of hours later I got a call from the previous
 developer, who had just received 2-3 thousand emails from the app!
 Serves him right for setting it up that way.  :-D
--
Thanks,
Troy Simpson

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221485
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


OT: Unit testing sucks?

2005-10-19 Thread Munson, Jacob
This guy thinks unit testing is way overrated and a waste of time:
http://wilshipley.com/blog/2005/09/unit-testing-is-teh-suck-urr.html
 
From the article:
How can I possibly ship a bug-free program and thus make enough money
to feed my tribe if I don't test my shiznit? The answer is, you can't.
You should test. Test and test and test. But I've NEVER, EVER seen a
structured test program that (a) didn't take like 100 man-hours of setup
time, (b) didn't suck down a ton of engineering resources, and (c)
actually found any particularly relevant bugs. Unit testing is a great
way to pay a bunch of engineers to be bored out of their minds and find
not much of anything. [I know -- one of my first jobs was writing unit
test code for Lighthouse Design, for the now-president of Sun
Microsystems.] You'd be MUCH, MUCH better offer hiring beta testers (or,
better yet, offering bug bounties to the general public).
 
I'm curious what you guys think.

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221486
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Flash cfform and recompilation

2005-10-19 Thread Chris Tilley
Mike,

Do you happen to have any sample code to use the cfform tag for login or
somewhere you can point me? I have an application that needs the login
security and not sure where to start.

Thanks in advance,
Chris

On 7/18/05, Mike Nimer [EMAIL PROTECTED] wrote:

 That would be ok. The data between the cfforminput/cfforminput tags
 is considered the value of the field so it does not force a recompile.

 Hth,
 ---nimer


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Monday, July 18, 2005 10:13 AM
 To: CF-Talk
 Subject: Flash cfform and recompilation

 In the ColdFusion documentation under Best practices for Flash forms
 it says:

 Only data should be dynamic. Whenever a variable name changes, or a
 form characteristic, such as an element width or a label changes, the
 Flash output must be recompiled. If a data value changes, the output
 does not need to be recompiled.

 Does anyone know if the content between a cfformitem type=text tag
 is considered data or a form characteristic?

 Basically I'm trying to figure out if a custom error message from the
 server can be inside the flash form, or if I should output it in the
 html outside the form.

 My actual code is this:
 cfformitem type=text style=font-family:Verdana, Arial, Helvetica,
 sans-serif; font-size:10px;
 color:##FF;#variables.errormessage#/cfformitem

 Normally variables.errormessage is empty, but would be populated if the
 user's login credentials were incorrect or the account was inactive.

 Thanks,
 Jonathan
 --
 Jonathan Mauney
 Web Application Developer

 1110 WBT AM
 107.9 the LINK [WLNK]
 PersonalityAC(r) Radio Network
 Jefferson-Pilot Communications Co.
 --





 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221487
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Dreamweaver, Homesite+ 5.5, Eclipse?

2005-10-19 Thread John Wilker
I hear that Flex builder is built on Eclipse but isn't a plug in for eclipse
like I originally thought. From what I've been told by my friends at MAX
it's a stand alone Eclipse build. You can then add CFeclipse to it. Once out
of Beta I'll probably be all over it. Be nice to have one IDE for FLex and
CF work, since I'll probably be doing more of that type of work shortly.

On 10/19/05, Andy Matthews [EMAIL PROTECTED] wrote:

 I have no interest in Flex, but that's a good point for some people on
 this
 list I would assume.

 !//--
 andy matthews
 web developer
 ICGLink, Inc.
 [EMAIL PROTECTED]
 615.370.1530 x737
 --//-

 -Original Message-
 From: Mark Fuqua [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 19, 2005 10:14 AM
 To: CF-Talk
 Subject: RE: Dreamweaver, Homesite+ 5.5, Eclipse?


 One more thought, then its back to work-

 FLEX 2.0 The possibilities of flex builder and the CF to Flex bridge
 really
 excite me in a back-of-the-mind-gitty sort of way. I don't have time to
 investigate now...but I sure intend to. As I am sure everyone knows
 already, flexbuilder is an extension/built on top of (don't know which is
 correct) Eclipse.

 So, if you plan on working with Flex Builder, might want to make the move
 to
 Eclipse even though I think the learning curve will be much steeper.

 Mark

 -Original Message-
 From: Andy Matthews [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 19, 2005 9:14 AM
 To: CF-Talk
 Subject: Dreamweaver, Homesite+ 5.5, Eclipse?


 So every few months I go on a crusade to find a text editor better than
 the one I currently use, Editplus. I've installed lots of them, but can't
 really spend the time to get up to speed on any of them where I feel like
 I'm being efficient. Let's be honest, the real reason I'm looking for a
 new
 editor is to increase productivity. So, I'd love to hear from some of you
 what text editors you use, and more specifically, how you have it
 configured.

 My company just purchased Studio 8 for all of us and I'm seriously
 considering giving Dreamweaver 8 a try (code use only), but I just don't
 know if I can afford the time it would take for me to get used to it.

 Anyone?

 !//--
 andy matthews
 web developer
 ICGLink, Inc.
 [EMAIL PROTECTED]
 615.370.1530 x737
 --//-






 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221488
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Using try/catch all over the place a good thing?

2005-10-19 Thread Munson, Jacob
:)  I would, but I don't maintain that app anymore (thankfully). 

 -Original Message-
 From: Troy Simpson [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, October 19, 2005 9:29 AM
 To: CF-Talk
 Subject: Re: Using try/catch all over the place a good thing?
 
 You could not have planned it any better than that!!
 Run that loop again  LOL
 
 On 10/19/05, Munson, Jacob [EMAIL PROTECTED] wrote:
  I had a very funny experience with cftry/catch.  I was taking
  responsibility for a huge and kludgey application that was 
 the result of
  2-3 different developers over time.  The developer before me had put
  try/catches all over the place.  They just caught 'any' and 
 emailed him
  the error.  I wasn't really paying attention to this until one day I
  accidentally created an infinite loop on a page.  I was 
 trying to figure
  out why my page was just sitting and spinning with nothing 
 happening,
  then I decided it must be stuck in a loop.  No big deal, I 
 fixed it and
  moved on.  A couple of hours later I got a call from the previous
  developer, who had just received 2-3 thousand emails from the app!
  Serves him right for setting it up that way.  :-D

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221489
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Dreamweaver, Homesite+ 5.5, Eclipse?

2005-10-19 Thread Munson, Jacob
Do you know if it will take any plugin?  Because I like this idea
(Eclipse seems too Java oriented by default for my taste), but I use
Eclipse for more than just CF.  I have a few non-CF plugins as well.

 -Original Message-
 From: John Wilker [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, October 19, 2005 9:35 AM
 To: CF-Talk
 Subject: Re: Dreamweaver, Homesite+ 5.5, Eclipse?
 
 I hear that Flex builder is built on Eclipse but isn't a plug 
 in for eclipse
 like I originally thought. From what I've been told by my 
 friends at MAX
 it's a stand alone Eclipse build. You can then add CFeclipse 
 to it. Once out
 of Beta I'll probably be all over it. Be nice to have one IDE 
 for FLex and
 CF work, since I'll probably be doing more of that type of 
 work shortly.

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221490
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Dreamweaver, Homesite+ 5.5, Eclipse?

2005-10-19 Thread Mark Drew
I am currently using Flex Builder 2 as a plugin to Eclipse along with
(of course!) CFEclipse and AFAE.

In this sense I love Eclipse

I can do my java dev, my XML dev, CF and Flex, then I head over to do
HTML using AFAE, get a plugin for JS and Database browsing (did you
know that RDS for CFE is in the works?)  as well as actually browsing
the web ALL from the same IDE!

After that I can use the VSS and CVS plugins and all is well in the world.

I am sure I am going to write a Gmail plugin at some point then I dont
even need to have a browser window open to read these lists:)

Just my 2 pence

MD




On 19/10/05, John Wilker [EMAIL PROTECTED] wrote:
 I hear that Flex builder is built on Eclipse but isn't a plug in for eclipse
 like I originally thought. From what I've been told by my friends at MAX
 it's a stand alone Eclipse build. You can then add CFeclipse to it. Once out
 of Beta I'll probably be all over it. Be nice to have one IDE for FLex and
 CF work, since I'll probably be doing more of that type of work shortly.

 On 10/19/05, Andy Matthews [EMAIL PROTECTED] wrote:
 
  I have no interest in Flex, but that's a good point for some people on
  this
  list I would assume.
 
  !//--
  andy matthews
  web developer
  ICGLink, Inc.
  [EMAIL PROTECTED]
  615.370.1530 x737
  --//-
 
  -Original Message-
  From: Mark Fuqua [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, October 19, 2005 10:14 AM
  To: CF-Talk
  Subject: RE: Dreamweaver, Homesite+ 5.5, Eclipse?
 
 
  One more thought, then its back to work-
 
  FLEX 2.0 The possibilities of flex builder and the CF to Flex bridge
  really
  excite me in a back-of-the-mind-gitty sort of way. I don't have time to
  investigate now...but I sure intend to. As I am sure everyone knows
  already, flexbuilder is an extension/built on top of (don't know which is
  correct) Eclipse.
 
  So, if you plan on working with Flex Builder, might want to make the move
  to
  Eclipse even though I think the learning curve will be much steeper.
 
  Mark
 
  -Original Message-
  From: Andy Matthews [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, October 19, 2005 9:14 AM
  To: CF-Talk
  Subject: Dreamweaver, Homesite+ 5.5, Eclipse?
 
 
  So every few months I go on a crusade to find a text editor better than
  the one I currently use, Editplus. I've installed lots of them, but can't
  really spend the time to get up to speed on any of them where I feel like
  I'm being efficient. Let's be honest, the real reason I'm looking for a
  new
  editor is to increase productivity. So, I'd love to hear from some of you
  what text editors you use, and more specifically, how you have it
  configured.
 
  My company just purchased Studio 8 for all of us and I'm seriously
  considering giving Dreamweaver 8 a try (code use only), but I just don't
  know if I can afford the time it would take for me to get used to it.
 
  Anyone?
 
  !//--
  andy matthews
  web developer
  ICGLink, Inc.
  [EMAIL PROTECTED]
  615.370.1530 x737
  --//-
 
 
 
 
 
 
 

 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221491
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Using try/catch all over the place a good thing?

2005-10-19 Thread Mike Klostermeyer
Done that as well, but evidently I was a lot more patient than you, as I
generated 34,000 emails!

Mike

-Original Message-
From: Munson, Jacob [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 19, 2005 10:21 AM
To: CF-Talk
Subject: RE: Using try/catch all over the place a good thing?


I had a very funny experience with cftry/catch.  I was taking
responsibility for a huge and kludgey application that was the result of
2-3 different developers over time.  The developer before me had put
try/catches all over the place.  They just caught 'any' and emailed him
the error.  I wasn't really paying attention to this until one day I
accidentally created an infinite loop on a page.  I was trying to figure
out why my page was just sitting and spinning with nothing happening,
then I decided it must be stuck in a loop.  No big deal, I fixed it and
moved on.  A couple of hours later I got a call from the previous
developer, who had just received 2-3 thousand emails from the app!
Serves him right for setting it up that way.  :-D

 -Original Message-
 From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 19, 2005 6:46 AM
 To: CF-Talk
 Subject: RE: Using try/catch all over the place a good thing?

 I missed commenting on the EVERYTHING since I thought he was
 looking for a
 solution to this...

  I can see a problem though where the cffile might
  work, then the query fails but you don't know it


  you probably want to let the user know about it
 Usually, yes, but again, there are plenty of occassions where
 you do not
 want to do that or do not want to interrupt the remaining
 experience because
 of a trivial error.

 As for the planets being aligned... I usually just tell them
 they have to
 hold their mouth right when surfing  lol

 ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
 Bobby Hartsfield
 http://acoderslife.com

This transmission may contain information that is privileged, confidential
and/or exempt from disclosure under applicable law. If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission
in error, please immediately contact the sender and destroy the material in
its entirety, whether in electronic or hard copy format. Thank you. A1.





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221492
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


REPOST: Re: CFCs, webservices and CFTRANSACTION

2005-10-19 Thread Bryan Stevenson
No takers?  Aw 'cmon...somebody must have an opinion (I always do...hehe)

TIA

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
- Original Message - 
From: Bryan Stevenson [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Tuesday, October 18, 2005 9:39 AM
Subject: CFCs, webservices and CFTRANSACTION


 Hey All,

 The setup:
 I have webservices that are essentially wrappers for internal CFCs.  They 
 perform some added valoidation, but essentially pass arguments through to 
 internal CFCs.  They often call multiple internal CFCs which each have a 
 CFTRANSACTION block.

 The problem:
 I really need ALL the methods called by the webservices to either to 
 commit the data they are attempting to or all data changes across all 
 methods called by a webservices should be rolled back.  Of course as we 
 know you cannot nest CFTRANSACTION blocks.

 So whatya think I should do?

 I did think of removing the CFTRANSACTION blocks from the internal CFCs, 
 but that doesn't seem right.then developers would have to know to wrap 
 calls to the methods in those CFCs with CFTRANSACTIONand that flys in 
 the face of the black box characteristics of CFCsall you should need 
 to know about them is their name and the arguments and associated data 
 types (it would also mean webservice consumers could skip the 
 CFTRANSACTION step and screw my data).

 TIA

 Cheers

 Bryan Stevenson B.Comm.
 VP  Director of E-Commerce Development
 Electric Edge Systems Group Inc.
 phone: 250.480.0642
 fax: 250.480.1264
 cell: 250.920.8830
 e-mail: [EMAIL PROTECTED]
 web: www.electricedgesystems.com

 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221493
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: How to batch a change of DSNs

2005-10-19 Thread Jim Davis
 -Original Message-
 From: Beru [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 19, 2005 4:49 AM
 To: CF-Talk
 Subject: How to batch a change of DSNs
 
 Hello,
 
 Yesterday I was requested to change a couple (~25) of server names in
 DSNs.
 I didn't want to lose my time through the crappy (non-practical) admin
 interface, so of course I went on doing a search/replace in neo-
 query.xml,
 which works our fine, except that I had to stop the server while doing the
 search/replace.
 
 Is there a less invasive way (without stopping the server) of performing
 this kind of work?

Are you on CF 7?

The admin interface (which really isn't crappy you know) is really just a CF
application.  The CFC's which provide the services for it are exposed via
the admin API - look it up at livedocs.macromedia.com

Using the API you can script the vast majority of admin changes.

Jim Davis




~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221494
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: XML Signature and CF

2005-10-19 Thread Rolf Kvamme
After much beating upon Thawte, they said we arent able to use their
certificate for xml signature(we use them for SSL).  Any recomendations? And
that java class sounds great.

Thank You

Rolf Kvamme
ADTEL INTL

-Original Message-
From: Taco Fleur [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 28, 2005 4:29 PM
To: CF-Talk
Subject: RE: XML Signature and CF


Have you got a key that you need to sign with etc.?

I should have a java class somewhere that allows you to create signatures.
You can easily call it from CF or wrap it in a CFC.

Taco Fleur - Pacific Fox
an industry leader with commercial IT experience since 1994 .
http://www.pacificfox.com - Web Design and Development



 -Original Message-
 From: Rolf Kvamme [mailto:[EMAIL PROTECTED]
 Sent: Thursday, 29 September 2005 7:18 AM
 To: CF-Talk
 Subject: XML Signature and CF


 We have used xml for a few years now and suddenly have a
 requirment for using a digital signature with a new partner.

 Are there any toolkits etc, that play well with CF that I can
 use pretty readilly to sign our xml?

 Rolf Kvamme
 Director of Development
 ADTEL INTL







~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221495
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Dreamweaver, Homesite+ 5.5, Eclipse?

2005-10-19 Thread John Wilker
Mark, so is Flex builder stand alone or a plug in for Eclipse?

I had heard it was built on Eclipse but was it's own Eclipse, not a plugin
for Eclipse.

Sorry to thread hijack.

On 10/19/05, Mark Drew [EMAIL PROTECTED] wrote:

 I am currently using Flex Builder 2 as a plugin to Eclipse along with
 (of course!) CFEclipse and AFAE.

 In this sense I love Eclipse

 I can do my java dev, my XML dev, CF and Flex, then I head over to do
 HTML using AFAE, get a plugin for JS and Database browsing (did you
 know that RDS for CFE is in the works?) as well as actually browsing
 the web ALL from the same IDE!

 After that I can use the VSS and CVS plugins and all is well in the world.

 I am sure I am going to write a Gmail plugin at some point then I dont
 even need to have a browser window open to read these lists:)

 Just my 2 pence

 MD




 On 19/10/05, John Wilker [EMAIL PROTECTED] wrote:
  I hear that Flex builder is built on Eclipse but isn't a plug in for
 eclipse
  like I originally thought. From what I've been told by my friends at MAX
  it's a stand alone Eclipse build. You can then add CFeclipse to it. Once
 out
  of Beta I'll probably be all over it. Be nice to have one IDE for FLex
 and
  CF work, since I'll probably be doing more of that type of work shortly.
 
  On 10/19/05, Andy Matthews [EMAIL PROTECTED] wrote:
  
   I have no interest in Flex, but that's a good point for some people on
   this
   list I would assume.
  
   !//--
   andy matthews
   web developer
   ICGLink, Inc.
   [EMAIL PROTECTED]
   615.370.1530 x737
   --//-
  
   -Original Message-
   From: Mark Fuqua [mailto:[EMAIL PROTECTED]
   Sent: Wednesday, October 19, 2005 10:14 AM
   To: CF-Talk
   Subject: RE: Dreamweaver, Homesite+ 5.5, Eclipse?
  
  
   One more thought, then its back to work-
  
   FLEX 2.0 The possibilities of flex builder and the CF to Flex bridge
   really
   excite me in a back-of-the-mind-gitty sort of way. I don't have time
 to
   investigate now...but I sure intend to. As I am sure everyone knows
   already, flexbuilder is an extension/built on top of (don't know which
 is
   correct) Eclipse.
  
   So, if you plan on working with Flex Builder, might want to make the
 move
   to
   Eclipse even though I think the learning curve will be much steeper.
  
   Mark
  
   -Original Message-
   From: Andy Matthews [mailto:[EMAIL PROTECTED]
   Sent: Wednesday, October 19, 2005 9:14 AM
   To: CF-Talk
   Subject: Dreamweaver, Homesite+ 5.5, Eclipse?
  
  
   So every few months I go on a crusade to find a text editor better
 than
   the one I currently use, Editplus. I've installed lots of them, but
 can't
   really spend the time to get up to speed on any of them where I feel
 like
   I'm being efficient. Let's be honest, the real reason I'm looking for
 a
   new
   editor is to increase productivity. So, I'd love to hear from some of
 you
   what text editors you use, and more specifically, how you have it
   configured.
  
   My company just purchased Studio 8 for all of us and I'm seriously
   considering giving Dreamweaver 8 a try (code use only), but I just
 don't
   know if I can afford the time it would take for me to get used to it.
  
   Anyone?
  
   !//--
   andy matthews
   web developer
   ICGLink, Inc.
   [EMAIL PROTECTED]
   615.370.1530 x737
   --//-
  
  
  
  
  
  
  
 
 

 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221496
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: How to batch a change of DSNs

2005-10-19 Thread Beru
Yeah, well let's say the crappy statement was just to attract some light
;-))

I'm still with 6.1, heard about the ServiceFactory but don't know where to
begin with to learn using it... It would be very handy to be able to
query/update DSNs, ala sql... Any ideas?


On 19/10/05, Jim Davis [EMAIL PROTECTED] wrote:

  -Original Message-
  From: Beru [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, October 19, 2005 4:49 AM
  To: CF-Talk
  Subject: How to batch a change of DSNs
 
  Hello,
 
  Yesterday I was requested to change a couple (~25) of server names in
  DSNs.
  I didn't want to lose my time through the crappy (non-practical) admin
  interface, so of course I went on doing a search/replace in neo-
  query.xml,
  which works our fine, except that I had to stop the server while doing
 the
  search/replace.
 
  Is there a less invasive way (without stopping the server) of performing
  this kind of work?

 Are you on CF 7?

 The admin interface (which really isn't crappy you know) is really just a
 CF
 application. The CFC's which provide the services for it are exposed via
 the admin API - look it up at 
 livedocs.macromedia.comhttp://livedocs.macromedia.com

 Using the API you can script the vast majority of admin changes.

 Jim Davis




 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221497
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Dreamweaver, Homesite+ 5.5, Eclipse?

2005-10-19 Thread Mark Drew
Head over to http://labs.macromedia.com
you can get the Flex Builder plugin for eclipse.. dont need to add
plugins to the full version of Flex!

MD

On 19/10/05, Munson, Jacob [EMAIL PROTECTED] wrote:
 Do you know if it will take any plugin?  Because I like this idea
 (Eclipse seems too Java oriented by default for my taste), but I use
 Eclipse for more than just CF.  I have a few non-CF plugins as well.

  -Original Message-
  From: John Wilker [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, October 19, 2005 9:35 AM
  To: CF-Talk
  Subject: Re: Dreamweaver, Homesite+ 5.5, Eclipse?
 
  I hear that Flex builder is built on Eclipse but isn't a plug
  in for eclipse
  like I originally thought. From what I've been told by my
  friends at MAX
  it's a stand alone Eclipse build. You can then add CFeclipse
  to it. Once out
  of Beta I'll probably be all over it. Be nice to have one IDE
  for FLex and
  CF work, since I'll probably be doing more of that type of
  work shortly.

 This transmission may contain information that is privileged, confidential 
 and/or exempt from disclosure under applicable law. If you are not the 
 intended recipient, you are hereby notified that any disclosure, copying, 
 distribution, or use of the information contained herein (including any 
 reliance thereon) is STRICTLY PROHIBITED. If you received this transmission 
 in error, please immediately contact the sender and destroy the material in 
 its entirety, whether in electronic or hard copy format. Thank you. A1.



 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221498
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Dreamweaver, Homesite+ 5.5, Eclipse?

2005-10-19 Thread Spike
You can download either the plugin or standalone versions from the
macromedia labs website (http://labs.macromedia.com).

Spike

On 10/19/05, John Wilker [EMAIL PROTECTED] wrote:

 Mark, so is Flex builder stand alone or a plug in for Eclipse?

 I had heard it was built on Eclipse but was it's own Eclipse, not a plugin
 for Eclipse.

 Sorry to thread hijack.

 On 10/19/05, Mark Drew [EMAIL PROTECTED] wrote:
 
  I am currently using Flex Builder 2 as a plugin to Eclipse along with
  (of course!) CFEclipse and AFAE.
 
  In this sense I love Eclipse
 
  I can do my java dev, my XML dev, CF and Flex, then I head over to do
  HTML using AFAE, get a plugin for JS and Database browsing (did you
  know that RDS for CFE is in the works?) as well as actually browsing
  the web ALL from the same IDE!
 
  After that I can use the VSS and CVS plugins and all is well in the
 world.
 
  I am sure I am going to write a Gmail plugin at some point then I dont
  even need to have a browser window open to read these lists:)
 
  Just my 2 pence
 
  MD
 
 
 
 
  On 19/10/05, John Wilker [EMAIL PROTECTED] wrote:
   I hear that Flex builder is built on Eclipse but isn't a plug in for
  eclipse
   like I originally thought. From what I've been told by my friends at
 MAX
   it's a stand alone Eclipse build. You can then add CFeclipse to it.
 Once
  out
   of Beta I'll probably be all over it. Be nice to have one IDE for FLex
  and
   CF work, since I'll probably be doing more of that type of work
 shortly.
  
   On 10/19/05, Andy Matthews [EMAIL PROTECTED] wrote:
   
I have no interest in Flex, but that's a good point for some people
 on
this
list I would assume.
   
!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
   
-Original Message-
From: Mark Fuqua [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 19, 2005 10:14 AM
To: CF-Talk
Subject: RE: Dreamweaver, Homesite+ 5.5, Eclipse?
   
   
One more thought, then its back to work-
   
FLEX 2.0 The possibilities of flex builder and the CF to Flex bridge
really
excite me in a back-of-the-mind-gitty sort of way. I don't have time
  to
investigate now...but I sure intend to. As I am sure everyone knows
already, flexbuilder is an extension/built on top of (don't know
 which
  is
correct) Eclipse.
   
So, if you plan on working with Flex Builder, might want to make the
  move
to
Eclipse even though I think the learning curve will be much steeper.
   
Mark
   
-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 19, 2005 9:14 AM
To: CF-Talk
Subject: Dreamweaver, Homesite+ 5.5, Eclipse?
   
   
So every few months I go on a crusade to find a text editor better
  than
the one I currently use, Editplus. I've installed lots of them, but
  can't
really spend the time to get up to speed on any of them where I feel
  like
I'm being efficient. Let's be honest, the real reason I'm looking
 for
  a
new
editor is to increase productivity. So, I'd love to hear from some
 of
  you
what text editors you use, and more specifically, how you have it
configured.
   
My company just purchased Studio 8 for all of us and I'm seriously
considering giving Dreamweaver 8 a try (code use only), but I just
  don't
know if I can afford the time it would take for me to get used to
 it.
   
Anyone?
   
!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
   
   
   
   
   
   
   
  
  
 
 

 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221499
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Dreamweaver, Homesite+ 5.5, Eclipse?

2005-10-19 Thread Mark Drew
Flex Builder is delivered as both a full install of Eclipse + Flex
Builder Plugin  and a plugin for Eclipse (which is the one I am
running now)

So you can do the no-brainer and download the whole shebang or install
it as a plugin to your existing app.


MD

On 19/10/05, Mark Drew [EMAIL PROTECTED] wrote:
 Head over to http://labs.macromedia.com
 you can get the Flex Builder plugin for eclipse.. dont need to add
 plugins to the full version of Flex!

 MD

 On 19/10/05, Munson, Jacob [EMAIL PROTECTED] wrote:
  Do you know if it will take any plugin?  Because I like this idea
  (Eclipse seems too Java oriented by default for my taste), but I use
  Eclipse for more than just CF.  I have a few non-CF plugins as well.
 
   -Original Message-
   From: John Wilker [mailto:[EMAIL PROTECTED]
   Sent: Wednesday, October 19, 2005 9:35 AM
   To: CF-Talk
   Subject: Re: Dreamweaver, Homesite+ 5.5, Eclipse?
  
   I hear that Flex builder is built on Eclipse but isn't a plug
   in for eclipse
   like I originally thought. From what I've been told by my
   friends at MAX
   it's a stand alone Eclipse build. You can then add CFeclipse
   to it. Once out
   of Beta I'll probably be all over it. Be nice to have one IDE
   for FLex and
   CF work, since I'll probably be doing more of that type of
   work shortly.
 
  This transmission may contain information that is privileged, confidential 
  and/or exempt from disclosure under applicable law. If you are not the 
  intended recipient, you are hereby notified that any disclosure, copying, 
  distribution, or use of the information contained herein (including any 
  reliance thereon) is STRICTLY PROHIBITED. If you received this transmission 
  in error, please immediately contact the sender and destroy the material in 
  its entirety, whether in electronic or hard copy format. Thank you. A1.
 
 
 
  

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221500
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


OT: Gvt Agency/Bureau data

2005-10-19 Thread Tangorre, Michael
I know there are a couple people on the list who have done government
work so I thought I would see if anyone has ever run across a list of
all US Government Agencies and Bureaus. I am looking for a list of names
along with the gvt ID number that goes along with it. I am trying to
update our Agency table in a DB and the original source of information
no longer provides the listing. Ideally CSV format would be great.

Thanks,

Mike

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221501
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: How to batch a change of DSNs

2005-10-19 Thread Snake
If you just cfdump the service factory, u can see it's methods and functions
etc.
You can then recurse over them and cfdump them too.

cfdump var=#request.sqlexecutive#
cfdump var=#request.sqlexecutive.datasources#
 

--
Russ

-Original Message-
From: Beru [mailto:[EMAIL PROTECTED] 
Sent: 19 October 2005 17:17
To: CF-Talk
Subject: Re: How to batch a change of DSNs

Yeah, well let's say the crappy statement was just to attract some light
;-))

I'm still with 6.1, heard about the ServiceFactory but don't know where to
begin with to learn using it... It would be very handy to be able to
query/update DSNs, ala sql... Any ideas?


On 19/10/05, Jim Davis [EMAIL PROTECTED] wrote:

  -Original Message-
  From: Beru [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, October 19, 2005 4:49 AM
  To: CF-Talk
  Subject: How to batch a change of DSNs
 
  Hello,
 
  Yesterday I was requested to change a couple (~25) of server names 
  in DSNs.
  I didn't want to lose my time through the crappy (non-practical) 
  admin interface, so of course I went on doing a search/replace in 
  neo- query.xml, which works our fine, except that I had to stop 
  the server while doing
 the
  search/replace.
 
  Is there a less invasive way (without stopping the server) of 
  performing this kind of work?

 Are you on CF 7?

 The admin interface (which really isn't crappy you know) is really 
 just a CF application. The CFC's which provide the services for it are 
 exposed via the admin API - look it up at 
 livedocs.macromedia.comhttp://livedocs.macromedia.com

 Using the API you can script the vast majority of admin changes.

 Jim Davis




 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221502
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Using try/catch all over the place a good thing?

2005-10-19 Thread Matt Robertson
Another consequence of emailing errors, if you are sending diagnostic
info with the error (and you should be), you could be emailing
passwords, credit card numbers etc. etc. that are passed in the form
scope.  Consider that when developing your error handling.  I like to
store them in a db, with a fallback to a write to disk.  I only email
myself a 'you've got errors' email, if I send the email at all as
opposed to checking the log (I use a server monitor to find things
like dead db's killing the site).  Hand in hand with that is a
cfscheduled task that deletes all errors older than X days.

Also, consider using a site wide error handler AND a cferror tag AND,
on a granular level, cftry/cfcatch.  Use cftry/cfcatch to protect
individual blocks of code where you want a specific error handled a
specific way (like a mime type failure on an upload).  Use cferror as
your application's general error handler and use a sitewide handler to
bat cleanup in case something goes wrong with Plans A and B.

--
--mattRobertson--
Janitor, MSB Web Systems
mysecretbase.com

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221503
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Dreamweaver, Homesite+ 5.5, Eclipse?

2005-10-19 Thread Damien McKenna
 -Original Message-
 From: John Wilker [mailto:[EMAIL PROTECTED] 

 I hear that Flex builder is built on Eclipse but isn't a plug 
 in for eclipse like I originally thought. From what I've been
 told by my friends at MAX it's a stand alone Eclipse build.

Try downloading the installer files, copying the macromedia-specific
files from the installation directory and putting them in the relevant
directories in a bare eclipse install, then starting the bare install
with eclipse -clean.  Should work, in theory anyway.

-- 
Damien McKenna - Web Developer - [EMAIL PROTECTED]
The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
#include stdjoke.h


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221504
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: cfadmin.log file in MX7?

2005-10-19 Thread dan martin
 In CF5.0 there is a log file called cfadmin.log that tracks all 
 changes to the server configuration. There doesnt seem to be one in 
 mx7. Is this feature handled in some other way, or is there a way to 
 enable this type of logging in 
mx7?

Anyone?

How does everyone keep track of their admin settings without this feature?

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221505
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Select by whats not there?

2005-10-19 Thread Eric Hoffman
I hae two tables, related to each other by order id.

I need to find out programatically what orders exist in the main table
without any corresponding lines in the other table based upon the
relationship of the order id.

How can I do a SQL query in which I ask during the join for what does not
exist specifically?   Left join, for example, gives me everything; record or
not.  Right join would be only if something exists in that second table...

Must be easy, but I can't figure it out.

Thanks!

from #request.cust_table# cu
JOIN #request.orders_table# co on co.customer_id =
cu.cust_id 
cfif url.errorid NEQ 4
RIGHT OUTER JOIN #request.hold_table# ht on ht.order_id  =
co.corder_id 
cfelse
!---heregive me what specifically does not have a
record in the other table---
LEFT OUTER JOIN #request.hold_table# ht on ht.order_id  =
co.corder_id 


Eric



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221506
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: REPOST: Re: CFCs, webservices and CFTRANSACTION

2005-10-19 Thread Tom Kitta
Yes, you cannot nest cftransaction tags - but there is a workaround this.
You just need to create your own controller regarding who is going to do
cftransaction (is it me or the other function?).

It all depends on your situation, but usually CFCs that wrap internal CFC
(while themselves they are exposed) should not do directly any DB
operations. This implies you may even not need a controller for the function
that needs to do cftransaction. A controller can be just a function input
variable (easy case) or more complex logic (I seen people do recursive
functions and use this scope for cftransaction control).

And on final note, it would be just nice to nest cftransactions, I think it
was on CF7 wish list and I bet it is now on CF8 wish list.

TK
http://www.tomkitta.com

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 19, 2005 11:53 AM
To: CF-Talk
Subject: REPOST: Re: CFCs, webservices and CFTRANSACTION


No takers?  Aw 'cmon...somebody must have an opinion (I always do...hehe)

TIA

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
- Original Message -
From: Bryan Stevenson [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Tuesday, October 18, 2005 9:39 AM
Subject: CFCs, webservices and CFTRANSACTION


 Hey All,

 The setup:
 I have webservices that are essentially wrappers for internal CFCs.  They
 perform some added valoidation, but essentially pass arguments through to
 internal CFCs.  They often call multiple internal CFCs which each have a
 CFTRANSACTION block.

 The problem:
 I really need ALL the methods called by the webservices to either to
 commit the data they are attempting to or all data changes across all
 methods called by a webservices should be rolled back.  Of course as we
 know you cannot nest CFTRANSACTION blocks.

 So whatya think I should do?

 I did think of removing the CFTRANSACTION blocks from the internal CFCs,
 but that doesn't seem right.then developers would have to know to wrap
 calls to the methods in those CFCs with CFTRANSACTIONand that flys in
 the face of the black box characteristics of CFCsall you should need
 to know about them is their name and the arguments and associated data
 types (it would also mean webservice consumers could skip the
 CFTRANSACTION step and screw my data).

 TIA

 Cheers

 Bryan Stevenson B.Comm.
 VP  Director of E-Commerce Development
 Electric Edge Systems Group Inc.
 phone: 250.480.0642
 fax: 250.480.1264
 cell: 250.920.8830
 e-mail: [EMAIL PROTECTED]
 web: www.electricedgesystems.com





~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221507
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Not StructKeyExists

2005-10-19 Thread Daniel Kessler
Since I didn't get an answer on my last post, I'm gonna try to  
explain it another way.

I copied the set of session variables to the variables scope using

cfset variables.foo = duplicate(session)

then I make a new app using a cfapplication tag.  I then copy the  
variables scope to my new applications session using:

cfset session = duplicate(variables.foo)

When I do the test StructKeyExists(session,'dn'), it fails, saying it  
does not exist.  But when I output it, it outputs fine.

Is this because it's just putting it into a variable called session,  
not in the session scope?  If so, how would I get whatever is in  
the variables scope into the session scope?

_

Daniel Kessler

Department of Public and Community Health
University of Maryland
Suite 2387 Valley Drive
College Park, MD  20742-2611
Phone: 301-405-2545
http://hhp.umd.edu




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221508
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Select by whats not there?

2005-10-19 Thread Jillian Koskie
Eric,

Depending on what dbms you are using, you could just do a subselect.
Add 'AND IN (SELECT field FROM table)' to your join.

Some dbms do not support subselects in the join statement, in which case
you can likely work your query to function with the subselect in the
where statement.

--
Jillian

-Original Message-
From: Eric Hoffman [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 19, 2005 11:03 AM
To: CF-Talk
Subject: Select by whats not there?

I hae two tables, related to each other by order id.

I need to find out programatically what orders exist in the main table
without any corresponding lines in the other table based upon the
relationship of the order id.

How can I do a SQL query in which I ask during the join for what does
not
exist specifically?   Left join, for example, gives me everything;
record or
not.  Right join would be only if something exists in that second
table...

Must be easy, but I can't figure it out.

Thanks!

from #request.cust_table# cu
JOIN #request.orders_table# co on co.customer_id =
cu.cust_id 
cfif url.errorid NEQ 4
RIGHT OUTER JOIN #request.hold_table# ht on ht.order_id
=
co.corder_id 
cfelse
!---heregive me what specifically does not have a
record in the other table---
LEFT OUTER JOIN #request.hold_table# ht on ht.order_id
=
co.corder_id 


Eric





~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221509
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Unit testing sucks?

2005-10-19 Thread Tom Kitta
I hope this is not some kind of invitation to a flame war, but just for a
quick response, testing in general is a broad topic, comparable in scope to
programming. I am sure most people don't have rock hard rules for
programming style for *every* situation. These things change rules change
and are flexible, both in testing and programming. What matters is what you
program and what you test when determining the best strategy for doing both.

For example, I am sure you would want the test department to give you a
guarantee that program is bug free (there are many definitions of a
software bug out there, thus quotation marks) for things like nuclear
reactor controller software or aircraft navigation system. For a web
application that is your personal website, you may get away with few bugs.
As examples illustrate, the type and amount of testing or even proving that
your program is correct is directly related to the type of application you
are writing. To answer original question, one cannot even comment on blog
author testing strategy without him specifying what type of software they
are writing (what quality is expected of the software peace, what resources
they have for the project etc.).

TK

-Original Message-
From: Munson, Jacob [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 19, 2005 11:32 AM
To: CF-Talk
Subject: OT: Unit testing sucks?


This guy thinks unit testing is way overrated and a waste of time:
http://wilshipley.com/blog/2005/09/unit-testing-is-teh-suck-urr.html

From the article:
How can I possibly ship a bug-free program and thus make enough money
to feed my tribe if I don't test my shiznit? The answer is, you can't.
You should test. Test and test and test. But I've NEVER, EVER seen a
structured test program that (a) didn't take like 100 man-hours of setup
time, (b) didn't suck down a ton of engineering resources, and (c)
actually found any particularly relevant bugs. Unit testing is a great
way to pay a bunch of engineers to be bored out of their minds and find
not much of anything. [I know -- one of my first jobs was writing unit
test code for Lighthouse Design, for the now-president of Sun
Microsystems.] You'd be MUCH, MUCH better offer hiring beta testers (or,
better yet, offering bug bounties to the general public).

I'm curious what you guys think.

This transmission may contain information that is privileged, confidential
and/or exempt from disclosure under applicable law. If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission
in error, please immediately contact the sender and destroy the material in
its entirety, whether in electronic or hard copy format. Thank you. A1.





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221510
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFCs, webservices and CFTRANSACTION

2005-10-19 Thread Chris Gottshall
I would probably suggest leaving your CFCs with all of the cftransactions as 
they are, to maintain the black box characteristic.  Then I would build some 
sort of log in the webservice that is invoking all of these other cfcs, to 
track what should be undone if some step fails.  Throw it all inside a 
try/catch block and then when you have an error, throw an exception, and in 
your catch block, run through the undo steps.  This is analogous to what the 
database will do when you use transactions, but since you want to do it across 
multiple cfcs you have to manage it yourself.

Just my idea.

-Chris

 Hey All,
 
 The setup:
 I have webservices that are essentially wrappers for internal CFCs.  
 They perform some added valoidation, but essentially pass arguments 
 through to internal CFCs.  They often call multiple internal CFCs 
 which each have a CFTRANSACTION block.
 
 The problem:
 I really need ALL the methods called by the webservices to either to 
 commit the data they are attempting to or all data changes across all 
 methods called by a webservices should be rolled back.  Of course as 
 we know you cannot nest CFTRANSACTION blocks.
 
 So whatya think I should do?
 
 I did think of removing the CFTRANSACTION blocks from the internal 
 CFCs, but that doesn't seem right.then developers would have to 
 know to wrap calls to the methods in those CFCs with CFTRANSACTION
 and that flys in the face of the black box characteristics of CFCs
 all you should need to know about them is their name and the arguments 
 and associated data types (it would also mean webservice consumers 
 could skip the CFTRANSACTION step and screw my data).
 
 TIA
 
 Cheers
 
 Bryan Stevenson B.Comm.
 VP  Director of E-Commerce Development
 Electric Edge Systems Group Inc.
 phone: 250.480.0642
 fax: 250.480.1264
 cell: 250.920.8830
 e-mail: [EMAIL PROTECTED]
 web: www.electricedgesystems.
com

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221511
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Not StructKeyExists

2005-10-19 Thread Dave Watts
 I copied the set of session variables to the variables scope using
 
 cfset variables.foo = duplicate(session)
 
 then I make a new app using a cfapplication tag.  I then copy the  
 variables scope to my new applications session using:
 
 cfset session = duplicate(variables.foo)
 
 When I do the test StructKeyExists(session,'dn'), it fails, 
 saying it does not exist.  But when I output it, it outputs fine.
 
 Is this because it's just putting it into a variable called session,  
 not in the session scope?  If so, how would I get whatever is in  
 the variables scope into the session scope?

Yes, that's why you're running into this problem. You're writing to
Variables.Session, not Session.

To make what you're trying to do easier, I recommend that you store all your
session data within a structure, then copy that structure around as needed.
There are two reasons for this. First, if you don't do that, you'll have to
loop over your session variables to write them to the Session scope. Second,
the Session scope contains some data you wouldn't want to overwrite, like
the token values used to match a session with a browser.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221512
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Select by whats not there?

2005-10-19 Thread Eric Hoffman
I am on MSSQL.

So:   cfelse
!---heregive me what specifically does not have a
record in the other table---
FULL OUTER JOIN #request.hold_table# ht on ht.order_id =
co.corder_id AND IN (SELECT corder_id FROM co)

?

Thanks for helping me out.

-Original Message-
From: Jillian Koskie [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 19, 2005 12:15 PM
To: CF-Talk
Subject: RE: Select by whats not there?

Eric,

Depending on what dbms you are using, you could just do a subselect.
Add 'AND IN (SELECT field FROM table)' to your join.

Some dbms do not support subselects in the join statement, in which case you
can likely work your query to function with the subselect in the where
statement.

--
Jillian

-Original Message-
From: Eric Hoffman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 19, 2005 11:03 AM
To: CF-Talk
Subject: Select by whats not there?

I hae two tables, related to each other by order id.

I need to find out programatically what orders exist in the main table
without any corresponding lines in the other table based upon the
relationship of the order id.

How can I do a SQL query in which I ask during the join for what does not
exist specifically?   Left join, for example, gives me everything;
record or
not.  Right join would be only if something exists in that second table...

Must be easy, but I can't figure it out.

Thanks!

from #request.cust_table# cu
JOIN #request.orders_table# co on co.customer_id =
cu.cust_id 
cfif url.errorid NEQ 4
RIGHT OUTER JOIN #request.hold_table# ht on ht.order_id =
co.corder_id 
cfelse
!---heregive me what specifically does not have a
record in the other table---
LEFT OUTER JOIN #request.hold_table# ht on ht.order_id =
co.corder_id 


Eric







~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221513
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Select by whats not there?

2005-10-19 Thread Dave Watts
 How can I do a SQL query in which I ask during the join for 
 what does not exist specifically?

You might find it easier to use a subquery rather than a join in this case:

SELECT ... 
FROM TABLE1
WHERE ID NOT IN (SELECT ID FROM TABLE2)

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221514
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Using try/catch all over the place a good thing?

2005-10-19 Thread Dave Watts
 Also, consider using a site wide error handler AND a cferror tag AND,
 on a granular level, cftry/cfcatch.  Use cftry/cfcatch to protect
 individual blocks of code where you want a specific error handled a
 specific way (like a mime type failure on an upload).  Use cferror as
 your application's general error handler and use a sitewide handler to
 bat cleanup in case something goes wrong with Plans A and B.

Amen. I couldn't have said it better.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221515
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Select by whats not there?

2005-10-19 Thread Eric Hoffman
Good deal, that got me where I needed to go with some conditional coding in
cf telling it when to use that filter.

Thank you!!! 

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 19, 2005 12:35 PM
To: CF-Talk
Subject: RE: Select by whats not there?

 How can I do a SQL query in which I ask during the join for what does 
 not exist specifically?

You might find it easier to use a subquery rather than a join in this case:

SELECT ... 
FROM TABLE1
WHERE ID NOT IN (SELECT ID FROM TABLE2)

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized instruction
at our training centers in Washington DC, Atlanta, Chicago, Baltimore,
Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!




~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221516
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Not StructKeyExists

2005-10-19 Thread daniel kessler
To make what you're trying to do easier, I recommend that you store all your
session data within a structure, then copy that structure around as needed.
There are two reasons for this. First, if you don't do that, you'll have to
loop over your session variables to write them to the Session scope. Second,
the Session scope contains some data you wouldn't want to overwrite, like
the token values used to match a session with a browser.

So, are you saying that I should copy over to session.user (will this go in the 
session scope even then or will it still be in the variables scope?) and just 
leave it there?  Currently all my apps check for session.dn and I'd have to 
change them to session.user.dn in this case, right?

thanks for answering - I was getting worried.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221517
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Not StructKeyExists

2005-10-19 Thread Dave Watts
 So, are you saying that I should copy over to session.user 
 (will this go in the session scope even then or will it still 
 be in the variables scope?) and just leave it there?  

If you talk about Session.foo, CF will know you mean the Session scope.

 Currently all my apps check for session.dn and I'd have to 
 change them to session.user.dn in this case, right?

Presumably, yes. You could probably do this with a find and replace.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221518
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Dreamweaver, Homesite+ 5.5, Eclipse?

2005-10-19 Thread Damien McKenna
 Try downloading the installer files, copying the macromedia-specific
 files from the installation directory and putting them in the relevant
 directories in a bare eclipse install, then starting the bare install
 with eclipse -clean.  Should work, in theory anyway.

... Or just use the Eclipse installer X-)

-- 
Damien McKenna - Web Developer - [EMAIL PROTECTED]
The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
#include stdjoke.h

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221519
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Consuming web services involving complex parameters

2005-10-19 Thread Robert Munn
alternatively, you can consume the Web service using Java (WSDL2Java) to do all 
the heavy lifting for you. i wrote an article on CFDJ on how to do it, ping me 
offline if you want to know more. 

Hi there. I hope someone can help me with this problem before I slowly go
insane.
 
I am trying to consume a webservice, where the input parameter is defined as
a collection.


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221520
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Gvt Agency/Bureau data

2005-10-19 Thread Dave Watts
 I know there are a couple people on the list who have done 
 government work so I thought I would see if anyone has ever 
 run across a list of all US Government Agencies and Bureaus. 
 I am looking for a list of names along with the gvt ID number 
 that goes along with it. I am trying to update our Agency 
 table in a DB and the original source of information no longer 
 provides the listing. Ideally CSV format would be great.

I don't know if this'll be helpful at all, since it's just a list of
agencies:

http://www.whitehouse.gov/government/independent-agencies.html

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221521
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Using try/catch all over the place a good thing?

2005-10-19 Thread Bobby Hartsfield
Haha yes, it does serve him right! I would have hit the loop again... but
then again... im pretty mean :)

If you needed the info surrounding an error to be emailed to you, I'd
definitely just use the site wide error handler like Justin described.

 
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Munson, Jacob [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 19, 2005 11:21 AM
To: CF-Talk
Subject: RE: Using try/catch all over the place a good thing?

I had a very funny experience with cftry/catch.  I was taking
responsibility for a huge and kludgey application that was the result of
2-3 different developers over time.  The developer before me had put
try/catches all over the place.  They just caught 'any' and emailed him
the error.  I wasn't really paying attention to this until one day I
accidentally created an infinite loop on a page.  I was trying to figure
out why my page was just sitting and spinning with nothing happening,
then I decided it must be stuck in a loop.  No big deal, I fixed it and
moved on.  A couple of hours later I got a call from the previous
developer, who had just received 2-3 thousand emails from the app!
Serves him right for setting it up that way.  :-D

 -Original Message-
 From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, October 19, 2005 6:46 AM
 To: CF-Talk
 Subject: RE: Using try/catch all over the place a good thing?
 
 I missed commenting on the EVERYTHING since I thought he was 
 looking for a
 solution to this...
 
  I can see a problem though where the cffile might 
  work, then the query fails but you don't know it
 
 
  you probably want to let the user know about it 
 Usually, yes, but again, there are plenty of occassions where 
 you do not
 want to do that or do not want to interrupt the remaining 
 experience because
 of a trivial error.
 
 As for the planets being aligned... I usually just tell them 
 they have to
 hold their mouth right when surfing  lol
 
 ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
 Bobby Hartsfield
 http://acoderslife.com

This transmission may contain information that is privileged, confidential
and/or exempt from disclosure under applicable law. If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission
in error, please immediately contact the sender and destroy the material in
its entirety, whether in electronic or hard copy format. Thank you. A1.





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221522
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Using try/catch all over the place a good thing?

2005-10-19 Thread Bobby Hartsfield
Well put. I believe I may just stop including any details at all in my error
emails after reading that but instead, as you described, just send an email
that says basically, 'you’ve got errors at mysite.com'. And then just build
a reusable error interface component for my sites.

It would...
A) keep me from building the elaborate outlook folder structure to hold any
error emails that might be triggered by the error handlers of my sites

B) Keep the errors located at their origin and easily found

C) Give the resources for a better error ticket reporting method and track
history of the application.

Thanks for that input.

..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com


-Original Message-
From: Matt Robertson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 19, 2005 12:48 PM
To: CF-Talk
Subject: Re: Using try/catch all over the place a good thing?

Another consequence of emailing errors, if you are sending diagnostic
info with the error (and you should be), you could be emailing
passwords, credit card numbers etc. etc. that are passed in the form
scope.  Consider that when developing your error handling.  I like to
store them in a db, with a fallback to a write to disk.  I only email
myself a 'you've got errors' email, if I send the email at all as
opposed to checking the log (I use a server monitor to find things
like dead db's killing the site).  Hand in hand with that is a
cfscheduled task that deletes all errors older than X days.

Also, consider using a site wide error handler AND a cferror tag AND,
on a granular level, cftry/cfcatch.  Use cftry/cfcatch to protect
individual blocks of code where you want a specific error handled a
specific way (like a mime type failure on an upload).  Use cferror as
your application's general error handler and use a sitewide handler to
bat cleanup in case something goes wrong with Plans A and B.

--
--mattRobertson--
Janitor, MSB Web Systems
mysecretbase.com



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221523
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Unit testing sucks?

2005-10-19 Thread Munson, Jacob
 From: Tom Kitta
 
 I hope this is not some kind of invitation to a flame war, 

Not at all.  In fact, I've been hoping to get into unit testing when I
have some free time.  Now that I saw this blog entry stating that there
are much more efficient/effective ways to test your code, I'm not sure I
still want to take a look at projects like CFUnit.  But I am completely
ignorant of the issues surrounding unit testing, so please correct me if
I'm throwing the baby out with the bath water.  :)

 
  http://wilshipley.com/blog/2005/09/unit-testing-is-teh-suck-urr.html
 

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221524
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Dreamweaver, Homesite+ 5.5, Eclipse?

2005-10-19 Thread Claude Schneegans
 The possibilities of flex builder and the CF to Flex bridge really 
excite me

Excuse my ignorance, but what does Flex Builder build?

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221525
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Gvt Agency/Bureau data

2005-10-19 Thread Michael T. Tangorre
 From: Dave Watts [mailto:[EMAIL PROTECTED] 
 I don't know if this'll be helpful at all, since it's just a list of
 agencies:
 http://www.whitehouse.gov/government/independent-agencies.html

Thanks Dave. Unfortunately that won't work. The data I am looking for is in
the format of

Agency Information
===
ID,AGENCY_NAME
1200,Department of Agriculture

Bureau Information
===
AGENCY_ID,BUREAU_ID,BUREAU_NAME
1200,1205,Rural Business Cooperative Service

We loaded all this information into a DB back in early 2003. Since then so
many agencies have been shifted around, etc, we are looking for the updated
data. It is such a pain to find... the Government used to have an old
version from 2002 available someplace, but that would do us no good as that
was the list we used in 2003.

The search continues,

Mike




~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221526
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Gvt Agency/Bureau data

2005-10-19 Thread Scott Stewart
Mike.. 

This might help you out

http://www.first.gov/Business/Business_Gateway.shtml


Scott A. Stewart
Cold Fusion Developer
 
GNSI
11820 Parklawn Dr
Rockville, MD 20852
(301) 770-9610  

-Original Message-
From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 19, 2005 2:32 PM
To: CF-Talk
Subject: RE: Gvt Agency/Bureau data

 From: Dave Watts [mailto:[EMAIL PROTECTED] 
 I don't know if this'll be helpful at all, since it's just a list of
 agencies:
 http://www.whitehouse.gov/government/independent-agencies.html

Thanks Dave. Unfortunately that won't work. The data I am looking for is in
the format of

Agency Information
===
ID,AGENCY_NAME
1200,Department of Agriculture

Bureau Information
===
AGENCY_ID,BUREAU_ID,BUREAU_NAME
1200,1205,Rural Business Cooperative Service

We loaded all this information into a DB back in early 2003. Since then so
many agencies have been shifted around, etc, we are looking for the updated
data. It is such a pain to find... the Government used to have an old
version from 2002 available someplace, but that would do us no good as that
was the list we used in 2003.

The search continues,

Mike






~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221527
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Gvt Agency/Bureau data

2005-10-19 Thread Ken Ferguson
Click on Contact Us at the GAO's site and see if anyone knows where you 
can find it.

Michael T. Tangorre wrote:

From: Dave Watts [mailto:[EMAIL PROTECTED] 
I don't know if this'll be helpful at all, since it's just a list of
agencies:
http://www.whitehouse.gov/government/independent-agencies.html



Thanks Dave. Unfortunately that won't work. The data I am looking for is in
the format of

Agency Information
===
ID,AGENCY_NAME
1200,Department of Agriculture

Bureau Information
===
AGENCY_ID,BUREAU_ID,BUREAU_NAME
1200,1205,Rural Business Cooperative Service

We loaded all this information into a DB back in early 2003. Since then so
many agencies have been shifted around, etc, we are looking for the updated
data. It is such a pain to find... the Government used to have an old
version from 2002 available someplace, but that would do us no good as that
was the list we used in 2003.

The search continues,

Mike






~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221528
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Could not unlock the named lock

2005-10-19 Thread Ryan Duckworth
Has anyone seen an error similar to this before?

Could not unlock the named lock 623068599CLIENTSCOPESERVICE because no
lock is known by that name.

CF7, Win 2003 Server

Thanks,

Ryan Duckworth
Macromedia ColdFusion Certified Professional

Uhlig Communications
10983 Granada Lane
Overland Park, KS 66211
(913) 754-4272

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221529
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Test Post

2005-10-19 Thread Bob Clingan
A test post from my gmail account.

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221530
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Gvt Agency/Bureau data

2005-10-19 Thread Michael T. Tangorre
 From: Ken Ferguson [mailto:[EMAIL PROTECTED] 
 Click on Contact Us at the GAO's site and see if anyone knows 
 where you can find it.

GAO? You lost me.




~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221531
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Server Just Hung after 7.01 update, administration help

2005-10-19 Thread Anthony Prato
Our CF standard server just hung, and I don't know why. I'm trying to
find out in the error logs but I'm not sure where to look. Also,
besides the CF error logs where should I be checking? I looked at the
event log (win2k) and didn't see anything. I can't figure out why it
hung! Any admin tips would be great.

Anthony

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221532
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Test Post

2005-10-19 Thread Barney Boisvert
A test from mine too.  Can someone (bob?) please reply to me off-list
if/when they get this?

thanks,
barneyb

On 10/19/05, Bob Clingan [EMAIL PROTECTED] wrote:
 A test post from my gmail account.


--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221533
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Gvt Agency/Bureau data

2005-10-19 Thread Scott Stewart
General Accounting Office

Should be 

http://www.goa.gov

Scott A. Stewart
Cold Fusion Developer
 
GNSI
11820 Parklawn Dr
Rockville, MD 20852
(301) 770-9610  

-Original Message-
From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 19, 2005 2:44 PM
To: CF-Talk
Subject: RE: Gvt Agency/Bureau data

 From: Ken Ferguson [mailto:[EMAIL PROTECTED] 
 Click on Contact Us at the GAO's site and see if anyone knows 
 where you can find it.

GAO? You lost me.






~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221534
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Server Just Hung after 7.01 update, administration help

2005-10-19 Thread Dan Phillips
Our CF standard server just hung, and I don't know why. I'm trying to
find out in the error logs but I'm not sure where to look. Also,
besides the CF error logs where should I be checking? I looked at the
event log (win2k) and didn't see anything. I can't figure out why it
hung! Any admin tips would be great.

Anthony

Are you getting any errors at all or are the pages just never loading?


Dan Phillips
[EMAIL PROTECTED]
CFXHosting.com
a division of Hosting.com

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221535
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT: Unit testing sucks?

2005-10-19 Thread Sean Corfield
On 10/19/05, Munson, Jacob [EMAIL PROTECTED] wrote:
 This guy thinks unit testing is way overrated and a waste of time:

Well, that's not really what he's saying... his real objection is that
unit testing *tools* suck and that developers just don't know how to
write automated tests. And I agree with him. He says (repeatedly)
testing is very important and you must test, test, test.

Unit tests are very valuable *if* they are set up correctly but most
test harnesses are a pain in the @$$ to use and in order to write test
cases you often end up writing even more code than your original code
base which, of course, does seem pretty dumb...
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221536
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SOT: Image (or File) Organizer

2005-10-19 Thread George Abraham
Well,
I answered my own question. Here are two JS libraries that do this in a
pretty useful manner. They might be good additions to your tool library.

1. One is at http://script.aculo.us/ and the specific tool that does what I
want is at: http://wiki.script.aculo.us/scriptaculous/show/SortableListsDemo
2. The other is at: http://tool-man.org/examples/ and the specific tool I
needed is at: http://tool-man.org/examples/sorting.html.

George

On 10/18/05, George Abraham [EMAIL PROTECTED] wrote:

 All,
 One of the apps I am working on involves a fair bit of file-management.
 Most of the files are images or media like audio/video clips. Occasionally
 one of the bunches of files have to organized in some fashion involving
 order of display. I can hack around with JavaScript and have a select list
 populated with the filenames and have the users manipulate it using buttons.
 But a better solution would be where they can see image representations of
 the files (or images) and manipulate/organize them by click and drag. So
 obviously I either need something in Flash or a Java applet that would do
 this. Are there any such scripts or swfs out there that anyone is aware of?
 Keep in mind that the script/swf would have to be part of a form that the
 user would ultimately submit to update their display order in a database.

 Thanks,
 George



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221537
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: OT: Unit testing sucks?

2005-10-19 Thread Munson, Jacob
So I'm pretty new to the concept of 'unit testing', but I ALWAYS do
extensive testing of my apps.  I was under the impression that unit
testing was always done with a product or tool, and that is what the
author is saying stinks.  Am I way off base?

Say for example that I write a spider that crawls my site and nails
every user input point with specific and/or random data.  I can either
look at the database/logs, or write an error handler in my tester to
tell me when it finds problems.  Is this unit testing?

 -Original Message-
 From: Sean Corfield [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, October 19, 2005 1:19 PM
 To: CF-Talk
 Subject: Re: OT: Unit testing sucks?
 
 On 10/19/05, Munson, Jacob [EMAIL PROTECTED] wrote:
  This guy thinks unit testing is way overrated and a waste of time:
 
 Well, that's not really what he's saying... his real objection is that
 unit testing *tools* suck and that developers just don't know how to
 write automated tests. And I agree with him. He says (repeatedly)
 testing is very important and you must test, test, test.
 
 Unit tests are very valuable *if* they are set up correctly but most
 test harnesses are a pain in the @$$ to use and in order to write test
 cases you often end up writing even more code than your original code
 base which, of course, does seem pretty dumb...
 --

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221538
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Test Post

2005-10-19 Thread Ryan Guill
I have been having trouble as well.  Will someone reply to this off
list if you get this please?

On 10/19/05, Barney Boisvert [EMAIL PROTECTED] wrote:
 A test from mine too.  Can someone (bob?) please reply to me off-list
 if/when they get this?

 thanks,
 barneyb

 On 10/19/05, Bob Clingan [EMAIL PROTECTED] wrote:
  A test post from my gmail account.
 

 --
 Barney Boisvert
 [EMAIL PROTECTED]
 360.319.6145
 http://www.barneyb.com/

 Got Gmail? I have 100 invites.

 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221539
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Template cache problem

2005-10-19 Thread Rich Brant
Hi all, 

I'm working on a cfml event gateway and am having issues getting CF to see
changes made to the CFC. The only way I can get CF to see the changes is to
restart cf sever or hit the 'clear template cache' button.  I've got
'Maximum number of cached templates' set to zero and have restarted CF
server. So one would expect the effect of hitting the 'clear template cache'
button to be unnecessary, right?

'Trusted cache', 'Save class files' and 'Cache web server paths' are all
unchecked. I can also verify that no class files are being stored.  And this
behavior is not found in any other CFCs.  Also, in case someone is
wondering, the CFC is not stored in application or session scope. Any ideas
here? Thanks.

I'm running CF7, btw (7,0,0,91690)

-Rich


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221540
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT: Unit testing sucks?

2005-10-19 Thread Joe Rinehart
 Well, that's not really what he's saying... his real objection is that
 unit testing *tools* suck and that developers just don't know how to
 write automated tests.

I agree with that - but do you think it's the developer's fault?  In
the end, I think they must be at least partially accountable, given
that they're the ones writing the tests.  However, I have noticed an
increase in the marketing schpeal for testing tools recently that
promise nirvana - and I can't help but think that IT managers
contribute to the problem by believing them.


 Unit tests are very valuable *if* they are set up correctly but most
 test harnesses are a pain in the @$$ to use and in order to write test
 cases you often end up writing even more code than your original code

My old company wrote unit tests that were very silly.  (It suited
them).  For each business object you wrote, you had to check in a
unit test that (at minimum) tested:  getter/setter of each property
(kind of silly in C#, really, because you're testing the language
itself at that point...), and that BO's ability to CRUD itself
(please, don't ask why it could do that.)

Given that the overarching framework was a bear and those were the
minimum test requirements, nobody ever wrote tests against the BO's
ability to perform the logic they were intended to do - which is where
I think unit tests become valuable!

However, I recently had to crank out an application in a very short
timespan - the UI was likely to be decided at the last minute, but the
business requirements were known and well defined from the start.  We
wrote semantical/logical test harnesses (tested business processes,
not getter/setters!), fulfilled them, then glued on the UI to the
resultant model, and had a very successful launch: the UAT team
reported one bug.

I think Unit tests are like many of the other tools we discuss (OO,
design patterns, flash, ruby on rails)...you're as likely to shoot
yourself in the foot as you are to accomplish anything unless you
learn about and think about what you're doing.

-Joe

--
Get Glued!
The Model-Glue ColdFusion Framework
http://www.model-glue.com

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221541
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT: Unit testing sucks?

2005-10-19 Thread Paul Kenney
Sean, I certainly hope you include the testing tools in coldfusion as well
when you say they are hard to use. I agree that there is a lot of code that
is written to put together automated tests, but the long-term benefit tends
to be worth it if the tests are maintained along with the code they verify.

Yes, it should be easier, but how?

On 10/19/05, Munson, Jacob [EMAIL PROTECTED] wrote:

 So I'm pretty new to the concept of 'unit testing', but I ALWAYS do
 extensive testing of my apps. I was under the impression that unit
 testing was always done with a product or tool, and that is what the
 author is saying stinks. Am I way off base?

 Say for example that I write a spider that crawls my site and nails
 every user input point with specific and/or random data. I can either
 look at the database/logs, or write an error handler in my tester to
 tell me when it finds problems. Is this unit testing?

  -Original Message-
  From: Sean Corfield [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, October 19, 2005 1:19 PM
  To: CF-Talk
  Subject: Re: OT: Unit testing sucks?
 
  On 10/19/05, Munson, Jacob [EMAIL PROTECTED] wrote:
   This guy thinks unit testing is way overrated and a waste of time:
 
  Well, that's not really what he's saying... his real objection is that
  unit testing *tools* suck and that developers just don't know how to
  write automated tests. And I agree with him. He says (repeatedly)
  testing is very important and you must test, test, test.
 
  Unit tests are very valuable *if* they are set up correctly but most
  test harnesses are a pain in the @$$ to use and in order to write test
  cases you often end up writing even more code than your original code
  base which, of course, does seem pretty dumb...
  --

 This transmission may contain information that is privileged, confidential
 and/or exempt from disclosure under applicable law. If you are not the
 intended recipient, you are hereby notified that any disclosure, copying,
 distribution, or use of the information contained herein (including any
 reliance thereon) is STRICTLY PROHIBITED. If you received this transmission
 in error, please immediately contact the sender and destroy the material in
 its entirety, whether in electronic or hard copy format. Thank you. A1.



 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221542
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Server Just Hung after 7.01 update, administration help

2005-10-19 Thread Anthony Prato
pages just were not loading, cf admin wasn't loading, jrun wasn't
taking much memory, jrun had 0 CPU time. A restart of the service
fixed the problem. I know it was working at 10:30, the problem was
reported to me around 11 but there is nothing suspicious in the error
logs. Are there any other ways to see what coldfusion is doing besides
task manager and just opening a page? Are there any logs to look at
besides the ones listed in the cf administrator?

On 10/19/05, Dan Phillips [EMAIL PROTECTED] wrote:
 Our CF standard server just hung, and I don't know why. I'm trying to
 find out in the error logs but I'm not sure where to look. Also,
 besides the CF error logs where should I be checking? I looked at the
 event log (win2k) and didn't see anything. I can't figure out why it
 hung! Any admin tips would be great.
 
 Anthony

 Are you getting any errors at all or are the pages just never loading?


 Dan Phillips
 [EMAIL PROTECTED]
 CFXHosting.com
 a division of Hosting.com

 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221543
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


  1   2   >