<?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: Permanent ComboBox Prompt in Flex 2	</title>
	<atom:link href="https://jessewarden.com/2007/01/permanent-combobox-prompt-in-flex-2.html/feed" rel="self" type="application/rss+xml" />
	<link>https://jessewarden.com/2007/01/permanent-combobox-prompt-in-flex-2.html</link>
	<description>Software &#124; Fitness &#124; Gaming</description>
	<lastBuildDate>Sun, 11 May 2008 18:16:52 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Almog Kurtser		</title>
		<link>https://jessewarden.com/2007/01/permanent-combobox-prompt-in-flex-2.html/comment-page-1#comment-83379</link>

		<dc:creator><![CDATA[Almog Kurtser]]></dc:creator>
		<pubDate>Sun, 11 May 2008 18:16:52 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=1113#comment-83379</guid>

					<description><![CDATA[Hi Jesse, 
I was looking for something else regarding Flex&#039;s ComboBox and somehow ended up here.

Anyway, you can use the selectedIndex and set it to -1 to show the prompt again.

Cheers,

Almog Kurtser]]></description>
			<content:encoded><![CDATA[<p>Hi Jesse,<br />
I was looking for something else regarding Flex&#8217;s ComboBox and somehow ended up here.</p>
<p>Anyway, you can use the selectedIndex and set it to -1 to show the prompt again.</p>
<p>Cheers,</p>
<p>Almog Kurtser</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Nirth		</title>
		<link>https://jessewarden.com/2007/01/permanent-combobox-prompt-in-flex-2.html/comment-page-1#comment-4092</link>

		<dc:creator><![CDATA[Nirth]]></dc:creator>
		<pubDate>Tue, 16 Jan 2007 08:36:34 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=1113#comment-4092</guid>

					<description><![CDATA[It seems I cannot post MXML easily, here is code
http://pastebin.mozilla.org/2871


]]></description>
			<content:encoded><![CDATA[<p>It seems I cannot post MXML easily, here is code<br />
<a href="http://pastebin.mozilla.org/2871" rel="nofollow ugc">http://pastebin.mozilla.org/2871</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Nirth		</title>
		<link>https://jessewarden.com/2007/01/permanent-combobox-prompt-in-flex-2.html/comment-page-1#comment-4091</link>

		<dc:creator><![CDATA[Nirth]]></dc:creator>
		<pubDate>Tue, 16 Jan 2007 08:34:27 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=1113#comment-4091</guid>

					<description><![CDATA[I had similar problem, I&#039;ve managed to solve it with PopUpButton

short variant of code:
&lt;code&gt;

	
		
	
	
	
		
			
			
		
	
&lt;/code&gt;]]></description>
			<content:encoded><![CDATA[<p>I had similar problem, I&#8217;ve managed to solve it with PopUpButton</p>
<p>short variant of code:<br />
<code></p>
<p></code></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ritesh Jariwala		</title>
		<link>https://jessewarden.com/2007/01/permanent-combobox-prompt-in-flex-2.html/comment-page-1#comment-4090</link>

		<dc:creator><![CDATA[Ritesh Jariwala]]></dc:creator>
		<pubDate>Sun, 14 Jan 2007 12:50:30 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=1113#comment-4090</guid>

					<description><![CDATA[Hi Jesse 

check this out. I tried to sort out.

http://www.actkid.com/2007/01/14/permanent-combobox-prompt-in-flex-2/]]></description>
			<content:encoded><![CDATA[<p>Hi Jesse </p>
<p>check this out. I tried to sort out.</p>
<p><a href="http://www.actkid.com/2007/01/14/permanent-combobox-prompt-in-flex-2/" rel="nofollow ugc">http://www.actkid.com/2007/01/14/permanent-combobox-prompt-in-flex-2/</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: David Buhler		</title>
		<link>https://jessewarden.com/2007/01/permanent-combobox-prompt-in-flex-2.html/comment-page-1#comment-4089</link>

		<dc:creator><![CDATA[David Buhler]]></dc:creator>
		<pubDate>Sat, 13 Jan 2007 22:58:32 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=1113#comment-4089</guid>

					<description><![CDATA[The Prompt is weird. Here&#039;s my thinking:

Let&#039;s say you have a user who is selecting a country from a drop down list. That user also has to select a region. Well, some ISO countries have no regions, like, for example, Aruba. So the prompt always has to be conditional based on the length of the dataprovider.

I think most people like myself are going crazy with the prompt. I use it as a default in a custom combobox subclass. In the view, I usually run some added logic for a second prompt if the drop down list may or may not have values. For example, if (country_cbo.dataProviders.length &gt; 0 ? prompt = select region } else { prompt = no regions available for selection). Mind you, that&#039;s seudo code. :)

What the combobox needs is an attribute that says, &lt;b&gt;&#039;isSelectedItemAPrompOfValues&#039;&lt;/b&gt; It&#039;s long, but it&#039;s specific. :)  

Then, I can ensure that my users have interacted with my combobox ever after it has changed AND, I can be certain the combobox should be selected. I clearly can&#039;t use selectedIndex &gt; 0, and I most certainly can&#039;t check the prompt of the box because it changes for usability and internationalization would be a nightmare. 


DB]]></description>
			<content:encoded><![CDATA[<p>The Prompt is weird. Here&#8217;s my thinking:</p>
<p>Let&#8217;s say you have a user who is selecting a country from a drop down list. That user also has to select a region. Well, some ISO countries have no regions, like, for example, Aruba. So the prompt always has to be conditional based on the length of the dataprovider.</p>
<p>I think most people like myself are going crazy with the prompt. I use it as a default in a custom combobox subclass. In the view, I usually run some added logic for a second prompt if the drop down list may or may not have values. For example, if (country_cbo.dataProviders.length > 0 ? prompt = select region } else { prompt = no regions available for selection). Mind you, that&#8217;s seudo code. :)</p>
<p>What the combobox needs is an attribute that says, <b>&#8216;isSelectedItemAPrompOfValues&#8217;</b> It&#8217;s long, but it&#8217;s specific. :)  </p>
<p>Then, I can ensure that my users have interacted with my combobox ever after it has changed AND, I can be certain the combobox should be selected. I clearly can&#8217;t use selectedIndex > 0, and I most certainly can&#8217;t check the prompt of the box because it changes for usability and internationalization would be a nightmare. </p>
<p>DB</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
