The error message might be misleading. First, the code is slightly incorrect. The field searchedWord is undefined.
As a first test, include the text field searchedWord in the form, and set bindOnload="false". Any joy?
The searchedWord is defined before on a pice of code that I did not copy, but it arrives correctly. The object being manually created works fine and also when we hardcode the parameters. I am convinced now that the code is fine.
We tried with a test function too that has no parameters in the same object and in different objects and none of the bindings work. When created manually they do work.
The bindOnload=false made no difference
I just found out that if I move the components from the components folder into the root of the application, it works. WHY? no idea
OK. Curious. What if you, just for laughs, temporarily change the name of the CFC from search to, say, searchCFC?
1 person found this helpful
I have tested by creating a directory and CFC path identical to yours. I have been unable to reproduce the issue on Coldfusion 10 and 11. What is your version?