Hi, all...

I'm slowly but surely integrating CFC's into my coding.

But now I'm wondering how best to modify my usual CF validation
of form values with a CFC in the mix.

I typically design a page with a form, have it submit back to itself,
run validation on the form variables, output appropriate error messages 
if needed,
and if everything validates, I run the query, let's say an insert query, 
on the
same page as the form, then using cflocation to direct to a success page.

But, using the CFC requires that the form's action page be the cfc itself,
with the method in the URL, e.g., "properties.cfc?method=insert"

Will I end up having to use session variables to make this work so I can
submit the form back to the page it's on, validate and if all validates, 
then
change the form variables to session variables and using cflocation to
then go to the cfc?  Can that even be done?... cflocation 
url="properties.cfc?method=insert"  ???

Thanks for any feedback.

Rick

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314118
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