Working on extensions all day - I am working on some extensions for the next Developer Resource Kit and am running into all sorts of interesting things. First and formost, if you need to integrate Javascript and ColdFusion, there are some interesting things that happen. For instance everything on the page that comes from ColdFusion is executed in CF before the page loads. That means that your javascript, though it is on the same page, is executed AFTER the CF code.
Javascript's escape() function produces escaped code, but not the same escaped code that sending a form would produce, thus if you are trying to unencode a string in CF on a processing page that was encoded in Javascript, the escape codes are going to be wrong.
All very fun and I think the extension will be worth it. Planning for now to have it in ColdFusion and PHP and if I can swing it, ASP.Net.
9:35:58 PM
|