<cfset ajaxUrl = "#application.url.webroot#/mxAjax/core/cf/example.cfc">
<script type='text/_javascript_' src=''></script>
<script type='text/_javascript_' src=''></script>
<script type='text/_javascript_' src=''></script>
<script language="_javascript_">
var url = ""
function init() {
new mxAjax.Select({
parser: new mxAjax.CFArrayToJSKeyValueParser(),
executeOnLoad: true,
target: "StockId",
paramArgs: new
mxAjax.Param(url,{param:"objectId={#SESSION.patersonClient.username#}", cffunction:"pslGetWatchlist"}),
source: "objectId"
});
}
alert(mxAjax);
addOnLoadEvent(function() {init();});
</script>
Error: element has no properties
Source File: http://address/mxAjax/core/js/prototype.js
Line: 1506
problem line in prototype.js:
<b>if (element.addEventListener) {</b>
this.observers.push([element, name, observer, useCapture]);
element.addEventListener(name, observer, useCapture);
} else if (element.attachEvent
) {
this.observers.push([element, name, observer, useCapture]);
element.attachEvent('on' + name, observer);
}
},
M Wheeler wrote:
> Am working on implementin some AJAX functionality with my farcry app. I
> was playing with CFAJAX and got this working quite well in my templates,
> but needed to use ajax to call webservices and SQL queries from cfc's
> directly and was having a bit of a problem, It was recommended that I
> have a look at MXAJAX when calling cfc's directly which looks ok and
> seems to work well but implementing with farcry seems to be a problem
Have you built a specific facade for the farcry components or are you
trying to reach them directly?
-- geoff
http://www.daemon.com.au/
--
Message protected by MailGuard: e-mail anti-virus, anti-spam and content filtering.
http://www.mailguard.com.au/mg
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/farcry-dev
-~----------~----~----~----~------~----~------~--~---
- [farcry-dev] AJAX Solution with Farcry M Wheeler
- [farcry-dev] Re: AJAX Solution with Farcry Geoff Bowers
- [farcry-dev] Re: AJAX Solution with Farcry M Wheeler
- [farcry-dev] Re: AJAX Solution with Farcry M Wheeler
