> 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!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

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

Reply via email to