So.. wrap a <cfoutput>#attributes.ButtonData#</cfoutput> before the 
<cfset> and see what you're getting.  If you're getting the same error, 
you're overwriting something somewhere.  If you are indeed getting 
something, wrap an <cfoutput>#ButtonData#</cfoutput> below the <cfset> and 
see what's going on.

Not sure why you wouldn't just leave it in the 'attributes' scope though?  
Not really hurting anything to do such.

~Todd

On Mon, 8 Jul 2002, Thane Sherrington wrote:

> I'm trying to use the CFMODULE tag to call a template and pass a string to 
> it.  I'm calling it like this:
> 
> <CFMODULE template="includes/EditButtons.cfm"
>       ButtonData="Add">
> 
> But when I try to access the ButtonData variable with this line:
> 
> <CFSET ButtonData="#Attributes.ButtonData#">
> 
> It tells me ColdFusion was unable to determine the value of the parameter.
> 
> This is in CF 5.
> 
> T

-- 
============================================================
Todd Rafferty ([EMAIL PROTECTED]) - http://www.web-rat.com/ |
        Team Macromedia Volunteer for ColdFusion           |
http://www.macromedia.com/support/forums/team_macromedia/  |
http://www.flashCFM.com/   - webRat (Moderator)            |
http://www.ultrashock.com/ - webRat (Back-end Moderator)   |
============================================================

______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.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