Right - think about it - cfparam says, "If foo doesn't exist, make it."
So, only the first cfparam will do anything.

=======================================================================
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 

> -----Original Message-----
> From: Tony Schreiber [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, January 31, 2002 11:06 AM
> To: CF-Talk
> Subject: CFPARAM Question
> 
> 
> Do subsequent CFPARAMS of the same variable overwrite each other? I
> thought so, but they don't seem to.
> 
> <CFPARAM NAME="foo" DEFAULT="bar">
> 
> .. later ...
> 
> <CFPARAM NAME="foo" DEFAULT="boo">
> 
> If I check for foo it's still "bar" instead of "boo"...
> 
> Is there a way to duplicate my intended behavior another way?
> 
> Tony Schreiber, Senior Partner                  Man and 
> Machine, Limited
> mailto:[EMAIL PROTECTED]                   
> http://www.technocraft.com
> 
http://www.simplemessageboard.com 
___Free Forum Software for Cold Fusion
http://www.is300.net ___________The Enthusiast's Home of the Lexus IS300
http://www.digitacamera.com ______________DigitA Camera Scripts and Tips
http://www.linklabexchange.com _____________Miata Link ECU Data Exchange

______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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