in the template process_this.cfm
<cfoutput>
#action#
</cfoutput>

as simple as that :)
> -----Message d'origine-----
> De:   Tim Dempsey [SMTP:[EMAIL PROTECTED]]
> Date: 4 mai, 2000 14:00
> �:    [EMAIL PROTECTED]
> Objet:        How to access URL parameters in a CFM action template?
> 
> Folks,
> 
> I need help. Maybe this is basic but it eludes me at the moment.
> 
> I am going to display a table filled with some data from a database (1 row
> per record). The first 3 columns of the table will say View, Edit, Delete
> repectively and it will say them in each row.
> 
> Those words will actually be hyperlinks to a Cold Fusion template like
> this:
>     href="process_this.cfm?Action=View" and
>     href="process_this.cfm?Action=Edit" and
>     href="process_this.cfm?Action=Delete"
> 
> My question is: How do I refer to the Action parameter in the template
> "process_this.cfm"?
> 
> I got the idea to do this from Ben Forta's book where he has an example of
> a
> <CFCOL> tag which looks like:
> <CFCOL ... TEXT="<A
> HREF=""empdtl.cfm?EmployeeID=#EmployeeID#"">#LastName#,
> #FirstName# </A>" >
> 
> But I'm not sure how to access the parameter being passed in the URL.
> 
> Can anyone advise?
> 
> Thanks in advance...
>   -- Tim Dempsey
> 
> 
> --------------------------------------------------------------------------
> ----
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/cf_talk or send a message 
to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to