Rob Gonda's Blog

ajaxCFC update 0.73

ajaxCFC has been updated.

The first change is a fix for the problem experienced by some people when sending the & sign by textareas or the suggest example.

The second change is the ability to send named arguments. It works now similar to how flash remoting does: if you send a single argument in form of an object, it will be passed as a collection instead. You may still pass unlimited arguments and ajaxCFC will match them to the expected named arguments in order, but this will be a problem if some of them are optional.

Example:

DWREngine._execute(_ajaxConfig._cfscriptLocation, null, 'method', arg1, arg2, arg3, result);

This string will invoke a method passing three arguments, which may be named in your function, but have to be in a specific order.

DWREngine._execute(_ajaxConfig._cfscriptLocation, null, 'method', {"cfarg1": arg1, "cfarg3":arg3}, result);

This string will invoke the same method passing only two out of the three arguments.

18 yellow cards, 4 reds, new record

Man, the Portugal - Netherlands game was wild, tense, exciting... loved it! 18 yellow cards, 4 red cards... a new record for the fifa world cup...

p.s. Go Brazil!

This blog is running version 5.9.003. Contact Blog Owner