You're CFPARAMing the attributes.fuseaction _before_ you include the
app_globals, and therefore _before_ your call to formURL2attributes.
Try swopping the CFINCLUDE and CFPARAM....

<CFINCLUDE TEMPLATE="app_globals.cfm">

<CFPARAM NAME = "attributes.fuseaction" DEFAULT="Page1">

<CFSWITCH EXPRESSION="#attributes.fuseaction#">

Bert

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 10 November 2000 14:22
> To: Fusebox
> Subject: Problem With CF_FORMURL2ATTRIBUTES?
> 
> 
> Listers:
> 
> I'll try posting this again.  The templates in the first version were 
> truncated.
> 
> You can see the following in action at http://www.erovera.com/ I'm
> trying to figure out how to maintain state without using 
> Cookies. The problem
> is that this test app is not finding a value for 
> attributes.fuseaction from 
> the HREF in Page1.cfm (Page1.cfm is what you see at 
> http://www.erovera.com/) and so the link on Page1.cfm is not 
> transferring 
> to show Page2.cfm
> 
> Any suggestions?
> 
> best, paul
> 
> 
> =========================================
> <!--- This is app_globals.cfm --->
> 
> <
>          CFAPPLICATION CLIENTMANAGEMENT="Yes"
>          SESSIONMANAGEMENT="Yes"
>          SETCLIENTCOOKIES="No"
>          NAME="TestNadaCookies"
>          CLIENTSTORAGE="CVR"
>  >
> 
> <CF_FORMURL2ATTRIBUTES>
> 
> =========================================
> <!--- This is index.cfm --->
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD><TITLE>Test</TITLE><BASE 
> HREF="http://www.erovera.com/"></HEAD><BODY>
> 
> <CFPARAM NAME = "attributes.fuseaction" DEFAULT="Page1">
> 
> <CFINCLUDE TEMPLATE="app_globals.cfm">
> 
> <CFSWITCH EXPRESSION="#attributes.fuseaction#">
>          <CFCASE VALUE="Page1">
>          <CFINCLUDE TEMPLATE="page1.cfm">
>          </CFCASE>
>          <CFCASE VALUE="Page2">
>          <CFINCLUDE TEMPLATE="page2.cfm">
>          </CFCASE>
> </CFSWITCH>
> </BODY></HTML>
> 
> ==============================================
> <!--- This is Page1.cfm --->
> <cfoutput>This is Page1.cfm  Click <a 
> href="/index.cfm/Fuseaction/Page2/CFID/#CFID#/CFTOKEN/#CFTOKEN
> #">here</a> 
> to go to Page 2</cfoutput>
> 
> ==============================================
> <!--- This is Page2.cfm --->
> <cfoutput>This is Page2.cfm  Click <a 
> href="/index.cfm/Fuseaction/Page1/CFID/#CFID#/CFTOKEN/#CFTOKEN
> #">here</a> 
> to go to Page 2</cfoutput>
> 
> 
> --------------------------------------------------------------
> ----------------
> 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