I'm with nat on this one..
A neater way to do this is (e.g.) to set
attributes.pageStyle="centered" in one cfcase where
the file in question is included, and set it to "left"
in another, and then base the conditionals in your dsp
file on the attributes.pageStyle variable instead of
the fuseaction. This makes your application more
easily modified from the index and helps prevent acne
and hair loss.
--- Jeffrey Marsh <[EMAIL PROTECTED]> wrote:
> In most cases you'd probably use <cfcase> in your
> index.cfm. But I have done
> the <cfif> thing in dsp files too. Sometimes I set
> the fuseaction to
> something other than what is in the index.cfm before
> including the dsp file.
> This helps me keep dsp files separate from the
> actions in the index.cfm
>
> --
> Jeffrey B. Marsh
> Amateurs built the Ark.
> Professionals built the Titanic.
>
> -----Original Message-----
> From: Huffnagle, Ralph
> [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 27, 2000 8:39 AM
> To: Fusebox
> Subject: Using fuseaction in <CFIF>
>
> I have been using statements like the following in
> some of dsp files:
>
> <cfif attributes.fuseaction eq "Action1">
> <td>#display1#</td>
> </cfif>
>
> Everytime I do it, I get the feeling that I
> shouldn't be. Is there anything
> wrong with using attributes.fuseaction in a <CFIF>?
> I am trying to reuse
> dsp files, but the one fuseaction needs to show one
> more piece of
> information.
>
> Thanks,
>
> Ralph
>
----------------------------------------------------------------------------
> --
> 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.
=====
Ken Beard, Developer
Stampede Network
Tampa, FL
(813)622-7655 ext.246
[EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE.
http://im.yahoo.com/
------------------------------------------------------------------------------
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.