<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Flexuous</title>
	<atom:link href="http://blog.flexuous.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexuous.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Mon, 30 Aug 2010 15:46:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.flexuous.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/764a979eb5e6d7a04cb032aed1031343?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>Flexuous</title>
		<link>http://blog.flexuous.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.flexuous.com/osd.xml" title="Flexuous" />
	<atom:link rel='hub' href='http://blog.flexuous.com/?pushpress=hub'/>
		<item>
		<title>Getting Flex UI components all the same width or height</title>
		<link>http://blog.flexuous.com/2010/08/18/getting-flex-ui-components-all-the-same-width-or-height/</link>
		<comments>http://blog.flexuous.com/2010/08/18/getting-flex-ui-components-all-the-same-width-or-height/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 17:01:09 +0000</pubDate>
		<dc:creator>justinohms</dc:creator>
				<category><![CDATA[AIR (Adobe Integrated Runtime)]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[mxml]]></category>

		<guid isPermaLink="false">http://blog.flexuous.com/?p=128</guid>
		<description><![CDATA[You need some way of telling all of the components in the set to re-size to the largest size of any of the components.  <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.flexuous.com&blog=3072563&post=128&subd=flexuous&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been doing a lot of work using localization lately and as part of this I&#8217;ve had to consider the fact that words in one language are not usually the same lengths as their translations in another.  Because of this I&#8217;ve increasingly been relying on the size to fit content ability of labels, buttons etc. in side of Flex.   Now that is all well and good except for when you want a set of buttons to all be the same width or some labels and controls to all line up and be the same width.    You need some way of telling all of the components in the set to re-size to the largest size of any of the components.  I&#8217;ve written a very little function to do just that.<span id="more-128"></span>This function works on any component with a width property (It&#8217;s intended for UI components)  here is the code:</p>
<pre class="brush: plain;">
/** Takes a series of UI components, sets all widths to the widest width */
private function setToGreatestWidth(...args):void{
   args.sortOn(['width'], Array.NUMERIC | Array.DESCENDING);
   for(var i:uint = 0; i &lt; args.length; i++) {
        args[i].width = args[0].width;
   }
}
</pre>
<p>I would typically call it like this in the on creation complete handler for my UI container:</p>
<pre class="brush: plain;">
private function onCreationComplete():void{
   setToGreatestWidth(this.button_upload,this.button_cancel);
   setToGreatestWidth(this.label1,this.label2,this.label3,this.label4);
}
</pre>
<p>By calling it from the creation complete handler you ensure that all localization strings have loaded and layout has already occurred and therefore the controls have all adjusted to their content width.</p>
<p>(I&#8217;m not sure there may be  a really cool and efficient way to accomplish this in the new Spark architecture but I&#8217;m working on some older 3.4 code so I don&#8217;t have access to those components anyway.)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flexuous.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexuous.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flexuous.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexuous.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/flexuous.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/flexuous.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/flexuous.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/flexuous.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flexuous.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexuous.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flexuous.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexuous.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flexuous.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexuous.wordpress.com/128/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.flexuous.com&blog=3072563&post=128&subd=flexuous&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.flexuous.com/2010/08/18/getting-flex-ui-components-all-the-same-width-or-height/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/265f8fef23f99b7192248b37c2c584ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">justinohms</media:title>
		</media:content>
	</item>
		<item>
		<title>Flash Builder 4 ASDoc Configuration</title>
		<link>http://blog.flexuous.com/2010/06/28/flash-builder-4-asdoc-configuration/</link>
		<comments>http://blog.flexuous.com/2010/06/28/flash-builder-4-asdoc-configuration/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 16:24:52 +0000</pubDate>
		<dc:creator>justinohms</dc:creator>
				<category><![CDATA[AIR (Adobe Integrated Runtime)]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[air]]></category>
		<category><![CDATA[asdoc]]></category>
		<category><![CDATA[flash builder 4]]></category>
		<category><![CDATA[java docs]]></category>

		<guid isPermaLink="false">http://blog.flexuous.com/?p=120</guid>
		<description><![CDATA[There is not a lot of information out on the net on how to configure ASDoc to work with Flash Builder 4.  Well I should clarify&#8230; there actually is some but it is kind of confusing. Here is the official Adobe Documentation for (FB3) ASDoc This is based on a this post by jason madsen [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.flexuous.com&blog=3072563&post=120&subd=flexuous&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There is not a lot of information out on the net on how to configure ASDoc to work with Flash Builder 4.  Well I should clarify&#8230; there actually is some but it is kind of confusing.</p>
<p><a href="http://livedocs.adobe.com/flex/3/html/help.html?content=asdoc_1.html" target="_blank">Here is the official Adobe Documentation for (FB3) ASDoc</a></p>
<p>This is based on a <a href="http://knomedia.com/blog/2009/11/05/creating-asdocs-in-flash-builder/" target="_blank">this post by jason madsen</a> and <a href="http://sebleedelisle.com/2009/03/how-to-set-up-asdoc-in-flex-builder/" target="_blank">this post by Seb Lee-Delisle </a></p>
<p>You might think that this is a little redundant with this information out there but I am posting this as it is a slightly different way to reach a workable configuration.   I did not find it necessary to include the SWC files that Seb talks about and that while including every class you want to document in the command line would be problematic, including the base classes in the flex-config.xml file is actually very workable.   I am sure there are issues with this method as well but I wanted to make the information available.</p>
<p>Here are my short little instructions for how I was able to get it to work in Flash Builder 4 specifially how to set it up for a different version of the SDK (in this case 3.4)   It should be possible to set up for each version of the SDK however you must make sure that you use the correct ASDoc.exe file depending on which version of the SDK your project is compiling against&#8230;.</p>
<p><span id="more-120"></span></p>
<h3>Setup ASDoc as an external program in Flash Builder</h3>
<p>Open the menu :  Run -&gt; External Tools -&gt; External Tools Configuration.</p>
<p>In the External Tools Configuration window, add a new program item.</p>
<p><a href="http://flexuous.files.wordpress.com/2010/06/asdocconfig.jpg"><img class="aligncenter size-full wp-image-122" title="asdocconfig" src="http://flexuous.files.wordpress.com/2010/06/asdocconfig.jpg?w=500&#038;h=291" alt="" width="500" height="291" /></a></p>
<h4>Location</h4>
<p>The location is the location of the executable which will be the <strong><em>asdoc.exe</em></strong><em> </em>for the SDK you are using on the project.  This is usually located in the bin directory for the given SDK.  If you use different versions of the SDK for different projects, you should set up different shortcuts for each SDK as they are not compatible.  (i.e.  you should use the asdoc that comes with the version of the SDK with which you are compiling the project.)</p>
<h4>Arguments</h4>
<p><strong>–load-config+=../flex-config.xml  -output ../docs</strong></p>
<p>These arguments will cause the builder to load the remaining settings on a per project basis from the projects <strong><em>flex-config.xml</em></strong><em> </em>file and output to a directory in the project root called <strong><em>docs</em></strong>.</p>
<h3>Modify the flex-config.xml file</h3>
<p>You will need to add or modify the doc-classes section in the <strong><em>flex-config.xml</em></strong> file for each of your projects that you wish to use the ASDoc shortcut .    You should add a reference for each class you  wish to have documented.  However, as long as document dependant classes is turned on (default) you can get by with just adding a few classes that live at the root of your project.    These will depend on your project but would typically include your model and controller classes.</p>
<p>It should look something like this…</p>
<p style="text-align:left;">&lt;doc-classes&gt;<br />
&lt;class&gt;com.company.product.project.model.AppModel&lt;/class&gt;    &lt;class&gt;com.company.product.project.control.AppController&lt;/class&gt;<br />
&lt;/doc-classes&gt;</p>
<h3>Run the ASDoc utilitity</h3>
<p>You will need to make sure that you have a file from the given project open and are active in the document window.  You should then be able to just select  item from the menu;  Run -&gt; External Tools -&gt; ASDoc</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flexuous.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexuous.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flexuous.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexuous.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/flexuous.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/flexuous.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/flexuous.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/flexuous.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flexuous.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexuous.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flexuous.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexuous.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flexuous.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexuous.wordpress.com/120/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.flexuous.com&blog=3072563&post=120&subd=flexuous&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.flexuous.com/2010/06/28/flash-builder-4-asdoc-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/265f8fef23f99b7192248b37c2c584ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">justinohms</media:title>
		</media:content>

		<media:content url="http://flexuous.files.wordpress.com/2010/06/asdocconfig.jpg" medium="image">
			<media:title type="html">asdocconfig</media:title>
		</media:content>
	</item>
		<item>
		<title>Passing Javascript Object with same name parameter</title>
		<link>http://blog.flexuous.com/2010/05/06/passing-javascript-object-with-same-name-parameter/</link>
		<comments>http://blog.flexuous.com/2010/05/06/passing-javascript-object-with-same-name-parameter/#comments</comments>
		<pubDate>Thu, 06 May 2010 16:54:18 +0000</pubDate>
		<dc:creator>justinohms</dc:creator>
				<category><![CDATA[ExtJS]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://blog.flexuous.com/?p=115</guid>
		<description><![CDATA[I came across this strange behavior  in ExtJS 3.2 on Firefox (haven&#8217;t tested in other browsers) If you name the element of an object the same as the object you are inserting it absorbs this object instead of nesting it.  For example&#8230;. //In ExtJS.... The getAt method on a dataStore returns an object such that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.flexuous.com&blog=3072563&post=115&subd=flexuous&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I came across this strange behavior  in ExtJS 3.2 on Firefox (haven&#8217;t tested in other browsers) If you name the element of an object the same as the object you are inserting it absorbs this object instead of nesting it.  For example&#8230;.</p>
<pre>//In ExtJS.... The getAt method on a dataStore returns an object such that <strong>record.data</strong> exists
var <span style="color:#0000ff;">record </span>= myDataStore.getAt(1);   

//If I then pass that to a constructor of another object such as a custom window
var win = new myWindow({
                <span style="color:#0000ff;">record<span style="color:#000000;">:</span>record,</span>
                width:500
              });

// Where myWindow's constructor is defined to take an argument object of <strong>config </strong>like so...
Window = Ext.extend(BCC.trace.TraceWindow,{
         constructor: function(config){ .... }
         .....
})</pre>
<p>I would expect that you would have an object like inside the constructor.</p>
<pre><strong>       config.record.data</strong></pre>
<p>but instead you get</p>
<pre><strong>       config.data</strong></pre>
<p>Oddly enough&#8230; .if you  call it  like this instead</p>
<pre>var <span style="color:#ff0000;"><strong>rec</strong></span>= myDataStore.getAt(1);   

var win = new myWindow({
               <span style="color:#0000ff;"> record</span>:<strong><span style="color:#ff0000;">rec</span></strong>,
                width:500
              });</pre>
<p>You get the correct</p>
<pre>       <strong>config.record.data

</strong></pre>
<p>Why does it do this???  I have no idea.  Seems sort of strange to me but perhaps it is supposed to work this way.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flexuous.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexuous.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flexuous.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexuous.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/flexuous.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/flexuous.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/flexuous.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/flexuous.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flexuous.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexuous.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flexuous.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexuous.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flexuous.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexuous.wordpress.com/115/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.flexuous.com&blog=3072563&post=115&subd=flexuous&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.flexuous.com/2010/05/06/passing-javascript-object-with-same-name-parameter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/265f8fef23f99b7192248b37c2c584ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">justinohms</media:title>
		</media:content>
	</item>
		<item>
		<title>ExtJS class/component constructor not running</title>
		<link>http://blog.flexuous.com/2010/05/04/extjs-classcomponent-constructor-not-running/</link>
		<comments>http://blog.flexuous.com/2010/05/04/extjs-classcomponent-constructor-not-running/#comments</comments>
		<pubDate>Tue, 04 May 2010 17:09:30 +0000</pubDate>
		<dc:creator>justinohms</dc:creator>
				<category><![CDATA[ExtJS]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://flexuous.wordpress.com/2010/05/04/extjs-classcomponent-constructor-not-running/</guid>
		<description><![CDATA[There are a couple of syntaxs for extending a &#8216;class&#8217; with the Ext library. I prefer the following syntax. MyNewForm = Ext.extend(Ext.form.FormPanel,{ constructor:function(config){ &#8230;.. MyNewForm.superclass.constructor.call(this,config); &#8230;. }, newMethod:function(){ } }) &#160; I had a strange problem today. I had two almost identical classes. In one I could get a console log statement in the constructor [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.flexuous.com&blog=3072563&post=113&subd=flexuous&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There are a couple of syntaxs for extending a &#8216;class&#8217; with the Ext library.  I prefer the following syntax.</p>
<p>MyNewForm = Ext.extend(Ext.form.FormPanel,{</p>
<p>    constructor:function(config){<br />
        &#8230;..<br />
        MyNewForm.superclass.constructor.call(this,config);<br />
        &#8230;.<br />
     },</p>
<p>    newMethod:function(){<br />
    }<br />
})</p>
<p>&nbsp;</p>
<p>I had a strange problem today.  I had two almost identical classes. In one I could get a console log statement in the constructor to output. In the other I could not get it to work.  The problem was I also didn&#8217;t get an error.  The problem component would initialize and I could see it in the firebug dom tree. </p>
<p>Took me about 20 minutes to figure out the problem. Turns out I typed &#8216;construtor&#8217; on the second class.  Since Ext automatically calls the parent class constructor (if you do not override)  I wasn&#8217;t getting an error. </p>
<p>Crazy how little typos can waste a lot of time&#8230;. so if you have this same problem, make sure you actually typed what you though you typed.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flexuous.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexuous.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flexuous.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexuous.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/flexuous.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/flexuous.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/flexuous.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/flexuous.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flexuous.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexuous.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flexuous.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexuous.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flexuous.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexuous.wordpress.com/113/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.flexuous.com&blog=3072563&post=113&subd=flexuous&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.flexuous.com/2010/05/04/extjs-classcomponent-constructor-not-running/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/265f8fef23f99b7192248b37c2c584ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">justinohms</media:title>
		</media:content>
	</item>
		<item>
		<title>ExtJS datefield different display format</title>
		<link>http://blog.flexuous.com/2010/04/14/extjs-datefield-different-display-format/</link>
		<comments>http://blog.flexuous.com/2010/04/14/extjs-datefield-different-display-format/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 18:57:22 +0000</pubDate>
		<dc:creator>justinohms</dc:creator>
				<category><![CDATA[ExtJS]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[date format]]></category>

		<guid isPermaLink="false">http://blog.flexuous.com/?p=109</guid>
		<description><![CDATA[By default the ExtJS datefield uses the same format string for both the parsing (data reading) and formatting (data displaying) functions. I wanted to display a different format than the data format of the data. My data comes from the server in the format &#8220;Y-m-d H:i:s.u&#8221; but I wanted to display as &#8216;Y-m-d&#8217; or in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.flexuous.com&blog=3072563&post=109&subd=flexuous&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>By default the ExtJS datefield uses the same format string for both the parsing (data reading) and formatting (data displaying) functions.</p>
<p>I wanted to display a different format than the data format of the data.  My data comes from the server in the format &#8220;Y-m-d H:i:s.u&#8221;  but I wanted to display as &#8216;Y-m-d&#8217; or in some cases just &#8216;M Y&#8217;.  In my mind this should be a fairly easy thing&#8230;.<span id="more-109"></span> after a lot of looking around on the internet the solution most often presented seemed to be: extend datefield and override the parse and format methods on the datefield.</p>
<p>This to seemed ridiculously complicated for something that should be built in.   Finally I came up with a nice simple  solution that was probably the one intended by the Ext team.</p>
<p>The solution is to simply declare the output format as <strong>format</strong> and the input format as the <strong>altFormats</strong> so for me<br />
&#8230;,<br />
format:&#8217;Y-m-d&#8217;,<br />
altFormats:&#8217;Y-m-d H:i:s.u&#8217;,<br />
&#8230;</p>
<p>in this way Ext will use the format of &#8216;Y-m-d&#8217; for display and when parsing it will fail with that format and the try with the first (and only in this case) alt format of &#8216;Y-m-d H:i:s.u&#8217;</p>
<p>I&#8217;m not sure why this is not documented in the Ext documentation but seemed the simplest solution to the problem.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flexuous.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexuous.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flexuous.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexuous.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/flexuous.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/flexuous.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/flexuous.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/flexuous.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flexuous.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexuous.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flexuous.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexuous.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flexuous.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexuous.wordpress.com/109/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.flexuous.com&blog=3072563&post=109&subd=flexuous&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.flexuous.com/2010/04/14/extjs-datefield-different-display-format/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/265f8fef23f99b7192248b37c2c584ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">justinohms</media:title>
		</media:content>
	</item>
		<item>
		<title>Top 3 roadblocks to purchasing an iPad</title>
		<link>http://blog.flexuous.com/2010/02/01/top-3-roadblocks-to-purchasing-an-ipad/</link>
		<comments>http://blog.flexuous.com/2010/02/01/top-3-roadblocks-to-purchasing-an-ipad/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 20:41:10 +0000</pubDate>
		<dc:creator>justinohms</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Camera]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPod Touch]]></category>
		<category><![CDATA[Multitasking]]></category>
		<category><![CDATA[Steve Jobs]]></category>

		<guid isPermaLink="false">http://blog.flexuous.com/?p=104</guid>
		<description><![CDATA[Apple wants to be at war with everyone!  It is no longer enough to take on Microsoft.  Apple wants to rumble with everyone Google, Nintendo, Amazon, Sony and now one of its oldest allies Adobe.  I get it, Steve wants to rule the world. <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.flexuous.com&blog=3072563&post=104&subd=flexuous&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Disappointment is the best way to describe how I feel about the iPad.  Such a promising and innovative device that has developmental problems before it is even born.</p>
<p>No I am not going to criticize Jobs for these choices.  I can see the business logic behind every one of them so that is not fair.  He is after all running a business.    I will however include what I think those reasons are in this little rant (and why they are bogus).  So here goes &#8230; the top 3 roadblocks to purchasing an iPad</p>
<p><span id="more-104"></span></p>
<ol>
<li><span style="text-decoration:underline;"><strong>Lack of Flash support:</strong></span><br />
It really boggles the mind to think that a device designed specifically to be used as a device to browse online would intentionally leave this out.  For me this is the single biggest problem with the device.  If this were fixed I would probably buy one even with the other issues below.  Now I may be biased as I do Flash/Flex development work however it is not for my own work that I lament, but for the numerous services that would be simply inaccessible with this device.  As with non-inclusion of Flash on the iPhone in the first place this is just a bone-headed move on the part of Apple.  I appreciate that they want to support and encourage HTML5  and I think that is fantastic!    However, it denies the reality-on-the-ground that as of right now and the foreseeable future, Flash is an integral part of the web experience.  (I am NOT saying that is good or bad, just a fact.)  This problem is likely to be the biggest day to day disappointment  for those using the iPad.<br />
<em><strong>Business Reason:</strong></em> Apple wants to be at war with everyone!  It is no longer enough to take on Microsoft.  Apple wants to rumble with everyone Google, Nintendo, Amazon, Sony and now one of its oldest allies Adobe.  I get it, Steve wants to rule the world.  Closed systems mean you have to buy from Apple.  Closed systems mean developers have to develop versions specifically for Apple products.  If you want to develop for Apple products you have to develop ON Apple products, which means you must BUY the Apple products.  It also means you have less time to develop for other environments and products.  The more exclusive applications available on Apple products the more users will have to buy Apple products to use those applications.  Apple is betting that at some moment a &#8220;killer app&#8221; will come along that makes owning an iXxx absolutely necessary. Failing that it is betting that ubiquity will be the killer app.</li>
</ol>
<ol>
<li><span style="text-decoration:underline;"><strong>Still no Multitasking:</strong></span><br />
I understood this on the iPhone, the official justification for a single processor thread was basically <em>~ensure that the devices primary purpose ( being a phone ) is not compromised by applications that hog cpu usage and memory~</em> So for the iPhone this strategy made a little sense. However now I don&#8217;t see the argument for leaving this out of a device such as the iPad.  There is no phone.  That is not its purpose.   so&#8230;..???  What is the problem?<br />
<em><strong>Business Reason: </strong></em> Cost and speed&#8230; get it to market faster and capture market share.  This required less change in the way applications and the OS worked so it <em>*might* </em>(doubtful) be corrected in a future patch or release.</li>
<li><span style="text-decoration:underline;"><strong>Still no camera</strong></span><br />
I&#8217;ll be honest I really don&#8217;t care about this one personally.  However when Nintendo can cram 2 decent cameras into the DSi.  WTF?  How much is a CCD camera to include $1 &#8211; $2 ?  Really on a $500 device?   Ok ok, I get that keeping features to a minimum is a design philosophy at Apple but in this day and age when it is difficult to even find a cell phone without a camera it just doesn&#8217;t make much sense.  Couple that with the fact that support for a camera is already built into the iPhone OS  again WTF?   So I&#8217;ll end on you can add a camera to the little iPod but you can&#8217;t put one on the iPod touch or the iPad ??  Wow Apple&#8217;s engineers must be really incompetent or unfocused.<br />
<em><strong>Business Reason: </strong></em>Planned obsolescence, 2nd gen upgrade.   We&#8217;ve seen this before from Apple (and other companies)   It is very likely that the camera(s) will be the great addition to a version 2 of the iPad causing legions of those who have perfectly functioning iPads to upgrade to new units even when their old ones are perfectly serviceable.   My prediction is that this upgrade will come to both the iPad and iPod touch at or about the same time, probably next year.</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flexuous.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexuous.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flexuous.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexuous.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/flexuous.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/flexuous.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/flexuous.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/flexuous.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flexuous.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexuous.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flexuous.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexuous.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flexuous.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexuous.wordpress.com/104/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.flexuous.com&blog=3072563&post=104&subd=flexuous&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.flexuous.com/2010/02/01/top-3-roadblocks-to-purchasing-an-ipad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/265f8fef23f99b7192248b37c2c584ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">justinohms</media:title>
		</media:content>
	</item>
		<item>
		<title>Flex Builder java.lang.StackOverflowError uncaught exception in compiler</title>
		<link>http://blog.flexuous.com/2010/01/10/flex-builder-java-lang-stackoverflowerror-uncaught-exception-in-compiler/</link>
		<comments>http://blog.flexuous.com/2010/01/10/flex-builder-java-lang-stackoverflowerror-uncaught-exception-in-compiler/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 22:44:47 +0000</pubDate>
		<dc:creator>justinohms</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://blog.flexuous.com/?p=94</guid>
		<description><![CDATA[Just posting this here for someone who might be having the same problem in Flex Builder 3 (eclipse).   The problem shows up as an the following error in the eclipse log file &#8220;java.lang.StackOverflowError uncaught exception in compiler&#8221;.  You get to this after you have an error in the problems panel that says&#8230;. &#8220;An internal [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.flexuous.com&blog=3072563&post=94&subd=flexuous&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just posting this here for someone who might be having the same problem in Flex Builder 3 (eclipse).   The problem shows up as an the following error in the eclipse log file <span style="color:#0000ff;"><strong>&#8220;java.lang.StackOverflowError  uncaught exception in compiler&#8221;</strong></span>.  You get to this after you have an error in the problems panel that says&#8230;. <strong><span style="color:#0000ff;">&#8220;An internal build error has occurred. Right-click for more information.&#8221;</span></strong> It also might show up as the following pop-up.</p>
<p><a href="http://flexuous.files.wordpress.com/2010/01/java-langstackoverflowerror-in-flexbuilder.jpg"><img class="alignnone size-medium wp-image-97" title="java.langStackOverflowError in flexbuilder" src="http://flexuous.files.wordpress.com/2010/01/java-langstackoverflowerror-in-flexbuilder.jpg?w=300&#038;h=128" alt="" width="300" height="128" /></a></p>
<p>What I found was the problem was that I had a class that was extending another class explicitly  as in<span id="more-94"></span></p>
<pre><span style="color:#3366ff;">package com.ohms.fp
{
   public class foo extends com.ohms.bp.bar
...
}</span></pre>
<p>The issue I had was that even if this is the case I still needed to have the import&#8230;.</p>
<pre><span style="color:#3366ff;">package com.ohms.fp
    import com.ohms.bp.*;
{
   public class foo extends com.ohms.bp.bar
...
}</span></pre>
<p>Once I fixed all these reference the error went away.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flexuous.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexuous.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flexuous.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexuous.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/flexuous.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/flexuous.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/flexuous.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/flexuous.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flexuous.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexuous.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flexuous.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexuous.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flexuous.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexuous.wordpress.com/94/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.flexuous.com&blog=3072563&post=94&subd=flexuous&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.flexuous.com/2010/01/10/flex-builder-java-lang-stackoverflowerror-uncaught-exception-in-compiler/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/265f8fef23f99b7192248b37c2c584ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">justinohms</media:title>
		</media:content>

		<media:content url="http://flexuous.files.wordpress.com/2010/01/java-langstackoverflowerror-in-flexbuilder.jpg?w=300" medium="image">
			<media:title type="html">java.langStackOverflowError in flexbuilder</media:title>
		</media:content>
	</item>
		<item>
		<title>More fun with regular expressions</title>
		<link>http://blog.flexuous.com/2009/12/01/more-regular-expressions/</link>
		<comments>http://blog.flexuous.com/2009/12/01/more-regular-expressions/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 21:32:03 +0000</pubDate>
		<dc:creator>justinohms</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[ExtJS]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Regular Expressions]]></category>

		<guid isPermaLink="false">http://blog.flexuous.com/?p=84</guid>
		<description><![CDATA[I ( like many programmers I know) get just a little befuddled when trying to use regular expressions.  Over the years I&#8217;ve used numerous online RE parsers to test code.   Recently  I found a small RE parser that I absolutely love called &#8220;The Regex Coach&#8221;. This little gem of a program  is great.  (As a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.flexuous.com&blog=3072563&post=84&subd=flexuous&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I ( like many programmers I know) get just a little befuddled when trying to use regular expressions.  Over the years I&#8217;ve used numerous online RE parsers to test code.   Recently  I found a small RE parser that I absolutely love called &#8220;The Regex Coach&#8221;.</p>
<p>This little gem of a program  is great.  (As a bonus it is  free for both commercial and non-commercial uses.) Unlike other RE testers that I&#8217;ve used over the years, this one lets you actually step thru the parsing sequence and also see the execution tree of the RE.  These are very handy.  I find I am able to get to a functional RE statement in about a 1/4 the time as before.   You can get &#8220;The Regex Coach&#8221; from here.  <a href="http://weitz.de/regex-coach/" target="_blank">http://weitz.de/regex-coach/</a></p>
<p>As a little bonus&#8230; here is a little gem of an RE statement (for field validation) for a field that must contain no value <strong><em>or</em></strong> one or more three digit numbers separated by commas.<code><br />
(^(\d{3})(\,\d{3})*$)|(^$)<br />
</code></p>
<p>so in JavaScript the RE literal would be<code><br />
/(^(\d{3})(\,\d{3})*$)|(^$)/<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flexuous.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexuous.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flexuous.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexuous.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/flexuous.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/flexuous.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/flexuous.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/flexuous.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flexuous.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexuous.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flexuous.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexuous.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flexuous.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexuous.wordpress.com/84/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.flexuous.com&blog=3072563&post=84&subd=flexuous&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.flexuous.com/2009/12/01/more-regular-expressions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/265f8fef23f99b7192248b37c2c584ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">justinohms</media:title>
		</media:content>
	</item>
		<item>
		<title>Ext.iterate  Array vs. Object Gotcha!</title>
		<link>http://blog.flexuous.com/2009/11/27/ext-iterate-array-vs-object-gotcha/</link>
		<comments>http://blog.flexuous.com/2009/11/27/ext-iterate-array-vs-object-gotcha/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 05:45:56 +0000</pubDate>
		<dc:creator>justinohms</dc:creator>
				<category><![CDATA[ExtJS]]></category>

		<guid isPermaLink="false">http://blog.flexuous.com/?p=81</guid>
		<description><![CDATA[When calling Ext.iterate with an object the parameters passed back to the iterated function are: (String key, Object value) However when calling Ext.iterate with an array the parameters are: (Object item, Number index, Array allItems) The gotcha here is that in the Ext 3.0 docs only the object call back is shown.  Because of this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.flexuous.com&blog=3072563&post=81&subd=flexuous&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When calling Ext.iterate with an object the parameters passed back to the iterated function are:</p>
<div>
<pre>(String key, Object value)</pre>
</div>
<p>However when calling Ext.iterate with an array the parameters are:</p>
<div>
<pre>(Object item, Number index, Array allItems)</pre>
</div>
<p>The gotcha here is that in the Ext 3.0 docs only the object call back is shown.  Because of this you might think that the array call returns the index then the actual item bu as you can see that is not the case.</p>
<p>There is a thread on the Ext forum <a href="http://www.extjs.com/forum/showthread.php?t=73645" target="_blank">here</a> about maybe making this consistent in the next major release.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flexuous.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexuous.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flexuous.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexuous.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/flexuous.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/flexuous.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/flexuous.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/flexuous.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flexuous.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexuous.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flexuous.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexuous.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flexuous.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexuous.wordpress.com/81/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.flexuous.com&blog=3072563&post=81&subd=flexuous&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.flexuous.com/2009/11/27/ext-iterate-array-vs-object-gotcha/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/265f8fef23f99b7192248b37c2c584ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">justinohms</media:title>
		</media:content>
	</item>
		<item>
		<title>Beginings with Ext 3.0 JS library (combobox)</title>
		<link>http://blog.flexuous.com/2009/11/18/beginings-with-ext-3-0-js-library-combobox/</link>
		<comments>http://blog.flexuous.com/2009/11/18/beginings-with-ext-3-0-js-library-combobox/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 19:50:16 +0000</pubDate>
		<dc:creator>justinohms</dc:creator>
				<category><![CDATA[ExtJS]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[AJax]]></category>

		<guid isPermaLink="false">http://blog.flexuous.com/?p=77</guid>
		<description><![CDATA[I could not locate a single example that was just as simple as .... here is how you load JSON data into a combobox.   I finnally found a good one<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.flexuous.com&blog=3072563&post=77&subd=flexuous&ref=&feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I started working on a project a few months ago that leveraged the Ext JavaScript  library for just a handful of features.  After some requests for some improvements in one section I decided to try to leverage a little more of the Ext library to improve it.  I decided to start just by redoing a form to use remoting.   Now I&#8217;ve done this kind of thing before  in all of the  the Adobe Action-script platforms ( Flex, Flash and Air)  so I am rather comfortable with the basic concepts.    I am also very comfortable with JavaScript having worked with it for over 10 years and using DHTML and other tricks (img src updates, etc.)  to do Ajax type magic before Ajax was even in the lexicon. I will say that some of the conventions used by JS developers drive me nuts&#8230; but that&#8217;s all formatting.   One really completely new area for me was JSON.  I&#8217;ve always wanted to try it so I figured this was the perfect opportunity.  So I started with a simple task on this one form.   Populate a single Combo Box remotely from a JSON datasource.  Now when I learn to program a new language (or library in this case) I need two things.   The docs and working examples.    On the documentation side of things Ext has a very good API documentation at <a href="http://www.extjs.com/deploy/dev/docs/" target="_blank">http://www.extjs.com/deploy/dev/docs/</a> The one area I found lacking was in the way of simple examples.    One thing I always liked from Adobe documentation was the examples that were included the docs.   Always very simple and always just focused around the one object you were looking at.    Ext has provided some really nice sample applications at <a href="http://www.extjs.com/deploy/dev/examples/samples.html" target="_blank">http://www.extjs.com/deploy/dev/examples/samples.html</a> however it can be a bit hit and miss to locate the combination of examples that have the features you are looking for.   In particular I could not locate a single example that was just as simple as &#8230;. here is how you load JSON data into a combo-box.   I finally found a good one at  <a href="http://technopaper.blogspot.com/2009/11/dynamic-loading-of-combobox-using-extjs.html#comments" target="_blank">http://technopaper.blogspot.com/2009/11/dynamic-loading-of-combobox-using-extjs.html#comments</a> I hope to leave some additional posts as I find bits and pieces here and there.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flexuous.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexuous.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flexuous.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexuous.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/flexuous.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/flexuous.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/flexuous.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/flexuous.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flexuous.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexuous.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flexuous.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexuous.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flexuous.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexuous.wordpress.com/77/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.flexuous.com&blog=3072563&post=77&subd=flexuous&ref=&feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.flexuous.com/2009/11/18/beginings-with-ext-3-0-js-library-combobox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/265f8fef23f99b7192248b37c2c584ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">justinohms</media:title>
		</media:content>
	</item>
	</channel>
</rss>