Jon,
just for reference, but your use of <cfparam name="field1" default=""> makes
the need for the soon-thereafter <cfif IsDefined("field1")> unnecessary :)
The <cfparam> ensures the existance of the variable after that point and
testing for it is redundant. (And the time taken to test for such things is
NOT trivial-- I think Dinowitz did a timing study on this about 2 years ago
that showed a marked improvement for substituting IsDefined with Cfparam
wherever possible)
----- Original Message -----
From: "Jon Hall" <[EMAIL PROTECTED]>
Sent: Wednesday, January 03, 2001 7:24 PM
Subject: Re: Anybody using <cf_htmlarea_one> interested in helping?
> Well I played with it awhile back and got the free version working without
> any problems. Anyway I'll just copy my code below, make of it what you
will
> ..
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <cfparam default="" name="field1">
> <html>
> <head>
> <title>Untitled</title>
> </head>
>
> <body>
> <CFIF IsDefined("field1")>
(...rest snipped...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists