<?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; Omal Raj</title>
	<atom:link href="http://omalraj.com/author/omalraj/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>
		<item>
		<title>IE error &#8211; Internet explorer cannot download &#8230;.</title>
		<link>http://omalraj.com/2009/06/ie-error-internet-explorer-cannot-download/</link>
		<comments>http://omalraj.com/2009/06/ie-error-internet-explorer-cannot-download/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 09:18:18 +0000</pubDate>
		<dc:creator>Omal Raj</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[IE error]]></category>

		<guid isPermaLink="false">http://omalraj.com/?p=4</guid>
		<description><![CDATA[I recently encountered an error while trying to download a file (.pdf) through IE 8. It reported - &#8220;Internet explorer cannot download&#8230;. Internet explorer was not able to open this internet site. &#8230;&#8221; All the other browsers were able to download the file with out any issues. I googled with the error string and found [...]]]></description>
			<content:encoded><![CDATA[<p>I recently encountered an error while trying to download a file (.pdf) through IE 8. It reported -</p>
<p>&#8220;Internet explorer cannot download&#8230;.<br />
Internet explorer was not able to open this internet site. &#8230;&#8221;</p>
<p>All the other browsers were able to download the file with out any issues.</p>
<p>I googled with the error string and found several suggestions, most of them being over the protocol  &#8220;https&#8221;, but for me it was &#8220;http&#8221;. And the results suggested to make a change in IE settings <img src='http://omalraj.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  . My client cannot go over his customers and say that the settings on IE should be changed to download the file.<br />
<span id="more-4"></span></p>
<p>This link suggested a solution &#8211; <a href="http://support.microsoft.com/kb/812935">http://support.microsoft.com/kb/812935</a></p>
<p><em>This issue may occur if any one or more of  the following conditions are true: </em></p>
<ul>
<li><em>The <strong class="uiterm">Do not save encrypted pages to disk</strong> check box is selected in Internet Explorer 6.0 SP1.</em></li>
<li><em>The server sends the &#8220;Cache-Control: No Store&#8221; header.</em></li>
<li><em>The server sends the &#8220;Cache-Control: No Cache&#8221; header.</em></li>
</ul>
<p>Well, all that I have to do was to send an updated header from my page in php</p>
<pre class="code">
<span style="color: #0000BB">header</span><span style="color: #007700">(</span><span style="color: #DD0000">'Content-type:&nbsp;application/pdf'</span><span style="color: #007700">);
</span><span style="color: #0000BB">header</span><span style="color: #007700">(</span><span style="color: #DD0000">'Cache-Control:&nbsp;cache,&nbsp;must-revalidate'</span><span style="color: #007700">);
</span><span style="color: #0000BB">header</span><span style="color: #007700">(</span><span style="color: #DD0000">'Pragma:&nbsp;public'</span><span style="color: #007700">);&nbsp;
</pre>
<p>It resolved the issue for me <img src='http://omalraj.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</p>
]]></content:encoded>
			<wfw:commentRss>http://omalraj.com/2009/06/ie-error-internet-explorer-cannot-download/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
