Perfectly good example.  One thing to remember just in case the code below
confuses you a bit here's some things to remember.

the app_globals.cfm code is the most important, it goes at the top of the
template, I usually put it right aboved the <cfapplication> tag.

There are a few other gems in there, but its main goal in life is to just
keep attributes. scoped copies of all form. and url. scoped variables coming
in.

If you have url.MyFavorite="ice cream" or form.MyFavorite="ice cream"  then
you will also have a new variable called attributes.MyFavorite that will
also have "ice cream" as its value.

It synches up or rather starts them all over each time the page loads so you
never have to worry about the copies getting out of synche as they come in.

Fred

----- Original Message -----
From: "Felix Huber" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 15, 2000 1:20 PM
Subject: Re: Need to toggle URL and FORM vars


> > Fred,
> >
> > Thanks, can you give my a quick example?  I'm not sure I understand.
> >
> > --RC
>
> Hope I can help you:
>
> ---app_globals.cfm----
> <cfif NOT isdefined("ATTRIBUTES.fuseaction")>
>  <cf_formurl2ATTRIBUTES>
> </cfif>
>
> ---dsp_page.cfm----
> <cfoutput>#attribtues.text#</cfoutput>
>
>
> URL and Form Calls will work...
> ( index.cfm?fuseaction=yourfuse&text=Hello World
> and
> <input type="hidden" name="text" value"Hello World"> )
>
> Greets,
> Felix
>
> -------------------------------------------------------
> Felix Huber, Web Application Programmer, Webtopia
> Guendlinger Str.2, 79241 Ihringen - Germany
> [EMAIL PROTECTED]        (07668)  951 156 (phone)
> http://www.webtopia.de        (07668)  951 157 (fax)
>                               (01792)  205 724 (mobile)
> -------------------------------------------------------
>
>
>
> --------------------------------------------------------------------------
----
> 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