Rick,

Ya, I thought of that after I sent it.  But then you have to hard code
exactly what you want, whether it be caller. or caller.caller.  In my
experience it has been better to just stay away.

Thanks,

Craig

-----Original Message-----
From: Rick Lamb [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 02, 2000 11:24 AM
To: Fusebox
Subject: RE: my dumb question [solved]


Actually it will work, you would just need to add another level to the
caller scope, caller.caller.variable.

FYI

Rick

-----Original Message-----
From: craig girard [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 02, 2000 11:05 AM
To: Fusebox
Subject: RE: my dumb question [solved]


Brian,

Very bizarre, REQUEST should work.  CALLER will work for one level up from
the custom tag, but as a personal design issue, is something I like to stay
away from unless using it to pass back variables to the calling file.  If
that code gets called from within another custom tag CALLER scope will not
work.

Craig

-----Original Message-----
From: Brian Klotzman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 02, 2000 11:45 AM
To: Fusebox
Subject: Re: my dumb question [solved]



--------------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.&nbsp; I had already tried request and attributes.&nbsp; 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:brian.klotzman@power
upnetworks.com</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.&nbsp; 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>&lt;cfswitch expression="#attributes.fuseaction#">
<br>&nbsp;&lt;cfcase value="newsite">
<br>&nbsp; &lt;cfinclude template="dsp_newsite.cfm">
<br>&lt;/cfcase>
<br>......
<p>But when I change it to:
<p>&lt;cfswitch expression="#attributes.fuseaction#">
<br>&nbsp;&lt;cfcase value="newsite">
<br>&nbsp;&nbsp; &lt;cfmodule template="dsp_newsite.cfm"
<br>&nbsp;&nbsp; action="blank"
<p>fieldlist="siteid,sitecontact,phone,installaddress,installaddress2,instal
lci
<br>ty,installstate,installcountry,installpostalcode,sameship,shipaddress,sh
ipad
<br>dress2,shipcity,shipstate,shipcountry,shippostalcode">
<p>&nbsp; &lt;/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.&nbsp;&nbsp; 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/fusebo
x">http://www.houseoffusion.com/index.cfm?sidebar=lists&amp;body=lists/fuseb
ox</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/fusebo
x">http://www.houseoffusion.com/index.cfm?sidebar=lists&amp;body=lists/fuseb
ox</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>&nbsp;</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.

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

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