This is not so easy to get working with Apache (which we were running on our
development server).  I eventually gave up.   It works fine with IIS (our
production server) however.  Just make sure you're calling the
formurl2attributes (can we make that name a little longer please?) as the
very first thing in your index.cfm, or an included file, before the
cfswitch.  Perhaps this is the errant block of code:
> <cfinclude template="app_globals.cfm">
> <!--- Form2URLAttributes --->

Are you putting the call to formurl2attributes in your app_globals? You have
a comment about the formurl2attributes custom tag, but no inclusion of it.
What web server software are you running on your NT box?

-Bill
www.brainbox.tv

----- Original Message -----
From: "Mike Collins" <[EMAIL PROTECTED]>
To: "Fusebox" <[EMAIL PROTECTED]>
Sent: Thursday, April 26, 2001 5:27 AM
Subject: Search Engine URL's


> I'm trying a very simple implementation of the
> Form2URLAttributes custom tag to produce Search Engine
> URL's with parameters delimited by slashes instead of
> characters. Unfortunately, I can't get it to work.
>
> The default fuseaction creates a list of links as shown
> below:
>
>  --this works:
> <a href="test.cfm?fuseaction=detail&code=#code#">#defn#</a>
>  --this doesn't
> <a href="test.cfm/fuseaction/detail/code/#code#">#defn#</a>
>
> Obviously #attributes.fuseaction# is not being set in the
> second URL shown above. Question is... why? Can anyone shed
> any light on this? Making this work would be much more
> pleasant than the alternative of static pages.
>
> I'm using a hosted account on NT and an Apache test server
> on Win98. Both servers produce the same results.
>
> <cfinclude template="app_globals.cfm">
> <!--- Form2URLAttributes --->
>
> <cfparam name="attributes.fuseaction" default="">
> <cfswitch expression="#attributes.fuseaction#">
>
> <cfcase value="detail">
> <!--- I never make it to this section --->
> <cfinclude template="dsp_detail.cfm">
> </cfcase>
> <cfdefaultcase>
> <cfinclude template="dsp_list.cfm">
> </cfdefaultcase>
> </cfswitch>
>
> Mike Collins, Web Developer, (617) 376-2249
> --*_*--*_*--*_*--*_*--*_*--*_*--*_*--*_*--
>   Send an Instant Message ICQ: 34545981
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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