March 2011

This application demonstrates the problem with the default ItemRenderer behavior when using view states within an item renderer. In the example on the left the added content disappears as soon as you mouse out of the expanded cell. The example on the right overrides getCurrentRendererState to prevent that. Right-click the app to view source or [...]

{ 2 comments }

In my past three posts I’ve been evolving a technique for creating a type-safe collection class that can be used a DataProvider for Flex Lists and DataGrids. As I’ve discussed previously, the problem with these controls is that they use the ArrayList or ArrayCollection classes as their data providers. And the problem those collections is [...]

{ 1 comment }

In this post I’m continuing the theme of my last two posts, type-safe DataProviders, and combining it with the theme of the two posts before that: the Parsley application framework. I’ll be using Parsley’s DynamicCommand object to encapsulate the fetching of data from a server and then store it in a type-safe DataProvider that will [...]

{ 1 comment }