try
<cfinclude template="../app_globals.cfm">
<cfparam name="attributes.fuseaction" default="">
<cfswitch expression="#attributes.fuseaction#">
<CFcase value="viewguestbook">
<cfinclude template="dsp_viewguestbook.cfm">
</CFcase>
<CFcase value="addguestbook">
<cfinclude template="act_aggiungiguest.cfm">
<cfinclude template="url_showguestbook.cfm">
</CFcase>
<cfcase value="show_guest_added">
<cfinclude template="dsp_aggiungiguest.cfm">
</cfcase>
where url_showguestbook.cfm has
<cflocation url="index.cfm?FuseAction=show_guest_added">
-scott
-----Original Message-----
From: cecilia [mailto:[EMAIL PROTECTED]]
Sent: Mittwoch, 27. Dezember 2000 18:24
To: Fusebox
Subject: cflocation happen first of my dsp form ! help
i'm started rebuilding some applications in fusebox style,(i bought the
book pdf version) but i've this
strange problem, when i make an insert (act_aggiungiguest.cfm) , the
cflocation happen first and
the dsp_aggiungiguest.cfm (where's the form for insert) is not displayed
!, clearly there'not insert in the database Basically if there's not the
cflocation to the "url_showguestbook.cfm
everything go well, the update or insert is ok, but there's not
redirection to anothere page, which is the possible mistake ?
Thanks in advance !!
This is the simple code :
<cfinclude template="../app_globals.cfm">
<cfparam name="attributes.fuseaction" default="">
<cfswitch expression="#attributes.fuseaction#">
<CFcase value="viewguestbook">
<cfinclude template="dsp_viewguestbook.cfm">
</CFcase>
<CFcase value="addguestbook">
<cfinclude template="dsp_aggiungiguest.cfm">
<cfinclude template="act_aggiungiguest.cfm">
<cfinclude template="url_showguestbook.cfm">
</CFcase>
ecc.....
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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