Julian,

If you look at the code on the wiki page, I have a <cfthrow>
tag that reports an invalid fuseaction. You can replace that
line with whatever code you want.

What version of CF are you using? I've only tested the code
on CF5, but I'm sure it could be modified so that it works
on 4.xx, if it doesn't already

Patrick

> -----Original Message-----
> From: Julian Halliwell [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 25, 2002 7:37 AM
> To: [EMAIL PROTECTED]
> Subject: FaFiles: handling defaults
> 
> 
> Patrick, I'm trying out your idea of dynamically including a single
> "fa_#fusebox.fuseaction#.cfm" file for each fuseaction in 
> fbx_switch.cfm
> (see http://www.meta-magic.com/cgi-bin/fusewiki?FaFiles) and 
> can see the
> advantages.
> 
> What's the best way of implementing defaults though if I 
> don't want missing
> include errors to be thrown where the fuseaction passed 
> doesn't match an fa_
> file? I had a system going for channelling any URL 
> typos/missing elements
> etc into the defaultcase of the switch but it doesn't seem to 
> work with this
> approach.
> 
> I'm sure it's not too difficult to set up some defaults but 
> just wondered if
> you'd already settled on something.
> 
> Julian.
> 
> 

==^================================================================
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
==^================================================================

Reply via email to