Re: [mxAjax:374] mxData Problems

4 views
Skip to first unread message
Message has been deleted

James Holmes

unread,
Aug 6, 2008, 9:48:56 PM8/6/08
to mxa...@googlegroups.com
You might have to post the contents of peopleInfo.cfc

On Thu, Aug 7, 2008 at 12:39 AM, divby1 <div...@gmail.com> wrote:
>
> hotLook returns a query for use by the autocomplete function and this
> is working perfectly, but when I select a name in the autosuggest it
> calls autoFill and then crashes returning the following: (note I
> replaced the value of input with x's but it does send the correct
> input at that point.)
>
> CGI.REQUEST_METHOD = GET
> struct
> AJAXCALLID 3753_1218040060846
> FUNCTION fullLook
> INPUT xxxxxxxxx
> METHOD init
> _ [empty string]
> The web site you are accessing has experienced an unexpected error.
> Please contact the website administrator.
>
> The following information is meant for the website developer for
> debugging purposes.
> Error Occurred While Processing Request
> Element fullLook is undefined in a Java object of type class
> coldfusion.runtime.VariableScope.
>
> The error occurred in D:\AskALibrarian\mxAjax\core\cf\mxAjax.cfc: line
> 71
> Called from D:\AskALibrarian\mxAjax\core\cf\mxAjax.cfc: line 55
> Called from D:\AskALibrarian\mxAjax\core\cf\mxAjax.cfc: line 9
>
> 69 : </cfif>
> 70 :
> 71 : <cfset _functionParameters =
> getMetaData(variables[functionName]).parameters>
> 72 : <cfset _functionArguments = StructNew()>
> 73 : <cfloop from="1" to="#ArrayLen(_functionParameters)#"
> index="fctr">


--
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

divby1

unread,
Aug 7, 2008, 12:22:30 PM8/7/08
to mxAjax
It was completely a path problem, peopleInfo.cfc was in two different
directories, I was editing the wrong one so it was unable to find the
function I had added. Ah the stupidest mistakes are thankfully the
easiest to fix. I have an mxAutoSuggest object using a ColdFusion
Query that is returned by the hotLook method in the cfc now and from
that I and firing off the mxData object that is returning a query from
the fullLook method and populating some form fields. The code is
working and I've got to say that once I wrapped my head around it
mxAjax is far easier to work with than cfAjax.
Reply all
Reply to author
Forward
0 new messages