Hmm, depends on how you read the question doesn't it?
> > Quick (maybe stupid) question... where would oyu guys put the
> > returnfuseaction? The switch or the page called by the fuseaction?
Roel didn't stipulate whether he meant setting the returnfuseaction or
returning the fuseaction....my comment was referring to setting the
returnfusection, here's some live code:
<cfcase value="contact">
<cfif not isdefined("client.userid")>
<!--- set returnfuseaction --->
<cfmodule
template="#fusebox.rootpath#customtags/returnfuseaction.cfm" action="set"
gotourl="#self#?fuseaction=login.showlogin"
returnurl="#self#?fuseaction=#fusebox.thiscircuit#.contact&classified_id=#at
tributes.classified_id#">
<cfelse>
<cfset attributes.pagetitle = "Responding to
classified">
<cfinclude template="dsp_contact.cfm">
</cfif>
But then to return them after logging in, I use:
<cfmodule
template="#fusebox.rootpath#customtags/returnfuseaction.cfm"
action="return">
All works fine layouts wise, it's been working fine for months now....
JohnB.
> -----Original Message-----
> From: John Quarto-vonTivadar [mailto:[EMAIL PROTECTED]]
> Sent: 26 April 2002 11:16
> To: [EMAIL PROTECTED]
> Subject: Re: Returnfuseaction
>
>
> We're talking about the question 'when do I return to the
> fuseaction that CF_ReturnFuseaction is saving for me?', right?
>
> Don't you lose your layouts by putting it in the switch,
> John? If there is something inside CF_ReturnFuseaction to
> return to, then it cflocates to it, so any preceeding output
> would get killed. I think a better place would be inside the
> index.cfm file, right after the call to the core file. That
> way, you're completely done with the fusebox and you can
> cflocate *and* still do something with the preceeding output
> if need be.
>
> ----- Original Message -----
> From: "John Beynon" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, April 26, 2002 3:20 AM
> Subject: RE: Returnfuseaction
>
>
> > i use it in my switch...not sure if that's the best way -
> but it works
> > for me :)
> >
> > john.
> >
> > -----Original Message-----
> > From: Roel van der Hoeven [mailto:[EMAIL PROTECTED]]
> > Sent: 26 April 2002 08:15
> > To: [EMAIL PROTECTED]
> > Subject: Returnfuseaction
> >
> >
> > Quick (maybe stupid) question... where would oyu guys put the
> > returnfuseaction? The switch or the page called by the fuseaction?
> >
> > TIA Roeligan
> >
> >
> _____________________________________________________________________
> > This message has been checked for all known viruses by
> UUNET delivered
> > through the MessageLabs Virus Control Centre. For further
> information
> visit
> > http://www.uk.uu.net/products/security/virus/
> > <http://www.uk.uu.net/products/security/virus/>
> >
> >
> >
> >
> >
> _____________________________________________________________________
> > This message has been checked for all known viruses by
> UUNET delivered
> > through the MessageLabs Virus Control Centre. For further
> information
> visit
> > http://www.uk.uu.net/products/security/virus/
> >
>
>
>
> _____________________________________________________________________
> This message has been checked for all known viruses by UUNET
> delivered
> through the MessageLabs Virus Control Centre. For further
> information visit http://www.uk.uu.net/products/security/virus/
>
_____________________________________________________________________
This message has been checked for all known viruses by UUNET delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.uk.uu.net/products/security/virus/
==^================================================================
This email was sent to: [email protected]
EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9
Or send an email to: [EMAIL PROTECTED]
T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================