Brian,
I wonder if part of your problem is what you're calling with cfmodule. If
you really need to use that kind of call (rather than include), then you
want to call index and pass the fuseaction that would include your dsp_
page. If you do it that way, you will get the full fusebox environment -
assuming of course you're calling app_globals from your index.
That's my thought anyway; I'd be interested to hear if my views on cfmodule
use aren't 'standard' [really gotta read that book, I guess]
Kevin
--------------------------
Kevin Marshall
Web Application Developer
eCalton.com, Inc.
Vero Beach, FL
www.ecalton.com
[EMAIL PROTECTED]
561.569.4500
Brian Klotzman
<brian.klotzman@powerupnet To: Fusebox
<[EMAIL PROTECTED]>
works.com> cc:
Subject: my dumb question
11/02/00 11:21 AM
Please respond to fusebox
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,installcity,installstate,installcountry,installpostalcode,sameship,shipaddress,shipaddress2,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.