Use it all the time,

 

See no reason not to other than where <cfparam is more logical.

 

Ie

 

<cfparam name="form.checkBoxName" default="false" />

 

Instead of

 

<cfif NOT isDefined("form.checkBoxName")>

     <cfset form.checkBoxName = "false" />

</cfif>

 

 

Regards

Dale Fraser

 

http://dalefraser.blogspot.com

 

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of grant
Sent: Monday, 4 June 2007 4:42 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] isDefined() bad?

 

Hi All

My patchy memory keeps nagging at me not to use isDefined().
Am I off-base or do I remember something about it being best-practice to
avoid isDefined()?

Who's got the low-down?
Grant



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to