--------------47994D48B851FBA1B755612E
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Thanks all. I had already tried request and attributes. The answer was to scope with
caller.
Thanks,
Brian
Rick Lamb wrote:
> Well if your calling it using cfmodule that you will either have to include
> the dns as an attribute or use the caller scope to call the dns.
>
> Rick
>
> -----Original Message-----
> From: Brian Klotzman [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 02, 2000 10:21 AM
> 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.
--
Brian Klotzman
Senior Developer
PowerUp Networks
214-576-9878
--------------47994D48B851FBA1B755612E
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Thanks all. I had already tried request and attributes. The
answer was to scope with caller.
<p>Thanks,
<p>Brian
<p>Rick Lamb wrote:
<blockquote TYPE=CITE>Well if your calling it using cfmodule that you will
either have to include
<br>the dns as an attribute or use the caller scope to call the dns.
<p>Rick
<p>-----Original Message-----
<br>From: Brian Klotzman [<a
href="mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</a>]
<br>Sent: Thursday, November 02, 2000 10:21 AM
<br>To: Fusebox
<br>Subject: my dumb question
<p>Ok, this one is probably pretty dumb, but here goes anyway. I'm
<br>"re"working a partially written app into fusebox and I'm trying to
reuse
<br>a form I created (blank, query, etc.)
<p>Everything works fine like this:
<p><cfswitch expression="#attributes.fuseaction#">
<br> <cfcase value="newsite">
<br> <cfinclude template="dsp_newsite.cfm">
<br></cfcase>
<br>......
<p>But when I change it to:
<p><cfswitch expression="#attributes.fuseaction#">
<br> <cfcase value="newsite">
<br> <cfmodule template="dsp_newsite.cfm"
<br> action="blank"
<p>fieldlist="siteid,sitecontact,phone,installaddress,installaddress2,installci
<br>ty,installstate,installcountry,installpostalcode,sameship,shipaddress,shipad
<br>dress2,shipcity,shipstate,shipcountry,shippostalcode">
<p> </cfcase>
<br>......
<p>I get an error on dsp_newsite.cfm where it can't resolve my datasource
<br>name which is defined in app_globals.cfm.
<p>It would seem that the values from app_globals are not being called
when
<br>I use cfmodule, but my debug info shows that it did indeed call this
<br>file, it just seems to be dropping this one value. anyone
run into
<br>this before?
<p>Thanks
<p>--
<br>Brian Klotzman
<br>Senior Developer
<br>PowerUp Networks
<br>214-576-9878
<p>----------------------------------------------------------------------------
<br>--
<br>To Unsubscribe visit
<br><a
href="http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox">http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox</a>
or
<br>send a message to [EMAIL PROTECTED] with 'unsubscribe'
in
<br>the body.
<p>------------------------------------------------------------------------------
<br>To Unsubscribe visit <a
href="http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox">http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox</a>
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.</blockquote>
<p>--
<br>Brian Klotzman
<br>Senior Developer
<br>PowerUp Networks
<br>214-576-9878
<br> </html>
--------------47994D48B851FBA1B755612E--
------------------------------------------------------------------------------
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.