<?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"
	>
<channel>
	<title>Comments on: Alert component message text munging bug and workaround</title>
	<atom:link href="http://aralbalkan.com/89/feed" rel="self" type="application/rss+xml" />
	<link>http://aralbalkan.com/89</link>
	<description>Aral on Flash, SWX, Flex, ActionScript, and life.</description>
	<pubDate>Thu, 28 Aug 2008 21:00:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Aral</title>
		<link>http://aralbalkan.com/89#comment-88986</link>
		<dc:creator>Aral</dc:creator>
		<pubDate>Wed, 05 Dec 2007 11:49:20 +0000</pubDate>
		<guid isPermaLink="false">#comment-88986</guid>
		<description>You're very welcome, glad you found it useful :)</description>
		<content:encoded><![CDATA[<p>You&#8217;re very welcome, glad you found it useful <img src='http://aralbalkan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pavan</title>
		<link>http://aralbalkan.com/89#comment-88933</link>
		<dc:creator>Pavan</dc:creator>
		<pubDate>Wed, 05 Dec 2007 05:24:59 +0000</pubDate>
		<guid isPermaLink="false">#comment-88933</guid>
		<description>Thanks a ton for the fix.

It saved a lot of our time. If I did a google search earlier.</description>
		<content:encoded><![CDATA[<p>Thanks a ton for the fix.</p>
<p>It saved a lot of our time. If I did a google search earlier.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vinodvv</title>
		<link>http://aralbalkan.com/89#comment-64453</link>
		<dc:creator>vinodvv</dc:creator>
		<pubDate>Wed, 01 Aug 2007 08:50:35 +0000</pubDate>
		<guid isPermaLink="false">#comment-64453</guid>
		<description>Thanks a ton for the fix.
I have already lost my hair, I could have saved them, If I did a google search earlier.</description>
		<content:encoded><![CDATA[<p>Thanks a ton for the fix.<br />
I have already lost my hair, I could have saved them, If I did a google search earlier.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: will</title>
		<link>http://aralbalkan.com/89#comment-51</link>
		<dc:creator>will</dc:creator>
		<pubDate>Wed, 20 Oct 2004 21:02:38 +0000</pubDate>
		<guid isPermaLink="false">#comment-51</guid>
		<description>well the extra spaces did not come in through teh HTML, however, you get the picture.  Give it a shot!</description>
		<content:encoded><![CDATA[<p>well the extra spaces did not come in through teh HTML, however, you get the picture.  Give it a shot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: will</title>
		<link>http://aralbalkan.com/89#comment-50</link>
		<dc:creator>will</dc:creator>
		<pubDate>Wed, 20 Oct 2004 21:01:13 +0000</pubDate>
		<guid isPermaLink="false">#comment-50</guid>
		<description>Funny how this just came up as I had just used my own solution.  My problem was that I need to format the box to a specific width as my errors are listed in a bulleted fashion and I did not want them to cut off into a new line:&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
            var errorStr:String = "You had the following errors in your request:\n\n";&lt;br /&gt;
            if (!theaterIDArr) errorStr += "* Select one or more theaters from the list above.\n"&lt;br /&gt;
            if (!reportTypeArr) errorStr += "* Select one or more export options below.\n";&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
An easy way to increase the width was to just add a bit of spaces to the Alert windows title!&lt;br /&gt;
&lt;br /&gt;
Since you can see your errors below the title you can guess the right amount of spaces.&lt;br /&gt;
&lt;br /&gt;
Sounds cheap, but it works great and is a  really simple hack:&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
            var title:String = "PDF Request Error                                           ";&lt;br /&gt;
            var errorStr:String = "You had the following errors in your request:\n\n";&lt;br /&gt;
            if (!theaterIDArr) errorStr += "* Select one or more theaters from the list above.\n"&lt;br /&gt;
            if (!reportTypeArr) errorStr += "* Select one or more export options below.\n";&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
HTH</description>
		<content:encoded><![CDATA[<p>Funny how this just came up as I had just used my own solution.  My problem was that I need to format the box to a specific width as my errors are listed in a bulleted fashion and I did not want them to cut off into a new line:</p>
<p><code><br />
            var errorStr:String = &#8220;You had the following errors in your request:\n\n&#8221;;<br />
            if (!theaterIDArr) errorStr += &#8220;* Select one or more theaters from the list above.\n&#8221;<br />
            if (!reportTypeArr) errorStr += &#8220;* Select one or more export options below.\n&#8221;;<br />
</code></p>
<p>An easy way to increase the width was to just add a bit of spaces to the Alert windows title!</p>
<p>Since you can see your errors below the title you can guess the right amount of spaces.</p>
<p>Sounds cheap, but it works great and is a  really simple hack:</p>
<p><code><br />
            var title:String = &#8220;PDF Request Error                                           &#8220;;<br />
            var errorStr:String = &#8220;You had the following errors in your request:\n\n&#8221;;<br />
            if (!theaterIDArr) errorStr += &#8220;* Select one or more theaters from the list above.\n&#8221;<br />
            if (!reportTypeArr) errorStr += &#8220;* Select one or more export options below.\n&#8221;;<br />
</code></p>
<p>HTH</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aral</title>
		<link>http://aralbalkan.com/89#comment-49</link>
		<dc:creator>aral</dc:creator>
		<pubDate>Wed, 20 Oct 2004 20:58:22 +0000</pubDate>
		<guid isPermaLink="false">#comment-49</guid>
		<description>Jesse,&lt;br /&gt;
&lt;br /&gt;
I just tried this and, depending on the width (again), you may need more than one newline character but it works like a charm :) &lt;br /&gt;
&lt;br /&gt;
I still want to take a few minutes to create a more permanent hack that will be transparent to the developer.</description>
		<content:encoded><![CDATA[<p>Jesse,</p>
<p>I just tried this and, depending on the width (again), you may need more than one newline character but it works like a charm <img src='http://aralbalkan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I still want to take a few minutes to create a more permanent hack that will be transparent to the developer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aral</title>
		<link>http://aralbalkan.com/89#comment-48</link>
		<dc:creator>aral</dc:creator>
		<pubDate>Wed, 20 Oct 2004 16:12:09 +0000</pubDate>
		<guid isPermaLink="false">#comment-48</guid>
		<description>Nice fix, Jesse -- I assume it works with any-length string? (Will test when I get a moment!)</description>
		<content:encoded><![CDATA[<p>Nice fix, Jesse &#8212; I assume it works with any-length string? (Will test when I get a moment!)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JesterXL</title>
		<link>http://aralbalkan.com/89#comment-47</link>
		<dc:creator>JesterXL</dc:creator>
		<pubDate>Wed, 20 Oct 2004 15:49:37 +0000</pubDate>
		<guid isPermaLink="false">#comment-47</guid>
		<description>Another hack is to just add an "\n" (or newline keyword) to the end of the string.</description>
		<content:encoded><![CDATA[<p>Another hack is to just add an &#8220;\n&#8221; (or newline keyword) to the end of the string.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
