Check out the variables scope document that TeraTech put together for the MDCFUG:
http://www.cfug-md.org/articles/scope_worksheet.PDF
and
http://www.cfug-md.org/articles/scope_STORAGE_analysis.PDF
At 02:14 PM 11/14/00 -0500, Greg Wolfinger wrote:
>This is a multi-part message in MIME format.
>
>------=_NextPart_000_0007_01C04E45.4397B6A0
>Content-Type: text/plain;
> charset="iso-8859-1"
>Content-Transfer-Encoding: quoted-printable
>
>Hey Guys:
>
>I've just started to research the fusebox methodologies and have found =
>them very helpful. I picked up a copy of the new book when I was at the =
>developer conference last week. The only part that is really throwing =
>me off is the variable scoping.
>
>It says to use the Attributes and Request scoping for variables. Say I =
>had a action file (act_nav-trail.cfm) that is used like a custom tag to =
>create or append a session variable that keeps track of the users =
>navigation throughout the site.
>
>That action file spits back to the calling template (i.e. the index.cfm =
>file) a variable called navTrail that is then passed to my display =
>(dsp_nav-trail.cfm) file. In the action file should I set the variable =
>to Caller.Request.navTrail or Caller.Attributes.navTrail or just =
>Caller.navTrail?? Thanks, also if you know of any really good visuals on =
>the web that helps dipict the fusebox scoping methodologies it would be =
>most appreciated.
>
>Best Regards,
>
>
>Greg
>
>------=_NextPart_000_0007_01C04E45.4397B6A0
>Content-Type: text/html;
> charset="iso-8859-1"
>Content-Transfer-Encoding: quoted-printable
>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>Hey Guys:
>
>I've just started to research the = fusebox=20 methodologies and have found them very
>helpful. I picked up a copy = of the=20 new book when I was at the developer
>conference last week. The = only part=20 that is really throwing me off is the
>variable scoping.
>
>It says to use the Attributes and = Request scoping=20 for variables. Say I had a
>action file (act_nav-trail.cfm) that is = used=20 like a custom tag to create or
>append a session variable that keeps = track of the=20 users navigation throughout
>the site.
>
>That action file spits back to the = calling template=20 (i.e. the index.cfm file) a
>variable called navTrail that is then passed = to my=20 display (dsp_nav-trail.cfm)
>file. In the action file should I set = the=20 variable to Caller.Request.navTrail
>or Caller.Attributes.navTrail or = just=20 Caller.navTrail?? Thanks, also if you know
>of any really good visuals on = the web=20 that helps dipict the fusebox scoping
>methodologies it would be most=20 appreciated.
>
>Best Regards,
>
>
>Greg
>
>------=_NextPart_000_0007_01C04E45.4397B6A0--
>
>------------------------------------------------------------------------------
>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.
====================================================
Douglas M. Smith - Database Architect/Web Integration Specialist
====================================================
TERATECH, INC. - TOOLS FOR PROGRAMMERS(tm)
VisualBasic, Web (ColdFusion and ASP), Math and Statistics,
Access, SQL, programming tools & consulting
100 Park Ave, Suite 360, Rockville MD 20850 USA
Voice: 301-424-3903, Fax: 301-762-8185
http://www.teratech.com
====================================================
Email: [EMAIL PROTECTED]
Mobil/Cell Phone: (240) 601-5520
ICQ: 41044319
====================================================
Do you need a group calendar or scheduler?
How about a free ColdFusion Tag and Function Reference?
Go to http://www.teratech.com/freestuff.cfm
====================================================
------------------------------------------------------------------------------
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.