>>Never use evaluate when you don't need to.
When do you need to?

? processing CFML contained in a variable?

Eric Dawson



From: "Raymond Camden" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: CF-Talk <[EMAIL PROTECTED]>
Subject: RE: CFWDDX problem
Date: Thu, 20 Sep 2001 09:19:06 -0400

No, no no. Please do not use evaluate. Please use [] notation.

Again, this is not meant to put you down, Mike, in any way, but as I
said, I see _way_ too many people doing this. In fact, 3 people replied
to cf-talk suggesting evaluate. Never use evaluate when you don't need
to.

=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email    : [EMAIL PROTECTED]
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda

 >
 > > <cfwddx action="CFML2WDDX" output="UserDataPacket"
 > > input="#evaluate('application.um.' & UmID & '_Data')#">
 >
 > might help you out.
 >
 > > -----Original Message-----
 > > From: Mike Kear [mailto:[EMAIL PROTECTED]]
 > > Sent: 20 September 2001 13:49
 > > To: CF-Talk
 > > Subject: CFWDDX problem
 > >
 > >
 > > CFWDDX problem.. What do I do about this?   I want to turn a
 > > struct into a
 > > WDDX packet, but the name of the struct is dymanic, based on
 > > the user id.
 > >
 > >
 > > The struct is called:   application.um.#UmID#_Data
 > >
 > > and the CFWDDX tag is as follows:
 > >

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to