its probably a scoping issue. what scope is your dsn?
ie is it attributes.dsn 
i think it should be request.dsn 

-----Original Message-----
From: Brian Klotzman [mailto:[EMAIL PROTECTED]]
Sent: 02 November 2000 16:21
To: Fusebox
Subject: my dumb question


Ok, this one is probably pretty dumb, but here goes anyway.  I'm
"re"working a partially written app into fusebox and I'm trying to reuse
a form I created (blank, query, etc.)

Everything works fine like this:

<cfswitch expression="#attributes.fuseaction#">
 <cfcase value="newsite">
  <cfinclude template="dsp_newsite.cfm">
</cfcase>
......

But when I change it to:

<cfswitch expression="#attributes.fuseaction#">
 <cfcase value="newsite">
   <cfmodule template="dsp_newsite.cfm"
   action="blank"
 
fieldlist="siteid,sitecontact,phone,installaddress,installaddress2,installci
ty,installstate,installcountry,installpostalcode,sameship,shipaddress,shipad
dress2,shipcity,shipstate,shipcountry,shippostalcode">

  </cfcase>
......


I get an error on dsp_newsite.cfm where it can't resolve my datasource
name which is defined in app_globals.cfm.

It would seem that the values from app_globals are not being called when
I use cfmodule, but my debug info shows that it did indeed call this
file, it just seems to be dropping this one value.   anyone run into
this before?

Thanks

--
Brian Klotzman
Senior Developer
PowerUp Networks
214-576-9878


----------------------------------------------------------------------------
--
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to