IPE Controls

Ages ago, When Flex 2.0 was just getting started, I wrote a feature tracking application to help manage the possible features we were considering for the release. As the app grew over time, I found myself getting annoyed at having to add the same UI and logic to both the ‘view’ screen and the ‘edit’ screen for a feature every time we added a field to the database.

Months later, when the MAX conference was coming up, I took that pain and suffering and transformed it into a sample ‘flipper’ component I used in a talk showing off some of the new features and performance of Flex 2.

Last week, I was reminded of the flipper component while playing with some ajax-application-of-the-day. I can’t remember what the application was, but in it they had combined the read and edit views of some data into a single view, that dropped into ‘edit’ mode when you clicked on a field. Just like the flipper component did.

So, on a long flight from San Francisco to Boston, I cleaned up the flipper, updated it to Flex 2 Beta 3, and gave it a couple of new friends to play with. Try them out for yourself in a little sample application here:

In Place Editing (IPE) Controls Sandbox

It’s definintely an ongoing work in progress. As you can see in the sandbox, I’ve been experimenting with different ways to activate the IPE controls. If you have comments, feedback, or preferences as to how they should work, please leave a comment and let me know.

A couple of issues you’ll probably run in to:

The source, as always, is available under the MIT open source license, so you can do whatever zany thing you crazy kids want with it.

* View the source

* Download the source

Feedback or thoughts on the controls are much appreciated. Leave comments, suggestions, criticisms here.


Categories