arrays and repeaters in Flex 1.5

So a hard lesson learned in Flex last week. We have two seperate tags in some custom components that are fed by Arrays of objects. User interaction triggers adding/deleting objects in these arrays. Of course this does not tell the repeater to redraw itself. Originally I had coded use of

repeater.executeBindings()

and things appeared kosher. After a bit of testing strange things would happen with the UI display. Stuff like missing text, etc. We spent a week tag-teaming on it, then finally contacted our Gold Support rep. About 15 minutes into a Breezo, bamm! Doh! Somehow I mssed the fact that the Array class extends te DataProvider class. So, instead of

Array.push(object)

use

Array.addItem(object)

addItem() does a push() and then fires off all needed events to redraw the repeater. Voila!


coldfusion cookbook

Ray ‘Jedi’ Camden has put together another great Coldfusion website, http://www.coldfusioncookbook.com. A great place to find help on how to do this or that in Coldfusion. For those wannabe Jedis out there, be sure to submit some recipes.


new blog

hello fans and stalkers. So I moved my whole home grown self coded PHP based blog over to Wordpress. Why? Well, Wordpress has many nifty cool features that my home grown code didn’t have. I could have whipped up the code for it, but alas I’d rather not spend my time with it, there are more intersting things to code and learn than a blog, eh? Anyhoo…enjoy!