Nothing wrong with that at all.

-----Original Message-----
From: Joseph Thompson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 12:46 AM
To: Fusebox
Subject: Sending a value to an "fuse action"


Easy enough to do but... I am trying to do this the "standards" way.

I have a template that "logs-in" a user.  On success, I want to direct them
to a "generic" success page. On the dspRegister.cfm page I am using:

#self#?FuseAction=Message&message=Registered

to send them to the "dspMessage" page.

The #self # (index.cfm) page has this:

  <cfcase value="Message">
   <cfparam name="message" default="Thank You">
   <cfset Request.Message=Message>
   <cfinclude template="dspMessage.cfm">
  </cfcase>

This works great.  The dspMessage page recieves either the default "Thank
You" or whatever I sent to it from the login page (in this case
"Registered")

Am I breaking any rules? is there another convention I should be using?

Is it really this easy?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to