<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Omal Raj - Flex Boy &#187; Adobe Flex</title>
	<atom:link href="http://omalraj.com/category/adobe_flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://omalraj.com</link>
	<description></description>
	<lastBuildDate>Wed, 17 Jun 2009 17:40:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Flex Unique Email Validator</title>
		<link>http://omalraj.com/2009/06/unique-email-validator/</link>
		<comments>http://omalraj.com/2009/06/unique-email-validator/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 17:34:14 +0000</pubDate>
		<dc:creator>Omal Raj</dc:creator>
				<category><![CDATA[Adobe Flex]]></category>
		<category><![CDATA[EmailValidator]]></category>
		<category><![CDATA[UniqueEmailValidator]]></category>
		<category><![CDATA[Validator]]></category>

		<guid isPermaLink="false">http://omalraj.com/?p=74</guid>
		<description><![CDATA[This time a Unique Email Validator. This is an addition to the base EmailValidator in flex. This in addition to EmailValidator triggers error if an email address is already present in a given data provider. Note: As of now it only supports ArrayCollection as data provider. You may update the code accordingly for your use. [...]]]></description>
			<content:encoded><![CDATA[<p>This time a Unique Email Validator.</p>
<p>This is an addition to the base EmailValidator in flex. This in addition to EmailValidator triggers error if an email address is already present in a given data provider.<br />
Note: As of now it only supports ArrayCollection as data provider. You may update the code accordingly for your use.</p>
<p><span id="more-74"></span></p>
<p><object width="400" height="300" data="http://omalraj.com/wp-content/uploads/2009/06/app.swf" type="application/x-shockwave-flash"><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="id" value="uniqueEmailValidator" /><param name="src" value="http://omalraj.com/wp-content/uploads/2009/06/app.swf" /></object></p>
<pre class="download"><a href="http://omalraj.com/wp-content/uploads/2009/06/uniqueemailvalidator.zip">Download source</a></pre>
]]></content:encoded>
			<wfw:commentRss>http://omalraj.com/2009/06/unique-email-validator/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>FLEX Datagrid header with a ComboBox Filter</title>
		<link>http://omalraj.com/2009/06/flex-datagrid-header-with-a-combobox-filter/</link>
		<comments>http://omalraj.com/2009/06/flex-datagrid-header-with-a-combobox-filter/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 19:29:37 +0000</pubDate>
		<dc:creator>Omal Raj</dc:creator>
				<category><![CDATA[Adobe Flex]]></category>
		<category><![CDATA[DataGrid]]></category>
		<category><![CDATA[DataGridHeaderRenderer]]></category>

		<guid isPermaLink="false">http://omalraj.com/?p=53</guid>
		<description><![CDATA[Ever wanted to have a ComboBox on datagrid header to filter the datas?
Most of the results found on net were disappointing. Since they just provided a solution to place the ComboBox  on datagrid header. The basic step was to override the setter function data in ComboBox class which is intended to be the DataGridHeader Renderer...]]></description>
			<content:encoded><![CDATA[<p>Ever wanted to have a ComboBox on datagrid header to filter the datas?</p>
<p>Most of the results found on net were disappointing. Since they just provided a solution to place the ComboBox  on datagrid header. The basic step was to override the setter function data in ComboBox class which is intended to be the DataGridHeader Renderer</p>
<p><span id="more-53"></span></p>
<pre class="code">override public function set data(value:Object):void
{
	if(value is DataGridColumn)
	{
		//Don't do anything
	}
        else
	{
		super.data = value
	}
}</pre>
<p>Unfortunately, it didn&#8217;t really work well. The values in ComboBox never remained the selected once after it was sorted. After digging in to the main classes I came up with a solution.</p>
<p><object width="500" height="250" data="http://omalraj.com/wp-content/uploads/2009/06/datagridheader.swf" type="application/x-shockwave-flash"><param name="quality" value="high" /><param name="scale" value="noscale" /><param name="wmode" value="transparent" /><param name="src" value="http://omalraj.com/wp-content/uploads/2009/06/datagridheader.swf" /><param name="bgcolor" value="#ffffff" /></object></p>
<pre class="download"><a href="http://omalraj.com/wp-content/uploads/2009/06/datagridheader_src.zip">Download source</a></pre>
]]></content:encoded>
			<wfw:commentRss>http://omalraj.com/2009/06/flex-datagrid-header-with-a-combobox-filter/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>
