Passing a URL value to a CFC
Hello.
I am not very familiar with coldfusion cfcs but I have been able to follow a few examples that allow me to do related selects using cfc code.
Recently I ran into an issue and can't figure out the answer using Google so I thought I'd ask here.
I have a form and the URL for that form contains a variable that I need to pass to the cfc but I'm not sure how.
Here is the URL.... myform.cfm?type=normal
Then on that myform.cfm page I have a call to a cfc like this <cfselect multiple="no" name="test" bind="cfc:test.test_func()" bindonload="true"/>
In the CFC I need to be able to change the query in the test_func based on the variable named "type" in the form page's URL string.
How can I pass that type=normal into the cfc with the bind in the cfselect???
Thanks
