I wanted to share this "gotcha" that I spent an hour on the other night: I was using
<cfajaxproxy> to call a CFC that I had created as a proxy to another (the proxy CFC had methods which were accessible remotely, while the other CFC, stored in session, had public methods that woudn't have been accessible via AJAX. The final CFC accessed Java functionality. The proxy was really simple; it just took the exact same arguments as did the other CFC, and passed them on to the appropriate method call:
<cffunction name="setIndicator" access="remote" output="Yes" returntype="boolean">
<cfargument name="cat" required="Yes" type="string">
<cfargument name="indicator" required="Yes" type="boolean">
<cfreturn SESSION.user.finalcfc.setIndicator(ARGUMENTS.cat, ARGUMENTS.indicator) />
But every time I tried to call the proxy via AJAX, I received an error...
Continue reading "A gotcha when calling Java/CFC with AJAX" »
Continue reading "FancyZoom: like lightbox, but with a "zoom" effect" »
In a few applications, I've noticed a relatively new feature (at least, new to me): a "handle", or bar, at the bottom of a textarea that allows you to resize it by clicking-and-dragging. I think this is a great addition to the usability of any site where a user might type in just a little or a lot into a textarea.
Continue reading "Click-and-drag resizing of a textarea" »
An interesting question came up in conversation during my ride to work this morning: can Google Analytics track users if a site's registration process consists of AJAX calls instead of multiple page requests?
Continue reading "How do you get Google Analytics to track AJAX requests?" »