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