That makes sense... this was more of a late night brain fart.....

So I'll post to an action page and call what I need to from there...

Thanks Dave

-- 
Scott Stewart
ColdFusion Developer
 
SSTWebworks
4405 Oakshyre Way
Raleigh, NC. 27616
(703) 220-2835
 
http://www.sstwebworks.com
http://www.linkedin.com/in/sstwebworks
 
Boycott Sys-Con
http://www.sstwebworks.com/blog/index.cfm/2007/10/16/Boycotting-SysCon
 

-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Sunday, November 25, 2007 9:25 PM
To: CF-Talk
Subject: RE: quik components question

> Can you pass form variables directly to a ColdFusion function 
> without calling the entire cfc path in the form action
> 
> (blah/blah/yadda.cfc)

What exactly do you mean?

If you want to post data from the browser to a CFC function directly,
instead of posting to a CFM that invokes a function, yes, you have to put
the CFC path in the form action. But that's not what most people do.
Instead, they post to a CFM, and that CFM does whatever you want it to do;
this could of course include calling functions, invoking CFCs, etc.

<form action="foo.cfm" method="post"> ...

.....

<!-- foo.cfm -->
<cfset myfunctioncall = somefunction(Form.somevar)>

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293803
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to