<?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: Populate a ComboBox from a DataStore (JSON)</title>
	<atom:link href="http://www.vinylfox.com/forms-combobox-datastore/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vinylfox.com/forms-combobox-datastore/</link>
	<description>The Playground of VinylFox (Shea Frederick)</description>
	<lastBuildDate>Tue, 31 Aug 2010 20:03:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Chris</title>
		<link>http://www.vinylfox.com/forms-combobox-datastore/comment-page-1/#comment-7174</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 25 Jun 2010 14:05:20 +0000</pubDate>
		<guid isPermaLink="false">http://ww2.vinylfox.com/?p=39#comment-7174</guid>
		<description>update: Actually, it does exactly the way you described. Please ignore my previous comment (apart from the thanks!)</description>
		<content:encoded><![CDATA[<p>update: Actually, it does exactly the way you described. Please ignore my previous comment (apart from the thanks!)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.vinylfox.com/forms-combobox-datastore/comment-page-1/#comment-7173</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 25 Jun 2010 13:58:50 +0000</pubDate>
		<guid isPermaLink="false">http://ww2.vinylfox.com/?p=39#comment-7173</guid>
		<description>Thanks for posting this. It was really helpful for me after a lot of searching. 

I will add one comment that may help some people. To get my code working, for reasons I have not looked into, I had to change my reader code from:

var rd_random_employee_data = new Ext.data.JsonReader({}, [ &#039;id&#039;, &#039;name&#039;]);

to (something like):

var rd_random_employee_data = new Ext.data.JsonReader({}, 
[ 
{name:  &#039;id&#039;, type: &#039;string&#039;, &#039;id&#039;}, 
{name: &#039;name&#039;, type: &#039;string&#039;, mapping: &#039;name&#039;}
]);

I&#039;m not sure why there is any difference but it didn&#039;t populate the combo box the first way</description>
		<content:encoded><![CDATA[<p>Thanks for posting this. It was really helpful for me after a lot of searching. </p>
<p>I will add one comment that may help some people. To get my code working, for reasons I have not looked into, I had to change my reader code from:</p>
<p>var rd_random_employee_data = new Ext.data.JsonReader({}, [ 'id', 'name']);</p>
<p>to (something like):</p>
<p>var rd_random_employee_data = new Ext.data.JsonReader({},<br />
[<br />
{name:  'id', type: 'string', 'id'},<br />
{name: 'name', type: 'string', mapping: 'name'}<br />
]);</p>
<p>I&#8217;m not sure why there is any difference but it didn&#8217;t populate the combo box the first way</p>
]]></content:encoded>
	</item>
</channel>
</rss>
