<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Life with Flex: Components</title>
	<atom:link href="http://gorillajawn.com/wordpress/2008/06/30/life-with-flex-components/feed/" rel="self" type="application/rss+xml" />
	<link>http://gorillajawn.com/wordpress/2008/06/30/life-with-flex-components/</link>
	<description>Enterprise Software Consultant</description>
	<lastBuildDate>Mon, 15 Mar 2010 20:02:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Stu Stern</title>
		<link>http://gorillajawn.com/wordpress/2008/06/30/life-with-flex-components/comment-page-1/#comment-20434</link>
		<dc:creator>Stu Stern</dc:creator>
		<pubDate>Sat, 19 Jul 2008 20:15:54 +0000</pubDate>
		<guid isPermaLink="false">http://ectropic.com/wordpress/?p=43#comment-20434</guid>
		<description>After doing a fair amount of battle with Flex components, it&#039;s become clear to me that trafficking in anything other than Strings should be avoided.

Specifically, when using a ComboBox as an itemEditor in a DataGrid life is much simpler when the dataProvider for the ComboBox consists simply of Strings. We had originally bound the ComboBox&#039;s dataProvider to an ArrayCollection of objects and used the &quot;labelField&quot; property to specify which value should appear in the list. Surprisingly this entails all kinds of weird voodoo coordinating values between the itemRenderer and itemEditor.

Assuming the &quot;values&quot; property below returns nothing but an Array or ArrayCollection of Strings, the following works as expected:


 
  
   
     
      
     
    
   
  


Note that setting editorDataField=&quot;selectedItem&quot; is a critical piece of voodoo in the above.</description>
		<content:encoded><![CDATA[<p>After doing a fair amount of battle with Flex components, it&#8217;s become clear to me that trafficking in anything other than Strings should be avoided.</p>
<p>Specifically, when using a ComboBox as an itemEditor in a DataGrid life is much simpler when the dataProvider for the ComboBox consists simply of Strings. We had originally bound the ComboBox&#8217;s dataProvider to an ArrayCollection of objects and used the &#8220;labelField&#8221; property to specify which value should appear in the list. Surprisingly this entails all kinds of weird voodoo coordinating values between the itemRenderer and itemEditor.</p>
<p>Assuming the &#8220;values&#8221; property below returns nothing but an Array or ArrayCollection of Strings, the following works as expected:</p>
<p>Note that setting editorDataField=&#8221;selectedItem&#8221; is a critical piece of voodoo in the above.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Rose&#8217;s Blog &#187; Blog Archive &#187; Life with Flex</title>
		<link>http://gorillajawn.com/wordpress/2008/06/30/life-with-flex-components/comment-page-1/#comment-20372</link>
		<dc:creator>Jon Rose&#8217;s Blog &#187; Blog Archive &#187; Life with Flex</dc:creator>
		<pubDate>Mon, 30 Jun 2008 07:02:10 +0000</pubDate>
		<guid isPermaLink="false">http://ectropic.com/wordpress/?p=43#comment-20372</guid>
		<description>[...] Life with Flex: Components (Monday - 6/30) [...]</description>
		<content:encoded><![CDATA[<p>[...] Life with Flex: Components (Monday &#8211; 6/30) [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
